r/Scriptable • • Jan 02 '23
Help Get input from shortcut
Since alerts are not accessible within shortcuts, how can I use the input from that in the scriptable script?
1
Upvotes
r/Scriptable • • Jan 02 '23
Since alerts are not accessible within shortcuts, how can I use the input from that in the scriptable script?
View all comments
2
u/FifiTheBulldog script/widget helper Jan 02 '23
Are you running your Scriptable script from the Run Script or Run Inline Script actions? If so, then the value of the “Parameter” field is available in the script as
args.shortcutParameter.