Search   Feed   Browse   Add
Feed items 1 - 10 of 14 for July 2007

MacPerl passing arguments: AppleScript to MacPerl by Louis Pouzin - July 13, 2007

Hello Nobumi,On Sun, 8 Jul 2007 11:32:52 +0900, Nobumi Iyanaga wrote:>Why don&39;t you use the normal &39;tell application "MacPerl"&39; schemeOh I do. In my scripting, "perl" is just an nickname for "MacPerl 5.20r4">Anyway, please try the script as I wrote:Since I have a different folder structure, I did adjust it to my environment.- - -set my_script to "Labo:Privat:MacPerl bench:PL minitests &159;:lsm &159;:argv.pl"set args to "dog",...
http://www.nntp.perl.org/group/perl.macperl/2007/07/msg3102.html

passing arguments: AppleScript to MacPerl by Louis Pouzin - July 13, 2007

David,Nobumi&39;s statement: Do Script perl_arg mode Batchdoesn&39;t open the regular Macperl window. Instead it opens a "Result" window that is managed by Applescript, and shows what the Macperl script produced. This window may hide behind the AS script window. It doesn&39;t open if there is no output.OTOH Do Script perl_argopens a Macperl window if and only if the Macperl script produced an output.And if both statements are run: Do Script perl_arg mode Batch Do Script perl_argonly...
http://www.nntp.perl.org/group/perl.macperl/2007/07/msg3101.html

passing arguments: AppleScript to MacPerl by Louis Pouzin - July 11, 2007

David,Nobumi&39;s statement: Do Script perl_arg mode Batchdoesn&39;t open the regular Macperl window. Instead it opens a "Result" window that is managed by Applescript, and shows what the Macperl script produced. This window may hide behind the AS script window. It doesn&39;t open if there is no output.OTOH Do Script perl_argopens a Macperl window if and only if the Macperl script produced an output.And if both statements are run: Do Script perl_arg mode Batch Do Script perl_argonly...
http://www.nntp.perl.org/group/perl.macperl/2007/07/msg3100.html

MacPerl passing arguments: AppleScript to MacPerl by Louis Pouzin - July 11, 2007

Hello Nobumi,On Sun, 8 Jul 2007 11:32:52 +0900, Nobumi Iyanaga wrote:>Why don&39;t you use the normal &39;tell application "MacPerl"&39; schemeOh I do. In my scripting, "perl" is just an nickname for "MacPerl 5.20r4">Anyway, please try the script as I wrote:Since I have a different folder structure, I did adjust it to my environment.- - -set my_script to "Labo:Privat:MacPerl bench:PL minitests &159;:lsm &159;:argv.pl"set args to "dog",...
http://www.nntp.perl.org/group/perl.macperl/2007/07/msg3099.html

Re: MacPerl Re: passing arguments: AppleScript to MacPerl by Nobumi Iyanaga - July 8, 2007

Hello David,On Jul 8, 2007, at 9:47 PM, David Micklem wrote:> Hi,>> Nobumi&39;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 strange. On my machine, I get the result without the output window open. But...> That is, if MacPerl isn&39;t running, then it starts up OK when I run the> script but.
http://www.nntp.perl.org/group/perl.macperl/2007/07/msg3098.html

use Mac::Files, Mac::MoreFiles; by Xiong - July 8, 2007

Glad to see traffic on the list!Is it just me or are the docs for Mac::Files and Mac::MoreFiles hopelessly obscure Example:FSpDirectoryCopy fails (a) when attempting to copy over an existing folder -- as expected but without calling COPYERRHANDLER as advertised; and (b) when attempting to copy a very large folder -- unexpectedly. I&39;d like to know more.This is the Shuck for this routine: FSpDirectoryCopy SRCSPEC, DSTSPEC, PREFLIGHT, COPYERRHANDLERMake a copy of a directory structure in a new.
http://www.nntp.perl.org/group/perl.macperl/2007/07/msg3097.html

Re: passing arguments: AppleScript to MacPerl by David Micklem - July 8, 2007

Hi,Nobumi&39;s method (with the direct tell application "MacPerl") worksperfectly for me on OS9.2 and MacPerl 5.6.1.However, I only get output returned if MacPerl has previously everhad an output window open.That is, if MacPerl isn&39;t running, then it starts up OK when I run thescript but I get no outputreturned value. Re-running the script ->still no output.But if I go into MacPerl and either run a script, or syntax check ascript so that the MacPerl output window opens, then...
http://www.nntp.perl.org/group/perl.macperl/2007/07/msg3096.html

Re: MacPerl passing arguments: AppleScript to MacPerl by Nobumi Iyanaga - July 7, 2007

Hello Louis,On Jul 8, 2007, at 2:43 AM, Louis Pouzin wrote:> Hello Nobumi,>> Great to hear from you again. Thank you for your suggestions. > Indeed I am using Mac OS on old MACs. One OS is 7.5.5, the other > 9.0.4.>> I have tried your scheme.> On OS 9.0.4, it fails, and I don&39;t understand why.>> -- args is an argument list of class "list", each item is a string> copy dog to the beginning of args> activate perl> tell perl to do script...
http://www.nntp.perl.org/group/perl.macperl/2007/07/msg3095.html

Re: MacPerl passing arguments: AppleScript to MacPerl by Joshua Juran - July 7, 2007

On Jul 7, 2007, at 10:43 AM, Louis Pouzin wrote:> On Fri, 29 Jun 2007 23:14:37 -0700, Joshua Juran wrote:>> set names to ...> set argv to names> copy dog to beginning of argv> tell perl to do script argv>> Hi Josh,>> Thanks for your answer. As you can read in my response to Nobumi, > this scheme fails on both my mac&39;s. I suspect it is an AppleScript > problem, not a MacPerl one.I verified the contents of argv in OS X&39;s Script Editor. Obviously, you..
http://www.nntp.perl.org/group/perl.macperl/2007/07/msg3094.html

MacPerl passing arguments: AppleScript to MacPerl by Louis Pouzin - July 7, 2007

Hello Nobumi,Great to hear from you again. Thank you for your suggestions. Indeed I am using Mac OS on old MACs. One OS is 7.5.5, the other 9.0.4.I have tried your scheme.On OS 9.0.4, it fails, and I don&39;t understand why. -- args is an argument list of class "list", each item is a string copy dog to the beginning of args activate perl tell perl to do script args -- error on scriptor tell perl Do Script args mode batch -- error on script end tellThe diag is: end of line, etc....
http://www.nntp.perl.org/group/perl.macperl/2007/07/msg3093.html
Available Archives
- April (2 items)
- May (2 items)
- June (7 items)
- July (14 items)
- November (3 items)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact