How to: Read result of action, enter info into variable, use variable

Posted by VJMarcus on Mon 03 Mar 2014 12:28 PM — 2 posts, 10,634 views.

#0
G'Day
Here is what i want to do
I run a "tell the time" alias to get this result

The chronograph is open, showing that the current time is 12:50am, Thursday 16th June Prime, UC 2033, the moon is in its waxing crescent phase, and the weather is cloudy.

I then want to enter something like this

(alias name) (spellname) (variable)

with (variable) being the words between "showing that the current time is" and the full stop at the end of the line

How do i do this?
I'm doing a c&p atm and would like to reduce it to a single word which sends what ever is in that section in place of the word.

I did read elsewhere about putting selected text into the clipboard, even doing a control-v will be ok

TIA

VJM
Amended on Mon 03 Mar 2014 01:11 PM by VJMarcus
Australia Forum Administrator #1
Well, you want a trigger that matches something like:


The chronograph is open, showing that the current time is *.


Save that (%1) into a variable and use that variable in your alias.