logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
David Rueter  
#1 Posted : Friday, January 29, 2021 9:12:52 PM(UTC)
David Rueter

Rank: Newbie

Groups: Registered
Joined: 4/19/2020(UTC)
Posts: 8
United States

Especially now that we have dynamic script capabilities it would be very nice to be able to execute a shortcut from a script.


For example, if I inspect the standard web controller web page source code there is a ?shortcut='xxxx' (where xxxx is a GUID for the shortcut).

In script it would be great to be able to do this:

Script:
Quote:
shortcut=14a25f2f-edfb-4c56-904b-755dc980d3db


...but "Name 'shortcut' is not declared". Could "shortcut" be added as a valid script command?

Note that this already works in the HTTP Web API (of course):
Quote:
http://127.0.0.1:8088/?shortcut=14a25f2f-edfb-4c56-904b-755dc980d3db
doggy  
#2 Posted : Friday, January 29, 2021 10:18:04 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,217
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
Have you tried with a httprequest from within the script ? (works btw)
or
Why not directly use the same functions in a script that would be in a shortcut ?

BTW there is a feature request section in this forum !
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.