Apple Script
How do you run an applescript from inside a Kscript? I've attached the applescript as a dependency but I want to call it in my script but can't figure out how.
0 Comments
[ + ] Show comments
Answers (1)
Answer Summary:
What you would do is run osascript with your apple script as a parameter.
What you would do is run osascript with your apple script as a parameter.
Please log in to answer
Posted by:
dchristian
12 years ago
What you would do is run osascript with your apple script as a parameter.
Comments:
-
/usr/bin/osascript > /dev/null
tell application "Finder"
set macSrcPath to POSIX file "$fullSrcPath" as text
set macDestPath to POSIX file "$fullDestPath" as text
make new alias file to $srcType macSrcPath at folder macDestPath
end tell - hmoore 12 years ago