Did you try backslashing the quote chars? >I'm having trouble getting MacPerl variables into my applescripts. > > >&MacPerl'DoAppleScript(<<'END_SCRIPT'); >tell application "MacPerl" > make new Window > copy "$x" & "Inserting text the hard way." to character 1 of front >Window >end tell >END_SCRIPT > ------------------------------------------------ John Whelan ImageLinc Commercial em: johnw@imagelinc.com Internet Services fax: 206.812.1033 ph: 206.812.2662