Page 1 of 1

Run\Search on a website not working and question

Posted: Wed Jul 18, 2018 5:24 pm
by Pegtz
Hello, first I wanted to say thank you for un software, it is really good.
I try to open youtube when I tell him to do it, but it is not working.

I have this error : the action was run but it appears to have failed
I ask to Open : https://www.youtube.com
And it has the administrator privileges
Do you have any idea why it won't open youtube ?
It is the same when I try to search for pictures on google.

Also I'm wondering if when I tell to launch a game, I could make my computer with your software (or with a program in python or c++) log in for me (use my password and id, and then if possible wait and hit play ?

Thank you again, and have a great day.

Re: Run\Search on a website not working and question

Posted: Wed Jul 18, 2018 6:06 pm
by RobLatour
Thanks for your kind words about the program.

For whatever reason, with Windows when you want to run programs with administrative privileges you can't just specify a file name or web url in the open field.

Instead, you have to enter the actual program name in the program field, for example:
C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

and the filename or url in the parameters field, for example:
https://google.com/search?q=$

for an example please see the attached push2run card.

Making these changes such as those above, updated for youtube, will allow you to open your youtube page regardless of if you are using admin privileges or not.

Regarding launching a game, you may be able to do this in a script - using the sendkeys function - for an example you can see how to open the calculator and send keys to it here: viewtopic.php?f=9&t=14

However some programs have special password signon boxes that don't allow you to send keystrokes to them - so this may or may not work depending on the game

Hope this helps