startup - How do you command an AppleScripts document to open at login? -


how command applescripts document open @ login?

i new applescript. trying create program opens 2 applications @ login. how command open @ startup/ login?

thanks!

you can create launch daemon run on startup

creating launch daemons , agents

using launchd applescript access flash drive automatically

save the plist file in "~/library/launchagents", edit path point script, , restart computer.

<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/propertylist-1.0.dtd"> <plist version="1.0"> <dict>     <key>label</key>     <string>com.lucy.launchapps</string>     <key>programarguments</key>     <array>         <string>osascript</string>         <string>/users/lucy/desktop/lucy.scpt</string>     </array>     <key>runatload</key>     <true/> </dict> </plist> 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -