At 10.48 -0500 2000.01.23, Chris Nandor wrote: >$c2g->save([$w, $h], in => param_type(window => typeType), drawing => $dr); >die $^E if $^E; >I am not sure why param_type() is necessary; for some reason, it was coming >out as kfil:cwin instead of the desired kfil:type(cwin). So we explicitly >tell Mac::Glue to render it as typeType. There may be some logic I can add >to Mac::Glue so this is not necessary, but I don't offhand know what that >would be. Oh well. Ah, I think I see. The 'in' parameter is not wanting a typeType, but a typeFSS, according to its dictionary. So param_type() says "no, this is really supposed to be typeType," which is necessary in Mac::Glue and not AppleScript, again, because in AppleScript this would be helped along by the fact that 'window' would be a bareword in AppleScript, but must be a simple string in Perl. -- 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