• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AppleScript not sending my Cocoa app proper floats on Intel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: AppleScript not sending my Cocoa app proper floats on Intel
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Finder window - coordinates and screen?
  • Next by Date: Re: Cancelling changes on managed objects
  • Previous by thread: Re: Finder window - coordinates and screen?
  • Next by thread: Re: AppleScript not sending my Cocoa app proper floats on Intel
  • Index(es):
    • Date
    • Thread