• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Run X11 apps from Applescript - works no longer in Tiger?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run X11 apps from Applescript - works no longer in Tiger?


  • Subject: Re: Run X11 apps from Applescript - works no longer in Tiger?
  • From: Thomas Niederreiter <email@hidden>
  • Date: Tue, 24 May 2005 09:21:16 +0200
  • Organization: xcdroast.org

On Mon, 23 May 2005 10:40:15 -0700
Ernest Prabhakar <email@hidden> wrote:

> Hi Thomas,
>
> > I ported my little X11 application from linux to osX a while ago
> > and also
> > included a short applescript file in order to start it up in a
> > "Mac" way.
>
> Have you considered using "open-x11"?  It was designed to handle
> these kinds of setup issues so if it doesn't work I'd be interested
> in hearing why.
>
> $ man open-x11
> $ which open-x11
> /usr/bin/open-x11
>
> It is just a script, so you can also look at it for pointers:
>
> $ more /usr/bin/open-x11
>
> But, if you can leverage that instead of doing your own housekeeping,
> it might simplify things.

Hi Ernest,

yes, I had a look at open-x11. It works better than applescript, but the
original question was about applescript. 8)

open-x11 has also its issues - it does just run /usr/bin/open -a
/Applications/Utilities/X11.app "script".

However, I am not allowed to pass arguments to "script". So I have to
wrap my call in another shell-script, so I can set the enviroment too.

It might be a workaround, but makes stuff a bit more complicated.
You know any way how to make a single file/application bundle that does
contain a bit of applescript in addition to the extra shellscript that
sets my enviroment (and passes commandline arguments)?

I had a quick look at  Platypus which looks promising, but I need to read
the docs first 8)

Thanks,

Thomas



--
netplace Telematic GmbH                          http://www.netplace.com
Thomas Niederreiter                              GPG Key ID:  0xF0B7BFCB
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)

This email sent to email@hidden

References: 
 >Re: Re: Run X11 apps from Applescript - works no longer in Tiger? (From: Ernest Prabhakar <email@hidden>)

  • Prev by Date: Setting ddd environment variable
  • Next by Date: Newbie question
  • Previous by thread: Re: Re: Run X11 apps from Applescript - works no longer in Tiger?
  • Next by thread: Re: Run X11 apps from Applescript - works no longer in Tiger?
  • Index(es):
    • Date
    • Thread