dylanweber
Aug 7, 2009, 12:36 PM
The script I have so far is:
set setLocation to text returned of (display dialog "Put path below (can contain ~)" default answer "~/" buttons {"OK", "Cancel"} default button 1)
tell application "Finder" to activate
tell application "System Events" to keystroke "G" using {command down, shift}
tell application "System Events" to keystroke setLocation
tell application "System Events" to keystroke return
Is there a better script then that? If there is could you please reply.
______________________________
PROBABLY MADE ON A MAC
:apple:
APPLESCRIPT
______________________________
set setLocation to text returned of (display dialog "Put path below (can contain ~)" default answer "~/" buttons {"OK", "Cancel"} default button 1)
tell application "Finder" to activate
tell application "System Events" to keystroke "G" using {command down, shift}
tell application "System Events" to keystroke setLocation
tell application "System Events" to keystroke return
Is there a better script then that? If there is could you please reply.
______________________________
PROBABLY MADE ON A MAC
:apple:
APPLESCRIPT
______________________________
