Handler-call

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
UKMC
Posts: 50
Joined: Sun Jan 08, 2017 12:01 pm

Handler-call

Post by UKMC »

Dear all,

is there a function in LC to find out from which scripts a special handler (function or command) is called ?

I need this because I have to change the name of a command and subsequent the necessity to rename all calls of this command.

Your help is very appreciated

Best regards and a nice sunday

Ulrich
Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: Handler-call

Post by Thierry »

UKMC wrote:Dear all,

is there a function in LC to find out from which scripts a special handler (function or command) is called ?

I need this because I have to change the name of a command and subsequent the necessity to rename all calls of this command.

Your help is very appreciated

Best regards and a nice sunday
Hi Ulrich,

Please check executionContexts in the dictionary....

HTH,

Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Handler-call

Post by jmburnod »

Hi Ulrich,
is there a function in LC to find out from which scripts a special handler (function or command) is called ?
executionContexts should be useful for that
I need this because I have to change the name of a command and subsequent the necessity to rename all calls of this command.
Why not use search/replace tool ?
Best regards
Jean-Marc
https://alternatic.ch
UKMC
Posts: 50
Joined: Sun Jan 08, 2017 12:01 pm

Re: Handler-call

Post by UKMC »

Hi Jean-Marc,

thanks for the hint, I had not realized the extended find/replace-functionality up to now.

It works perfect, thanks


Ulrich
Post Reply