• 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
variable value --> property name?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

variable value --> property name?


  • Subject: variable value --> property name?
  • From: Gary Lists <email@hidden>
  • Date: Fri, 13 Jun 2003 17:42:01 -0400

I do believe that I have seen this question, and I thought I kept a copy of
that thread. Alas...I can not seem to find it, nor can I even remember what
the proper terminology is to adequately search.

Can I sell anyone a shiny, new, bottomless bucket? ;)

#1 --
Is it possible to pass a variable value as a property name ... if that is
the right way to say it?

Code Sample:

script doctyper
property |HTML 2.0 Compact| : "dtdRemovedForPosting"
property |HTML 3.2 Final| : "dtdRemovedForPosting"
-- etc.
property |XHTML 1.0 Transitional| : "dtdRemovedForPosting"
end script

doctyper's |HTML 4.0 Transitional|

Can I get that piped property name from a variable?

#2 --
In lieu of that, what would you recommend as a suggested approach to provide
a handler/script object to quickly return a DTD given a user choice? My
design 'hopes' were: portable/reusable, easily replaceable apart from the
associated applet, and cross-MacOS.

Is a script with only properties -- and a handler -- the best way? (Not a
text preference file, right?) Just use the list speed hack, in a separate
script file, and go with it?
--
Gary

MacOS 9.1 / "9 is Fine"
OMM: osa:AS 183 / osa:JS 103 / FM 55 / BB601 / Smile 188
______________________________________________________________
Please reply directly to the list.
Incoming messages are auto-deleted. (It's anti-spam, that's all.)
_______________________________________________
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.

  • Prev by Date: Re: Name Conflicts
  • Next by Date: Re: Disabling Music Store from iTunes
  • Previous by thread: Re: Disabling Music Store from iTunes
  • Next by thread: Re: variable value --> property name?
  • Index(es):
    • Date
    • Thread