Home  |  Linux  | Mysql  | PHP  | XML
From:David Micklem Date:Sun Jul  8 06:47:12 2007
Subject:Re: passing arguments: AppleScript to MacPerl
Hi,

Nobumi's method (with the direct tell application "MacPerl") works
perfectly for me on OS9.2 and MacPerl 5.6.1.

However, I only get  output returned if MacPerl has previously ever
had an output window open.

That is, if MacPerl isn't running, then it starts up OK when I run the
script but I get no output/returned value. Re-running the script ->
still no output.

But if I go into MacPerl and either run a script, or syntax check a
script so that the MacPerl output window opens, then re-running the
AppleScript gives me the expected output. Even after I close the
MacPerl output window, running the AppleScript still works OK.

So, just out of curiosity, is it possible to make the script work
WITHOUT the user having to manually go into MacPerl and persuade it to
open an output window?

David


Navigate in group perl.macperl at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants