On Aug 31, 2009, at 4:07 PM, Deivy Petrescu wrote:
You are running Snow Leopard, could you please run the script above in AS Editor both in 64- and 32-bit and report back.
Thank you.
I AppleScript Editor I get ...
set e to -10004
display dialog e --> 4294957292
return e --> -10004
In Smile I get ...
set e to -10004
display dialog e --> -10004
return e --> -10004
I compiled this script ...
on run
my test()
display dialog the result
end run
on test()
set e to -10004
display dialog e
delay 1
return e
end test
as an un-editable application bundle via AppleScript Editor. Very interesting!
When first compiled, the "Open in 32 bit mode" is unchecked and the result is ...
First dialog --> 4294957292
Second dialog --> 4294957292
I then checked "Open in 32 bit mode" and double-clicked it again with the result ...
First dialog --> -10004
Second dialog --> -10004
Mmmmmmm!