variable value --> property name?
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.