Tuesday, September 27, 2022

#1 2004-09-27 12:28:32 pm

Vlade
Member
Registered: 2004-09-27
Posts: 5

Default Applesript Application

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


Filed under: Finder, Whatever

Offline

 

#2 2004-09-29 08:07:30 pm

digest4d
Member
From:: Northampton, MA, USA
Registered: 2004-01-26
Posts: 389
Website

Re: Default Applesript Application

specify the explicit path... /usr/bin/curl

Offline

 

#3 2004-09-30 12:30:00 pm

Vlade
Member
Registered: 2004-09-27
Posts: 5

Re: Default Applesript Application

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.

Offline

 

#4 2004-10-03 02:21:28 pm

Vlade
Member
Registered: 2004-09-27
Posts: 5

Re: Default Applesript Application

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.


Filed under: CURL.app

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)