AppleScript not sending my Cocoa app proper floats on Intel
AppleScript not sending my Cocoa app proper floats on Intel
- Subject: AppleScript not sending my Cocoa app proper floats on Intel
- From: Ron Fleckner <email@hidden>
- Date: Sun, 24 Jun 2007 17:10:35 +1000
A user with a MacBook Pro reports that setting a float value via
AppleScript in my app doesn't work as advertised. It works on our
PPC Macs at home. We have no Intel Macs here to test on.
In my app, if the float value sent to the method is zero or less, it
defaults to 0.1, and this is what the user is getting -- every time.
So I think I can say that, for whatever reason, the script (written
and compiled by the user on his MacBook Pro) is sending zero or less,
OR, my app is reading the value as zero or less. Which sounds like
the value being sent is a random value, as if it were a memory
management problem.
What could the matter be?
If anyone here has a MacBook Pro and would like to verify this
behaviour for me, I'd be very grateful. I could send you a link to
the app (zip file about 400kb).
Ron
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden