lumpinipark Posted June 3, 2018 Share Posted June 3, 2018 I currently have a very simple workflow that is Snippet(//hello) -> Keyword(Jim) -> Clipboard 'Hi {query}' The keyword is essentially an `argument` that is substituted into the text I have supplied in Clipboard So if I am in a text field and type \\hello it opens up a rectangular text field, where i type the keyword, hit enter and then it pastes the text from clipboard. Now I am just curious because I saw `Run Script` in workflow, but how do I pass in the argument? If I want to do Snippet -> Run Script -> Clipboard Run Script -> `'Hi' + "{query}" ` is it ever possible to do something like //hello(John) and initiate `Run a Script` from a text field and then have the result pasted in from Clipboard? Link to comment
vitor Posted June 3, 2018 Share Posted June 3, 2018 (edited) Welcome @lumpinipark, When asking for help with a Workflow, please always upload it somewhere. Descriptions and screenshots are rarely enough to get at the heart of a problem. Read the Reporting Problems with Workflows topic, as it gives a nice overview on how to build an effective report. As for your specific question, if I understood it correctly, the Run Script is not going to help you because you can’t pass arguments to the snippet. So you can’t //hello({{arbitrary word}}) and have it work. The way you’re doing it now is correct. Edited June 3, 2018 by vitor Link to comment
Vero Posted June 4, 2018 Share Posted June 4, 2018 @lumpinipark Could you please fill in your Powerpack email address in your forum profile before asking for support with workflows? This is only visible to admins and allows us to confirm your Powerpack email address. Cheers, Vero Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now