Thierry,
getProp handlerNames
put the script of the target into myScript
repeat for each line myLine in myScript
if word 1 of myLine is "on" then
put word 2 of myLine && "command" & return after myList
else if word 1 of myLine is "function" then
put word 2 of myLine && "function" & return after myList
else if word 1 of myLine is among the items of "getProp,setProp"
then
put word 2 of myLine && "property" & return after myList
end if
end repeat
delete last char of myList
sort lines of myList
return myList
end handlerNames
Usage:
put the handlernames of group id 1004
if "foo command" is among the lines of the handlernames of this stack
then...
Best regards,
Mark Schonewille
--
Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Quickly extract data from your HyperCard stacks with DIFfersifier.
http://differsifier.economy-x-talk.com
Op 9-nov-2007, om 16:21 heeft Thierry het volgende geschreven:
Thanks Xavier,
Do you mean you're parsing the text of the script ?
But then how do you do, if you have a protected stack,
where the text script is not available anymore ?
ps: i'm looking for a generic method.
Regards,
Thierry
Hi,
As there is the rev function:
exists( an object ) or there is .... ,
is there something like
exists( <whateverFunction> ) in <anyObject>
Well, i know i could parse the scripts ....
but is there a more simple way ?
By the way, I need this to be called from inside an external.
Thanks for enlightenment,
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution