Hello!
Is it possible to run a script of another object directly? Name of the object known. For example - run MouseHover event script.
Will I use this?
getValue( string shape, "script", string name, string &source);
evalScript(....);
Thanks.
Run script (event) of other shape
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Run script (event) of other shape
Hello,
it is not possible to call a event of a shape from another script.
The QT events are only called when the user is interacting with the UI.
If a script shall be started based on another event normally the dpConnect() function is used. The work-function for the dpConnect() is called when one of the dp-elements defined at the dpConnect() are set.
If you need further information please descirbe exactly what you want to do.
Best Regards
Leopold Knipp
Senior Support Specialist
it is not possible to call a event of a shape from another script.
The QT events are only called when the user is interacting with the UI.
If a script shall be started based on another event normally the dpConnect() function is used. The work-function for the dpConnect() is called when one of the dp-elements defined at the dpConnect() are set.
If you need further information please descirbe exactly what you want to do.
Best Regards
Leopold Knipp
Senior Support Specialist
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: Run script (event) of other shape
Your question seems similiar to the question in this [url]topic: Event Execution[/url].
- vladimir
- Posts:25
- Joined: Thu Jan 23, 2014 1:34 pm
Re: Run script (event) of other shape
Thanks all.