Startseite › Foren › Deutsches LiveCode-Forum › custom properties › Antwort auf: custom properties
Dezember 11, 2017 um 13:24 Uhr
#3218
AHA, Custom Property Set, alles klar! 🙂
OK, die Syntax dafür ist wie ein Array, daher wohl die leichte Konfusion 🙂
Here we go:
...
## Keys dieses CP Sets auslesen:
put the customkeys["cAllowedUsers"] of this stack into tKeys
put shell("echo %USERNAME%") into tActualUser
if (tActualUser is among tKeys) then
## Inhalt des gefundenen "Keys" auslesen:
answer the cAllowedUsers[tActualUser] of this stack
end if
...
Das sollte funktionieren.
Gruß
Klaus