Results 1 to 5 of 5

Thread: Is there any way to automate a series of keystrokes

  1. #1
    Join Date
    Nov 2010
    Posts
    30

    Is there any way to automate a series of keystrokes

    For instance, while I release my wireless modem it necessitates the below sequence of keystrokes:
    • Ctr+alt+I- Enter- Password- Enter-Enter and so on.

    Is it possible to setup a solitary command to begin the whole sequence of keystrokes? If anyone has any idea then please provide me a few help, because, this is very useful for me and also wants to know more about this series of keystrokes.

  2. #2
    Join Date
    May 2008
    Posts
    991

    Re: Is there any way to automate a series of keystrokes

    Generate a text file and paste these lines in and name it whatever you want but with .vbs extension. In this instance it cuts and pastes between two windows. See following for send keys documents.
    Code:
    Set WshShell = WScript.CreateObject ("WScript.ÂShell”) 
    WshShell.SendKeys "%{ TAB} ^c %{ TAB} ^v" 
    [Above sends Alt + Tab, Ctrl + C, Alt + Tab, then Ctrl + V]
    After that put a shortcut to the scripts right click it and select Copy, to Desktop, a sub file of the desktop, or on the Start Menu someplace right click Start and select Open and right click an empty area and select Paste Shortcut and put a hotkey for the shortcut. See help, but right click shortcut and select Properties and appear on the general tab - many keys are not available. You may wish to know these extra commands. WSHShell.Run ("c:\command.exe", 0, True)

  3. #3
    Join Date
    May 2008
    Posts
    1,020

    Re: Is there any way to automate a series of keystrokes

    Specify if to stay at this command until the program started has exited. True it does and false it does not. Appear in the Shortcut's Properties of the Start Menu shortcuts to observe a few command lines. You can as well place document names in and have the Open command run on them.
    Check out some Window Style:
    1. Hides the window and turns on one more windows.
    2. Activates and exhibits a window. If the window is minimized or maximized, then just restore it to its unique size and situation. An application should state this standard while displaying the window for the initial time.
    3. Turns on the window and exhibits it as a minimized window.
    4. Turns on the window and shows it as a maximized window.
    5. Turns on the window and shows it in its present size and situation.
    6. Sets the show state based on the state of the program that in progresses the application.

  4. #4
    Join Date
    Nov 2009
    Posts
    824

    Re: Is there any way to automate a series of keystrokes

    Just sends your program to snooze for the milliseconds particular. Occasionally you may require doing this to provide the receiving program the ability to route your commands as you are blocking it from operation by sending it keystrokes or extra frequently to provide a process sufficient time to finish.

  5. #5
    Join Date
    Apr 2009
    Posts
    1,107

    Re: Is there any way to automate a series of keystrokes

    I have been appearing for the similar thing for an extended time. I just establish an immense book called: Bot Programming: Intelligent Automation for Windows Applications and Games. The below Windows Automations Are enclosed:
    1. Left and Right Mouse Clicks for Millisecond Timing
    2. Situate Focus on precise Applications
    3. Application precise Mouse Clicks with Millisecond Timing
    4. Throw Individual Key Strokes among Timing Control
    5. Opening Remote Applications
    6. Sprint Automated Bots with Windows Scheduled Tasks
    7. Act upon Screen Captures
    8. Make use of Pixel Recognition for Intelligent Decisions
    9. Applications and Games Butted

Similar Threads

  1. Getting repeated keystrokes on Windows 7
    By Nancie in forum Operating Systems
    Replies: 4
    Last Post: 01-06-2011, 05:35 PM
  2. How to record keystrokes on your keyboard
    By Yudhajit in forum Software Development
    Replies: 10
    Last Post: 20-05-2011, 05:07 PM
  3. G73 keyboard missing keystrokes
    By Amy Adams in forum Portable Devices
    Replies: 6
    Last Post: 08-09-2010, 06:09 AM
  4. Replies: 3
    Last Post: 02-07-2009, 11:26 PM
  5. How to send keystrokes to windows / dos application?
    By Shashikant in forum Software Development
    Replies: 3
    Last Post: 26-02-2009, 07:57 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,638,207,601.55837 seconds with 17 queries