Re: running an AppleScript from terminal command line
Re: running an AppleScript from terminal command line
- Subject: Re: running an AppleScript from terminal command line
- From: Giuliano Gavazzi <email@hidden>
- Date: Thu, 16 May 2002 09:15:06 +0100
At 9:54 am +0200 2002/05/16, Steffen Mey wrote:
Hi there,
comming from the other side of the moon (UNIX / WIN32),
I'm looking for a way to start an AppleScript from an
OSX terminal command line.
man -k script
...
osacompile(1) - compile OSA scripts
osascript(1) - execute OSA scripts
...
there are limitations if you are not at the console and executing
from the login context. A straigth Terminal.app session, I believe,
gives you such a context. From a remote login sometimes it helps
running the command under sudo.
Experiment is the only answer as the documentation is rather scarce.
Giuliano
--
H U M P H
|| |||
software
Java & C++ Server/Client/Human Interface applications on MacOS - MacOS X
http://www.humph.com/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.