power1power1 Posted July 25, 2013 Share Posted July 25, 2013 I was wondering if there is any UDF available to enable/disable the airplane mode on Windows 8. There are Autoit based exe files available at "http://www.eightforums.com/tutorials/24541-airplane-mode-off-shortcuts-create-windows-8-a.html" that does that but I think they work like macros. Link to comment Share on other sites More sharing options...
0xdefea7 Posted July 25, 2013 Share Posted July 25, 2013 Very simple code, just uses send and sleep: Turn on: SEND("#i") Sleep(100) Send("{Tab}") Send("{ENTER}") Sleep(100) Send("{LEFT}") Turn Off: SEND("#i") Sleep(100) Send("{Tab}") Send("{ENTER}") Sleep(100) Send("{RIGHT}") Link to comment Share on other sites More sharing options...
power1power1 Posted July 25, 2013 Author Share Posted July 25, 2013 (edited) Very interesting! Thanks for the scripts ... Well, it would be good to know if any UDF is available ... Oh, by the way, do you know how to close the Networks flyout bar within those scripts? Edited July 25, 2013 by power1power1 Link to comment Share on other sites More sharing options...
power1power1 Posted July 26, 2013 Author Share Posted July 26, 2013 Well, I ended up increasing the sleep time between sending Enter and sending Right/Left, else there would be occasions that the script would fail to change the airplane mode ... 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