• 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: Searching for the equivalent of coercing to type "record"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Searching for the equivalent of coercing to type "record"


  • Subject: Re: Searching for the equivalent of coercing to type "record"
  • From: Emmanuel <email@hidden>
  • Date: Sat, 8 Mar 2003 11:36:46 +0100

At 10:03 AM +0100 08/03/03, julifos wrote:

Anyway, I've been following this thread and I don't know why are your
forcing the usrf'ing, instead declarate the record as is?

set usrf_key to "user record field!"
set usrf_value to "some words..."

run script "{|" & usrf_key & "|:\"" & usrf_value & "\"}"
--> {|user record field!|:"some words..."}

My apologies for having spawned confusion here.

As a sidenote, as long as I know, if you're running under classic, you don't
need "run script". This works under 9.1, AS 1.8.2b3, running applet:

set x to record {+class usrf;:{"label", "value"}}
display dialog "I'm a " & (x's label) --> "I'm a value"

I didn't know about that one, but I can't have it work here (10.2.1).

Thanks for clarifying the point [1].

Emmanuel

[1] For the record, MF had pointed out privately the absurdity of my suggestion 6 hours before JJ, but that's unfair since JJ and I were sleeping then.
_______________________________________________
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: 
 >Re: Searching for the equivalent of coercing to type "record" (From: julifos <email@hidden>)

  • Prev by Date: Re: Script to insert SE2 script in Eudora message
  • Next by Date: Re: Parsing emails to this group for unsupported characters
  • Previous by thread: Re: Searching for the equivalent of coercing to type "record"
  • Next by thread: Meeting Location
  • Index(es):
    • Date
    • Thread