Clicking on google result?

Here you are welcome to discuss items of general interest related to Push2Run
Post Reply
The D3V1L
Posts: 2
Joined: Sun Aug 19, 2018 10:22 am

Clicking on google result?

Post by The D3V1L »

Hello, first off I would like to say this is a really amazing software! I easily managed to control my youtube playlist without any problems.
I would love to know if it is possible to tell google assistant to choose one of the google/youtube search results.
something like:
google tell my computer to search for new york times.
google tell my computer to ope 5th result.

Any way to do this?
RobLatour
Site Admin
Posts: 1003
Joined: Mon Feb 19, 2018 11:43 am

Re: Clicking on google result?

Post by RobLatour »

I think this would need to be a feature of a google search, but would be happy to be proven wrong.
The D3V1L
Posts: 2
Joined: Sun Aug 19, 2018 10:22 am

Re: Clicking on google result?

Post by The D3V1L »

I found a way to do this, I just installed a chrome plugin that allows browsing google results by clicking the tab button.
The only problem is that I need to create a lot of new cards, a new card for every result.
For example, if I want to choose the first result I need a card that will initiate 1 tab click.
if I choose the second result, I need another card that will initiate 2 tab clicks and so on.
Would be cool if I could say select 5th result, the number 5 passes to vbs file as variable and clicks the tab button 5 times, if I say select 3rd result number 3 passes as variable and clicks the tab button 3 times. Is it possible to pass a variable like this to vbs file?
RobLatour
Site Admin
Posts: 1003
Joined: Mon Feb 19, 2018 11:43 am

Re: Clicking on google result?

Post by RobLatour »

yes you can pass variables to a .vbs file

in your push2run 'listen for' field, type 'open the' (without the quotes)
in the push2run open field, type the path and file name of your .vbs script
in the push2run parameters field, type '$' (without the quotes)

and then, for example, when say:
ok google, tell my computer to open the 5th tab

the words '5th tab' will be passed into your .vbs script
Post Reply