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

[MacPerl] Perl & AppleScript question



Hello

I have a question about how you pass a variable into a Applescript from perl. This is 
what I want to do.

clip---
$from="ftp://triton.pht.com/games/action/apeiron-10.hqx";

&MacPerl'DoAppleScript(<<'END_SCRIPT');
tell application "Anarachie"
fetch url "$from"
end tell
END_SCRIPT
clip--- 

What do I need to do so that I can pass the varible in. Any and all sugestions would be 
appreciated. 

Thanks
James Hunter                              
MacTeam '96                        
__________________________________________________
 Pacific HiTech                ___0   http://www.pht.com
 3855 South 500 West           \  >,     permiss@pht.com
 Salt Lake City, UT 84115 (*) /(*)    ftp://ftp.pht.com
__________________________________________________