lekremyelsew Posted February 11, 2007 Share Posted February 11, 2007 (edited) Hello, allThis is my first AutoIt script, but i have had scripting experience beforeIts called Hot Corners 2, if you want to see the ver 1 its on snapfiles, but its not AutoItCompiling the script might not work because it needs additional resources that aren't thereTell me what you think of it, there are probably a few bugs so if you find one tell me so i can fix itAlready found a bugHot_Corners.zip Edited February 12, 2007 by lekremyelsew Hot Corners Rulez! Link to comment Share on other sites More sharing options...
Valuater Posted February 11, 2007 Share Posted February 11, 2007 I Like It!!!IdeasHot Corners...1 Top-Right should have a "Close Active Window" option availableHot Mouse1 Should be "easy keys" the "Win+h" keys are distant and hard to reach. "h" is in the middle of the keyboard. With that much effort its not reasonable to use Hot Mouse. maybe "Win+Q" or "win+z" or "Win+/"....?????Hot Centers Easiers than Hot Mouse, Center of Top, left, right and bottom of the desktopOptions "Run..." should give the file name to be ran in the option window8) Link to comment Share on other sites More sharing options...
lekremyelsew Posted February 11, 2007 Author Share Posted February 11, 2007 (edited) I made the hotkey Win+X re-download the zip because i updated it Edited February 11, 2007 by lekremyelsew Hot Corners Rulez! Link to comment Share on other sites More sharing options...
Valuater Posted February 11, 2007 Share Posted February 11, 2007 might want to put a small sleep before "ContinueLoop" ...ie... Sleep(5) Func MM() If $move_state = 0 Or $move_state = 2 Then MouseMove(@DesktopWidth/2,@DesktopHeight/2,0) While 1 $mpos = MouseGetPos() If $mpos[0] = @DesktopWidth / 2 And $mpos[1] = @DesktopHeight / 2 Then ContinueLoop EndIf 8) Link to comment Share on other sites More sharing options...
lekremyelsew Posted February 11, 2007 Author Share Posted February 11, 2007 Done Hot Corners Rulez! Link to comment Share on other sites More sharing options...
Valuater Posted February 11, 2007 Share Posted February 11, 2007 * for future expansion, at the top place this Global $Combo_data = "Control Panel|My Documents|Nothing|Run...|Screen Saver|Search Google|Show Desktop|Stand By|Lock" * then use this for the combo boxes GUICtrlSetData(-1, $Combo_data ,IniRead(@ScriptDir & "\config.ini","Corners","TL","Nothing")) 8) Link to comment Share on other sites More sharing options...
Valuater Posted February 11, 2007 Share Posted February 11, 2007 (edited) * for future expansion.... Make more use of the event_handler() for Center, Mouse, Corners etc Func HC() If $hot_state = 0 Or $hot_state = 2 Then $pos = MouseGetPos() $xres = @DesktopWidth -1 $yres = @DesktopHeight -1 If $pos[0] = 0 And $pos[1] = 0 Then Sleep(IniRead(@ScriptDir & "\config.ini","Options","HCD",0)) $pos = MouseGetPos() If $pos[0] = 0 And $pos[1] = 0 Then Event_Handler("TL", "Center") ; ****** EndIf ;.... ; **************** Func Event_Handler($action, $local) If $mic = False Then Switch IniRead(@ScriptDir & "\config.ini",$local,$action,"Nothing") ;.... 8) Edited February 11, 2007 by Valuater Link to comment Share on other sites More sharing options...
Valuater Posted February 11, 2007 Share Posted February 11, 2007 As I stated earlier "Close Active Window" Global $Combo_data = "Control Panel|My Documents|Nothing|Run...|Screen Saver|Search Google|Show Desktop|Stand By|Lock|Close Active" ; ..... Case "Close Active" Send("!+{F4}") Worked great 8) Link to comment Share on other sites More sharing options...
smstroble Posted February 11, 2007 Share Posted February 11, 2007 Wow, this is really handy, nice job! One thing though, the help file says that WIN+X will center the mouse, but its set for WIN+H in you script, just a minor detail. MUHAHAHAHAHA Link to comment Share on other sites More sharing options...
lekremyelsew Posted February 11, 2007 Author Share Posted February 11, 2007 Could you guys help me out with this? Hot Corners Rulez! Link to comment Share on other sites More sharing options...
locomaestro Posted February 11, 2007 Share Posted February 11, 2007 Wow, this is really handy, nice job!One thing though, the help file says that WIN+X will center the mouse, but its set for WIN+H in you script, just a minor detail.dude this is a amazing script, what makes it amazing its the idea.I mean ppl could do this , but i doubt ppl could come out with this amazing idea. Nice job on your first script !!! Link to comment Share on other sites More sharing options...
lekremyelsew Posted February 12, 2007 Author Share Posted February 12, 2007 I made the program actually use Win+X Hot Corners Rulez! Link to comment Share on other sites More sharing options...
lekremyelsew Posted February 13, 2007 Author Share Posted February 13, 2007 could someone be a pal and try this out on vista? Hot Corners Rulez! Link to comment Share on other sites More sharing options...
uberd Posted May 6, 2012 Share Posted May 6, 2012 Hi Lekrem, I was looking for a program that activates the current screensaver when I move the mouse into one of the 4 corners like in OS X. This is how I came across your program. I finaly tested Hot Corners on Vista. As I usually work under a non-administrator account, I found out that your code only calls the default screensaver. I changed the code to use the current users screensaver, and if none is defined, to ignore it. I also corrected some minor spelling mistakes and added some #includes without which I get compile errors. It now works fine for me. Thanks for this usefull program. I have included the au3 file and I have commented the changes. Hot Corners.au3 Have fun! Best regards, Denis 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