Apple script from a c file
Apple script from a c file
- Subject: Apple script from a c file
- From: Shreyas Srinivasan <email@hidden>
- Date: Thu, 15 Sep 2005 11:11:15 +0530
Hey,
I created a simple "Applescript application". When i tried to edit it i
see that
the control starts at main.m. I just want to execute a couple of
statements in the
Apple Script.
My apple script looks like this
tell application "Finder"
launch application "X11"
end tell
set results to do shell script "cd ~; DISPLAY=:0.0;
export DISPLAY; PATH=$PATH:/usr/local/bin; export PATH ;
/opt/gnome-2.12/bin/evolution-start.sh > /dev/null 2>&1 &"
I want the control to start execution from the apple script and then
exit or someway
to embed the applescript into the c file. I tried adding a main.scpt and
removed the main.m
hoping that would help but it did not.
I am doing this for the first time so please forgive my ignorance. I
breezed through the list archive and did not find anything which sollved
my problem.
Cheers,
Shreyas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden