Re: X11 and do shell script
Re: X11 and do shell script
- Subject: Re: X11 and do shell script
- From: Andrew Oliver <email@hidden>
- Date: Sat, 13 Nov 2004 11:02:17 -0800
On 11/13/04 6:36 AM, "Bernardo Hoehl" <email@hidden> wrote:
> Hi List!
>
> Can't find X11's dictionary.
>
> Is there one?
>
> SimpleQuestion:
>
> What is the equivalent to "do script with command" and "do shell
> script" in X11?
>
> I try to tell x11 to do the following command, but it won't work,
> unless I type it manually on x11's terminal.
>
> do shell script "/Applications/OpenOffice.org1.0.3/program/soffice"
'do shell script' is a standard addition - consider it part of the
AppleScript system and therefore nothing to do with X11.app at all.
Despite the fact your 'do shell script' command is in a 'tell application
"X11"' block it is still the OS that's performing the function and not
X11.app
Unfortunately X11.app's dictionary is... umm... missing so X11.app isn't
scriptable (will we ever see a day when Apple ship ALL their own-brand
applications with at least *basic* AppleScript support? I'm not holding my
breath. What an example to set :( )
About the only way you'll get to do this is via a UI scripting hack to
simulate typing the command you want into an X11 shell window.
Andrew
:)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden