Zortarg Posted November 11, 2007 Posted November 11, 2007 i want some simple script to have multiple control. but some things i cant do (or that are not working correctly). i want multiple actions with one key. thats not realy the problem. but all my trys to script ALT+F1 and CTRL+F1 have failed. im sure its just a simple synthax thing or just a litte stupid mistake. i have only limited scripting and programming experiense so be kind with me... here are my trys: first: Func ALTF1() send("{ALT}+{F1}") EndFunc second: Func ALTF1() send("{ALTDOWN}") send("{F3}") send("{ALTUP}") EndFunc would realy be nice if someone could help me out....
martin Posted November 11, 2007 Posted November 11, 2007 (edited) i want some simple script to have multiple control. but some things i cant do (or that are not working correctly).i want multiple actions with one key. thats not realy the problem. but all my trys to script ALT+F1 and CTRL+F1 have failed. im sure its just a simple synthax thing or just a litte stupid mistake. i have only limited scripting and programming experiense so be kind with me... here are my trys:first:Func ALTF1()send("{ALT}+{F1}")EndFuncThis will send ALt (down then up), then '+' then F1second:Func ALTF1()send("{ALTDOWN}")send("{F3}")send("{ALTUP}")EndFunc.The second way shpould work if you used {F1} instead of {F3}It's explained very clearly in the help with examples. To send Alt + F1Send( "!{F1}")To send Ctrl + F1Send("^{F1}") Edited November 11, 2007 by martin Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now