- Code: Select all
set TheChoice to (display dialog "Choose an Action" buttons {"Cancel", "Open Torrent File", "Move File to Power Mac"} cancel button "Cancel")
if button returned of TheChoice is "Open Torrent File" then
tell application "Finder" to open the selection using "Macintosh HD:Users:Jono:Documents:Open the Torrent file.app"
else
if button returned of TheChoice is "Move File to Power Mac" then
tell application "Finder" to open the selection using "Macintosh HD:Users:Jono:Documents:Send Torrent to Power Mac.app"
end if
end if
I tried changing 'to open the selection using' to 'to open theFile using' but it didn't work (I don't really know AppleScript).
Is there any way I can get this working?
