Jump to content

How to enter system time into an application using keystrokes.


Recommended Posts

I have an application that i use to connect to my phone system on an XP PC. I have created a script using key strokes that will input a certain time into the phone system. What i would like it to do is check the PC time and enter that into the application. I have been reading up on "_NowTime", but i am not sure how i will pass this to the custom phone application. Here is the script i have now.

I have just started to get into AutoIt today.

Run ("C:\Program Files\UNITe\GateWay\UniteGW.exe")

WinWaitActive("AdvanceIP")

AutoItSetOption("SendKeyDelay", 40)

send("{alt}Se")

Send("{enter}")

Send("{UP}")

Send("{TAB}")

Send("{TAB}")

Send("{enter}")

send("{alt}C")

Send("{enter}")

run ("C:\Program Files\UNITe\eManager\eManager.exe")

WinWaitActive("eManager")

send("{alt}t")

send("S")

Send("{enter}")

WinWait("System Terminal")

Send("4{enter}")

Send("{space}")

Send("{space}")

Send("{space}")

Send("15")

Send("{space}")

Send("{space}")

Send("{space}")

Send("{space}")

Send("{space}")

Send("13{enter}")

Send("{enter}")

WinActivate("eManager")

send("{alt}f")

send("x")

Link to comment
Share on other sites

not sure this will work. I need to hit the space bar and only put in the minutes

These are the kind of small details you you should make clear, you know, the small details of what you want to do.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...