Re: Exporting shell variables to AppleScripts
Re: Exporting shell variables to AppleScripts
- Subject: Re: Exporting shell variables to AppleScripts
- From: Brian Johnson <email@hidden>
- Date: Tue, 18 Sep 2007 20:40:43 -0700 (PDT)
Mike,
I would think that "osascript" might hold out some hope, but if you
don't get anything better from others, here's how I do it now ...
I wrote an app called peacePipe that is used to connect apache to
applescripts. One step in the process is a shell script that talks to an
app that builds an AppleEvent to pass to a specified applescript. By
building an appropriate shell script & applescript pair, you should be
able to pass about anything from the shell universe to the applescript
universe. There must be more elegant solutions, but this does work, as I
use these "pseudo-CGI" pairs to run things under cron (sick, but works).
Good luck!
peacePipe is available at http://quicksilver.caup.washington.edu/software
-b.johnson, dept of architecture, university of washington, seattle
On Tue, 18 Sep 2007, Mike wrote:
Is there a way to export shell script variables to AppleScripts? Similar to
the 'export' command in bash?
Thanks,
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden