I am having trouble getting this script to run as an app. I am using Script Debugger 4 and outputting as an app. When debugging, I can see the window open just fine. But when running as an app, I get these errors, in order. How is “pi” related to Freehand? Does AppleScript have to source this ability from Freehand rather than the Mac OS?
thanks,
Levon
http://s101.photobucket.com/albums/m76/levonspradlin/misc/?action=view¤t=pi01.jpg
http://s101.photobucket.com/albums/m76/levonspradlin/misc/?action=view¤t=pi02.jpg
http://s101.photobucket.com/albums/m76/levonspradlin/misc/?action=view¤t=pi03.jpg
on run
set Pie to {pi} as string
display dialog ("Have some Pi: " & Pie) buttons {"Sweet, I like pi."} with icon 1 default button 1
end run
Model: Dual 2.3GHz G5
AppleScript: 2.1.1/SD4
Browser: Firefox 2.0.0.4
Operating System: Mac OS X (10.4)