Chris Nandor wrote: > > At 11:12 -0600 2002.09.23, Keary Suska wrote:
> >MacPerl::DoAppleScript('tell application "Finder" to open > >"full:or:rel:file:path"'); > > > >My AS is a little rusty, but you can test the script in the script editor > >before pasting to this function. If you set the type and creator properly, > >there should be no problem for the Finder to open the file in the right app. > > That should work. It'd probably be 'open file "path"' or something, but yes. > > Or 'open file "path" using "application path"'. > if the file type/creator are set correctly, this works with explicit paths: MacPerl::DoAppleScript(<<END_SCRIPT); tell application "Finder" open file "Documents:RSC:Perl:basic:AppleScript:hello world" end tell END_SCRIPT but how do you write relative paths in AppleScript? I mean, let's assume "hello world" is in the same directory as perlscript containing the above code? I'll tackle the Mac::Glue example next. -Richard