Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

cannnot get emulate keystrokes to work

If you have a question or need help, this is the place to be.
Post Reply
gecko25
Posts: 5
Joined: Wed Aug 14, 2013 6:17 pm

cannnot get emulate keystrokes to work

Post by gecko25 »

I must be doing something wrong at a basic level so hopefully someone can easily help. I just want to open Google Chrome and type in netflix.com. All works perfectly, except no text shows in the search bar. I am using F6 to focus the cursor into the search bar and have the keyboard plugin installed.

Start Program:chrome.exe
Wait 3.0 sec
Find Window: chrome.exe
Bring to Front
Maximize
Emulate Keystrokes: {F6}www.netflix.com{Return}

Running 0.4.1.r1630 on Win7 64bit

Thanks in advance.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: cannnot get emulate keystrokes to work

Post by Pako »

1) If you want to emulate keystrokes, you do not need to have the Keyboard plugin installed.
2) I suggest you use www.netflix.com as Command line options when you starting Chrome.
Otherwise you will have a big problem with predictor, even if you can send characters into the address bar.
I tried it and the predictor always garbling my data.

Pako
gecko25
Posts: 5
Joined: Wed Aug 14, 2013 6:17 pm

Re: cannnot get emulate keystrokes to work

Post by gecko25 »

Okay great suggestion. Although, I am still having problems.
I specified the command line option: --homepage="http://netflix.com" (also tried without quotes.. wasn't sure which to use) in the System: Start Application option for adding an action. I used this page as a reference for command line options in chrome: http://peter.sh/experiments/chromium-co ... -switches/

Although, another note: In the same window ( Start Application Action Item Settings) I also selected Maximized for my windows options but the browser does not load maximized. So maybe the problem is related to something else which I am now at a loss for now. If you have any thoughts that would be great. Thanks!
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: cannnot get emulate keystrokes to work

Post by Pako »

gecko25 wrote:Okay great suggestion. Although, I am still having problems.
I specified the command line option: --homepage="http://netflix.com"
No, why do you complicate it?
Into line Command line options simply write netflix.com.
gecko25 wrote:Although, another note: In the same window ( Start Application Action Item Settings) I also selected Maximized for my windows options but the browser does not load maximized.
Unfortunately, these options do not always work.

Pako
gecko25
Posts: 5
Joined: Wed Aug 14, 2013 6:17 pm

Re: cannnot get emulate keystrokes to work

Post by gecko25 »

Ah amazing, works perfectly now. Guess I don't totally understand how it works without specifying a the startup option I want to modify or what command line option exactly means. Didn't mean to complicate it, just thought I would have specify what startup option I wanted to modify! Could you maybe explain this (or point me somewhere where I can educate myself?). Thanks
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: cannnot get emulate keystrokes to work

Post by Pako »

gecko25 wrote:Ah amazing, works perfectly now. Guess I don't totally understand how it works without specifying a the startup option I want to modify or what command line option exactly means. Didn't mean to complicate it, just thought I would have specify what startup option I wanted to modify! Could you maybe explain this (or point me somewhere where I can educate myself?). Thanks
I'm not sure if I understood your question correctly (even though I used a dictionary :) ).
I think that the meaning of the line Command line options you probably understand correctly.
This is exactly the same as when (in our case) write command line chrome.exe netflix.com.
This worked (perhaps for all browsers that exist) have always been.
Only (at least I think so) before it was necessary to write the whole URL, ie chrome.exe http://netflix.com.
Today's browsers are able to add it yourself.

Pako
Post Reply