Run user defined functions from address bar
Run user defined functions from address bar
Sometimes it would be great to run user defined functions quickly from the address bar. Which is not possible now, because I cannot use include in AB. Would it be a way to achieve this? Maybe a central repository for those functions and they could be loaded silently on start?
Re: Run user defined functions from address bar
Yep, great idea - I think that would be useful
Last edited by MBaas on 13 Jan 2023 09:50, edited 2 times in total.
______________________________________________
Happy user ;-)
Happy user ;-)
Re: Run user defined functions from address bar
Not a full solution, but if your UDF is launching a script from Scripts folder, you can use Alias to run same script, and aliases can work in AB.
Last edited by eil on 14 Jan 2023 01:32, edited 1 time in total.
Win 7 SP1 x64 100% 1366x768
-
- Posts: 154
- Joined: 15 Feb 2016 10:48
Re: Run user defined functions from address bar
For a slightly different purpose I did the following:
I created an UDC containing only the iNCLUDE statement with my functions library (e.g. #1420)
When I want to use a user defined function I type #1420; MyFunction();
A little more typing but it does the job.
I created an UDC containing only the iNCLUDE statement with my functions library (e.g. #1420)
When I want to use a user defined function I type #1420; MyFunction();
A little more typing but it does the job.
Daniel
Windows7 SP1 x64 / XY latest stable
Windows7 SP1 x64 / XY latest stable
Re: Run user defined functions from address bar
______________________________________________
Happy user ;-)
Happy user ;-)
Re: Run user defined functions from address bar
TBH, I 'ed that because I was hoping this change would also take care of the issue I was having: the desire to use UDFs in CFAs without loading (like "global functions"). But unfortunately that is out of scope according to the whatsnew so you've not given me a chance to like it
______________________________________________
Happy user ;-)
Happy user ;-)
-
- Site Admin
- Posts: 60567
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Run user defined functions from address bar
It makes the most sense in the AB. In UDC you have multi-line scripts, so you can use include. In CFA, yes, that could make sense. Maybe later...
FAQ | XY News RSS | XY Twitter