Jump to content
Sign in to follow this  
AndrzejSobotka

Program that will help me fill forms in work. How to start ?

Recommended Posts

AndrzejSobotka

Hello in the biginnig i will say that this is my first post so sorry if i choose wrong forum. I want to make a simple program with auto it. It will do something like that:

If i press function key F2 it will write: "PLEASE SEND ME YOUR MAIL", if i press another function keys it will fill in with difrent text. I want to make it for F2 - F10, and for the combination CTRL+(F2-F10). I don't know how to start. I try to search for it on this forum but i don't know how it will be discribe and where it will be. It will be nice if it will use config file, that will show F2-"text1", F3 -"another text" and it will be easy to change. It will be nice if it will have graphic interface that will show what keys are used with what text. If somewhere on this forum is example of something like that i will be very grateful.

THX for u help :).

PS.

Sorry for me english ;)

Share this post


Link to post
Share on other sites
Kidney

Just to get you started:

Hotkeyset("{F2}", "FunctionNumber1") ;{F2} is the F2 button on your keyboard. "FunctionNumber1" is the function that will run when you press the F2 button. 

;the next hotkey will be {F3} with the function "FunctionNumber2" 


Func FunctionNumber1()

Send("SEND ME YOUR MAIL.") ;change whatever is in the "" to what you want to send. 

EndFunc

Share this post


Link to post
Share on other sites
somdcomputerguy

AndrzejSobotka - You may want to look at this function too - ToolTip

And the tool you're using here is named AutoIt.

Edited by somdcomputerguy

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
Zedna

Definitely open AutoIt's helpfile and look at HotkeySet() function.

There is also description and example.

EDIT: For using config file look at IniRead() and IniWrite()

Edited by Zedna

Share this post


Link to post
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
Sign in to follow this  

×