If you do something in applescript like tell application “Finder” applescript ALWAYS knows what the Finder is, but when I am doing my own custom applescript and I use tell application “whatever” it always asks me to find curl for the first time after I restart. What do I need to do to get applescript to always recognize my program? I am programming in Objc with Cocoa in xCode
specify the explicit path… /usr/bin/curl
Thanks, that does work, but how do other applications do it without a constant path? And my program is a wrapper of curl called CURL, so it won’t be in that location but I can just put it in the main directory of the HD if needed.
Ok, I will just use the full path, but how do I get this to work?
tell application “/Applications/CURL.app”
it still always asks me to find the program.