I’m new to Applescript… How would I mount multiple servers on my desktop, with auto login and set up a find folders
setup to search the contents of the servers and have the folder I’m looking for open in a new window on my desktop…
Thanks in advance for any help I get…
tell application "Finder"
activate
open location "afp://LOGIN:PASSWORD@IP_ADDRESS_HERE/VOLUME_NAME_HERE"
open location "afp://LOGIN:PASSWORD@IP_ADDRESS_HERE/VOLUME_NAME_HERE"
open location "afp://LOGIN:PASSWORD@IP_ADDRESS_HERE/VOLUME_NAME_HERE"
delay 2
tell application "System Events"
tell process "Finder"
click menu item "Find." of menu "File" of menu bar 1
tell window 1's splitter group 1's group 1's group 2's group 1
click pop up button 2 of group (count groups)
keystroke ("n" & return)
try
set value of ((attribute "AXFocused" of text field 1) of group (count groups)) to 1
click button "Servers" of group 2 of group 2 of group 1 of splitter group 1 of window 1
end try
keystroke "TYPE_WHAT_YOU_WANT_TO_SEARCH_FOR_HERE"
end tell
end tell
end tell
end tell
CarbonQuark