in reply to Re: interactive command session possible?
in thread interactive command session possible?

BrowserUk,

Awesome suggestion. I'm going to try this first chance, but from a glance it looks pretty sound. So long as it accepts the keys, all it should take is some tweaking to the sleep value. Thanks!!!
  • Comment on Re^2: interactive command session possible?

Replies are listed 'Best First'.
Re^3: interactive command session possible?
by BrowserUk (Patriarch) on Sep 15, 2011 at 01:22 UTC
    So long as it accepts the keys,

    SendKeys() can generate every possible character including Unicode, along with all of the non-characters keys such as the "Windows" and "Context menu" keys.

    all it should take is some tweaking to the sleep value.

    The sleep is there just to give the program time to start and display its window before the keystrokes are sent. The timing might be optimised by using WaitWindow() instead.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.