get properties treating variable as literal
get properties treating variable as literal
- Subject: get properties treating variable as literal
- From: Jaime Magiera <email@hidden>
- Date: Wed, 4 Oct 2006 12:45:26 -0400
Ok, this is an easy one. Applescript treats my variable in a "get" as
a literal. I thought the lack of pipes would prevent this. However,
there's something else I must be missing. I searched the archives,
but he suggestion of using (| & variable & |) doesn't work either.
thanks for any help.
on verifyUniqueIDs(newPreferencesArray, currentPreferencesArray,
uniqueKey)
if (currentPreferencesArray is not equal to {}) then
set currentUniqueKeys to {}
-- How can I get the "get" to read the value of uniqueKey, not as a
literal
repeat with aPreferenceObject in currentPreferencesArray
copy (get ( uniqueKey) of aPreferenceObject) to end of
currentUniqueKeys
end repeat
else
set currentUniqueKeys to {}
end if
return currentUniqueKeys
end
Jaime Magiera
Sensory Research Network
http://www.sensoryresearch.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden