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 » Sun Mar 12, 2017 10:12 am

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 » Sun Mar 12, 2017 12:24 pm

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: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: Handler-call

Post by jmburnod » Sun Mar 12, 2017 12:32 pm

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 » Sun Mar 19, 2017 2:16 pm

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

Return to “Getting Started with LiveCode - Complete Beginners”