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

[MacPerl-Modules] Mac::Glue problem



First of all I would like to say thanks for Mac::Glue, it's great!

The problem I am having is with the gluedialect and gluescriptadds scripts.
In those scripts there is this portion:
# this won't work on Mac OS pre-8.0
$ARGV[0] = catdir(FindFolder(kOnSystemDisk, 'ƒscr'), 'Dialects') if !@ARGV;
die "Can't find Scripting Additions folder\n" if !@ARGV;

I'm running 7.5.5 so this didn't work. I just hardcoded in my path with this
(and similar for gluescriptsadd) With this Mac::Glue worked fine for me..
That is with my minimal testing so far.:
$ARGV[0] = "10:System Folder:Extensions:Scripting Additions:Dialects:";
Is there any way to determine what system version is running on the
computer? If it's >=OS8 use the code that is in there and if it is <8 use
something like MacPerl::FindFolder(S) and append the correct paths.


Also when I dropped QuarkXPress®3.3 on gluemac I get the following repeated
28 times:
# Invalid conversion in sprintf: "%)".
File '10:MacPerl ƒ:site_perl:Mac:AETE:Format:Glue.pm'; Line 122


Thanks,
Ricardo Muggli

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