Search the Community
Showing results for tags 'shift'.
Found 3 results
This is my function to put round brackets "()" around a selected text: HotKeySet("^+9", "Encl") While 1 Sleep(10000) WEnd Func Encl() ClipPut("") Send( "^x" ) Sleep(200) local $ClipEncl = ClipGet() Switch @HotKeyPressed Case "^+9" $ClipEncl = '(' & $ClipEncl & ')' EndSwitch ClipPut($ClipEncl ) Send("^v") EndFunc The problem is that many times the ctrl or shift or ctrl-shift key is stuck after I invoke the above hotkey and I have to push the ctrl, shift or both keys again to be able to use these as before. Does anyone know what I did wrong in this function?
The original resolution switcher by HTC works good on earlier Windows, but has two problems on Win8. When activated it creates a window telling the current resolution. It is given focus and thus forces Metro back to the desktop.It switches between the native 800x480 and 1024x600 which is to low to run Metro apps.To fix this I started with a simple script that switches to 1152x864 with a window that displays the resolution without grabbing focus.Later I added some extras: Option to skip the window altogetherSeparate resolution in desktop and MetroA simple installer/uninstaller for the HTC Shift (or other devices that use a synaptics touchpad in the same matter, check the code).Code moved to attachment. See next post for screenshots. ResSwitch source.rar The .au3 itselfModified (removed duplicate const's)Modified (removed duplicate const's and commented WinXP (+ earlier) code to reduce file size)ResSwitch.rar (previous downloads: 51)A compiled .exe (if you don't have AutoIt? lol).bat file calling the installer/uninstaller function (optional).ini file containing the standard settings (optional)