Re: do-applescript

Andrew Choi <[email protected]> Tue, 11 Jun 2002 14:10:15 -0600
Newsgroups gmane.emacs.macintosh.user
Message-ID <[email protected]>
> I'm using current CVS emacs built on 10.1.5 with the current (beta ?)
> development kit.  I've applied the patch to fix boxed/bold/italic
> chars.
> 
> Is there any guidance on using the "do-applescript" function ?
> 
> I've tried passing a string which is an applescript script, the name
> of a file which contains a script, ...  These all generate errors.
> 
> I changed the call to "error" so that it no longer complains about %ld
> as a format string, but now I just see large negative numbers.
> 
> Any help would be appreciated.

Please take a look at this message in the mailing list archive:

  http://sourceforge.net/mailarchive/forum.php?thread_id=257726&forum_id=5271

I don't think the patch described in it has been tested and included
into the CVS code yet.

You can probably also use the Lisp function call-process with the
osascript command.

Andrew.


_______________________________________________________________

Multimillion Dollar Computer Inventory
Live Webcast Auctions Thru Aug. 2002 - http://www.cowanalexander.com/calendar