Hi
I nedd to convert the following apple script into App. The apple script worksfine however after the conversion it does not work anymore. Any hint on how to fix this? This is the script:
--> Useful variables
set fileCheck to false
set languageCheck to false
set selectionCheck to false
set fileExtension to ""
set myCommand to ""
--> Get selected file
tell application "Finder"
if selection is {} then
tell application "Terminal"
activate
end tell
else
set finderSelection to selection as alias list
set selectionCheck to true
end if
end tell
--> Get file POSIX path
if selectionCheck is true then
set filePath to quoted form of POSIX path of finderSelection
set myCommand to "/Applications/AMIDE.app/Contents/MacOS/AMIDE-bin"
set languageCheck to true
do shell script "" & myCommand & " " & filePath
end if
AppleScript
Thanks
I nedd to convert the following apple script into App. The apple script worksfine however after the conversion it does not work anymore. Any hint on how to fix this? This is the script:
--> Useful variables
set fileCheck to false
set languageCheck to false
set selectionCheck to false
set fileExtension to ""
set myCommand to ""
--> Get selected file
tell application "Finder"
if selection is {} then
tell application "Terminal"
activate
end tell
else
set finderSelection to selection as alias list
set selectionCheck to true
end if
end tell
--> Get file POSIX path
if selectionCheck is true then
set filePath to quoted form of POSIX path of finderSelection
set myCommand to "/Applications/AMIDE.app/Contents/MacOS/AMIDE-bin"
set languageCheck to true
do shell script "" & myCommand & " " & filePath
end if
AppleScript
Thanks