svenjatzu Posted March 20, 2018 Share Posted March 20, 2018 hi, i need a little script but i didnt write any for long time and forgot alot. the script i need should check for 2 minutes if theres any mouse or key input and if no input send strg alt entf. someone plz can help me with it? Link to comment Share on other sites More sharing options...
Simpel Posted March 20, 2018 Share Posted March 20, 2018 Hi. what are you trying to automate. I sounds like locking the computer if being unattended for a minute. If so, Strg+Alt+Entf wouldn’t be the best choice because you then have to choose „lock“ from a menu. Locking the pc immediately with WIN+L seems to be better. What have you tried until now to script? Let’s see. Conrad SciTE4AutoIt = 3.7.3.0 AutoIt = 3.3.14.2 AutoItX64 = 0 OS = Win_10 Build = 19044 OSArch = X64 Language = 0407/german H:\...\AutoIt3\SciTE H:\...\AutoIt3 H:\...\AutoIt3\Include (H:\ = Network Drive) Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted March 20, 2018 Moderators Share Posted March 20, 2018 @svenjatzu please pay attention to where you post in the future, the Examples forum is not for questions. Also, as is pointed out above, we work on the "teach a man to fish" motto; we are glad to help you improve your scripts (so please post). This forum is not, however, a place where someone is going to do all the heavy lifting for you. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
svenjatzu Posted March 20, 2018 Author Share Posted March 20, 2018 9 hours ago, Simpel said: Hi. what are you trying to automate. I sounds like locking the computer if being unattended for a minute. If so, Strg+Alt+Entf wouldn’t be the best choice because you then have to choose „lock“ from a menu. Locking the pc immediately with WIN+L seems to be better. What have you tried until now to script? Let’s see. Conrad yas right thas it, locking the pc @ work sometimes i forget it and my boss is angry then, winkey + l was in hurry this morning. Link to comment Share on other sites More sharing options...
svenjatzu Posted March 20, 2018 Author Share Posted March 20, 2018 7 hours ago, JLogan3o13 said: @svenjatzu please pay attention to where you post in the future, the Examples forum is not for questions. Also, as is pointed out above, we work on the "teach a man to fish" motto; we are glad to help you improve your scripts (so please post). This forum is not, however, a place where someone is going to do all the heavy lifting for you. sry i think you remade the forum, cant find anything Link to comment Share on other sites More sharing options...
Developers Jos Posted March 20, 2018 Developers Share Posted March 20, 2018 (edited) 2 minutes ago, svenjatzu said: sry i think you remade the forum, cant find anything It was moved for you to the appropriate forum.... this one! Edited March 20, 2018 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
svenjatzu Posted March 20, 2018 Author Share Posted March 20, 2018 2 minutes ago, Jos said: It was moved for you to the appropriate forum.... this one! thanks Link to comment Share on other sites More sharing options...
Zedna Posted March 21, 2018 Share Posted March 21, 2018 Look at function _IsPressed() Resources UDF ResourcesEx UDF AutoIt Forum Search 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