• 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
Re: Coercing a long point
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coercing a long point


  • Subject: Re: Coercing a long point
  • From: Emmanuel <email@hidden>
  • Date: Fri, 6 Dec 2002 16:41:59 +0100

At 7:38 AM -0600 06/12/02, ehsan saffari wrote:
Here's a post from a.c.l.a, can anyone shed any light?

I'm getting a peice of data cak from an application that looks like this
>in the event log: <<data lpnt00000852FFFFFFA3>> If I get the class of the
data it is a long point. How do I get at the X and Y values of this point?
Or how can I coerce this long point into a list of numbers?

there is no mention of 'long point' in ALSG.
Anyone have a TMPL for long point?

I hope you can find a more elegant solution, but if you eventually do not, you can (assuming you can use Smile):

1. make the data into a string ("display" does that)
2. make the 2 x 8 hexa into 2 integers (Smile also offers helpers for that, check its "Programmer's tools")

Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Coercing a long point (From: ehsan saffari <email@hidden>)

  • Prev by Date: RE: another Quark scripting question
  • Next by Date: OT: replying to messages in Mail.app
  • Previous by thread: Coercing a long point
  • Next by thread: Re: Coercing a long point
  • Index(es):
    • Date
    • Thread