Hello Me You Posted February 20, 2007 Share Posted February 20, 2007 Question #1:What is the difference of HotKeySet and _IsPressedQuestion #2:Can you move a window?Question #3:With a hotkey I want to copy and paste the selected text (e.g. from Internet Explorer or Word/Excel etc.) to an opened text file (without activating the notepad window - while it is minimized).Is it possible? Random Link to comment Share on other sites More sharing options...
Shevilie Posted February 20, 2007 Share Posted February 20, 2007 (edited) Answer #1:Look in helpfileAnswer #2:Look in helpfileAnswer #3:Yes - Look in helpfile Edited February 20, 2007 by Shevilie Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
Hello Me You Posted February 20, 2007 Author Share Posted February 20, 2007 (edited) Answer #1:I still can't understand the differenceAnswer #2:WinMove - OKAnswer #3:Send the selected text - I can't do itSend to minimized window - OKAnd I have a 4th question Question #4:I have set some hotkeys. Can I add two more hotkeys, that they enable and disable the other hotkeys? Edited February 20, 2007 by Hello Me You Random Link to comment Share on other sites More sharing options...
Shevilie Posted February 20, 2007 Share Posted February 20, 2007 (edited) Well the main difference between _IsPressed and HotKeySet is that the HotKey runs a function when the "hotkey" is pressed... The _IsPressed can check if a button is pressed at the time the program "launches" the lineAnswer #4You wont belive it - Look in the helpfile About the selected text, i think theres an UDF somewhere on the forum Edited February 20, 2007 by Shevilie Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
Hello Me You Posted February 20, 2007 Author Share Posted February 20, 2007 hahahah, i looked the help file.... i cant find anything about hotkey enabling and disabling Random Link to comment Share on other sites More sharing options...
Shevilie Posted February 20, 2007 Share Posted February 20, 2007 Look again.. And I suggest HotKetSet Its a bit tricky but its there Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
Hello Me You Posted February 20, 2007 Author Share Posted February 20, 2007 ..... I have some hotkeys. I just want with F1 to enable them and with F2 disable them Random Link to comment Share on other sites More sharing options...
Shevilie Posted February 20, 2007 Share Posted February 20, 2007 Here you go... HotKeySet("F1", "_EnableKey") HotKeySet("F2", "_DisableKey") Func _EnableKey() HotKeySet("q","Func1") HotKeySet("w","Func2") HotKeySet("e","Func3") HotKeySet("r","Func4") HotKeySet("t","Func5") HotKeySet("y","Func6") .... EndFunc Func _DisableKey() HotKeySet("q") HotKeySet("w") HotKeySet("e") HotKeySet("r") HotKeySet("t") HotKeySet("y") .... EndFunc Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
Hello Me You Posted February 21, 2007 Author Share Posted February 21, 2007 Here you go... HotKeySet("F1", "_EnableKey") HotKeySet("F2", "_DisableKey") Func _EnableKey() HotKeySet("q","Func1") HotKeySet("w","Func2") HotKeySet("e","Func3") HotKeySet("r","Func4") HotKeySet("t","Func5") HotKeySet("y","Func6") .... EndFunc Func _DisableKey() HotKeySet("q") HotKeySet("w") HotKeySet("e") HotKeySet("r") HotKeySet("t") HotKeySet("y") .... EndFuncFinally... thanks Shevilie Random Link to comment Share on other sites More sharing options...
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