/build/static/layout/Breadcrumb_cap_w.png

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.
Posted by: dchristian 12 years ago
Red Belt
5
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

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ