[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

RE: [MacPerl] Batch, Archives, and Control strips



At 18:39 -0700 1999.08.16, Nicholas G. Thornton wrote:
>Looking around on the macperl site I found bumppo. It seems a question about
>control strip modules has been asked before but never really answered. Since
>this seems outside of the expertise of Perl what other language could such a
>module be written in?

Something like this could be written in theory (a MacPerl extension to
write control strips in Perl), but to my knowledge has not been.


>I'll try the applescript.

I do this:

  #!perl -w
  use Mac::Apps::Launch;
  SetFront('MACS');  # I want the Finder to be in front during all this
  LaunchApps([qw(R*ch CSOm MOSS Arch rlfT NIFt …uck NNTP)]);

This won't work properly if you need to do it by path instead of by creator
ID.  However, Mac::Apps::Launch helps there, too:

  LaunchSpecs([$path1, $path2]);

Mac::Apps::Launch is on CPAN, and comes with the cpan-mac distribution.

-- 
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org