danishmo Posted August 23, 2006 Share Posted August 23, 2006 (edited) Ok, this script is usefull for programmers. Feel free to edit/use the script as long as credit is given to me in some way. This script is nice for people who program (like html) where you usually have the tags in caps, "<HTML>". You have to hold down the shift key while typing the entire thing. Sometimes it gets annoying. Well with this, you can have it do it for you! #NoTrayIcon #include <GUIConstants.au3> HotKeySet("^!z", "shiftdown") HotKeySet("^!a", "shiftup") HotKeySet("^q", "show") HotKeySet("^!q", "hide") Func shiftdown() Send("{SHIFTDOWN}") EndFunc Func shiftup() Send("{SHIFTUP}") EndFunc Func show() WinMove("Version 1.0", "", 1, 1) EndFunc Func hide() WinMove("Version 1.0", "", -500, -500) EndFunc $GUI = GUICreate("Version 1.0", 225, 100, 1, 1, $WS_POPUP, BitOR($WS_EX_DLGMODALFRAME, $WS_EX_TOPMOST, $WS_EX_TOOLWINDOW));Thanks SmOke_N for this ;http://www.autoitscript.com/forum/index.php?showtopic=30630&hl=hide+window <<link to the script GUISetState (@SW_SHOW) GUICtrlCreateLabel("Made by Alex Williams. danishmo@gmail.com", -1, -1); Please keep this intact $button1 = GUICtrlCreateButton("This does nothing", 3, 13, 220, 85) While 1 $msg = GUIGetMsg() Select Case $msg = $button1 MsgBox(0, "This really does nothing", "I added this so that I could have a loop. Enjoy my program!") EndSelect If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd I had the button that does nothing in there because I was going to let people change the hotkey. Then I realized everyone, or most people, can change the hotkey themselves. So I left it there the loop Edited August 23, 2006 by danishmo Link to comment Share on other sites More sharing options...
rambo3889 Posted August 23, 2006 Share Posted August 23, 2006 (edited) Just a question Instead of pressing Shift 1 time to make < and then a second time for > and write html inside it. I think i would use the shift instied pressing 3 keys just for taking Shift up and down Edit when hiding why not use? Winsetstate("Title","Text",@SW_HIDE) and when showing Winsetstate("Title","Text",@SW_SHOW) Edited August 23, 2006 by rambo3889 My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
danishmo Posted August 23, 2006 Author Share Posted August 23, 2006 (edited) But what if you had to type a really long tag? <IMG HEIGHT="##" WIDTH="##" SRC="image.gif"> I wouldnt want to hold shift through all of that. Maybe I'm just lazy, but I figured someone out there could get use out of it. EDIT: I didn't know how to hide it. Thats why I posted it so people can work on it/learn from it. Edited August 23, 2006 by danishmo Link to comment Share on other sites More sharing options...
rambo3889 Posted August 23, 2006 Share Posted August 23, 2006 Ever heard of Caps lock and second the IMG HEIGHT doesnt need to be uppercase My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
danishmo Posted August 23, 2006 Author Share Posted August 23, 2006 Ever heard of Caps lock and second the IMG HEIGHT doesnt need to be uppercaseLol turn on caps lock and press the numbers. It still has numbers. This makes the signs, !(&@^$!&#, come up. Like I said, I made this because I thought someone could use it. If you cant find a use for it please stop arguing and basically saying its useless. Link to comment Share on other sites More sharing options...
rambo3889 Posted August 23, 2006 Share Posted August 23, 2006 (edited) Nope it doesnt try it self Well it doesnt on my pc what about use Num Lock Sorry I DIDnt say it was useless just pointed out that it was easier to press 1 key. Ill stop argumentien now Edited August 23, 2006 by rambo3889 My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
danishmo Posted August 23, 2006 Author Share Posted August 23, 2006 Nope it doesnt try it self Well it doesnt on my pc what about use Num LockSorry I DIDnt say it was useless just pointed out that it was easier to press 1 key.Ill stop argumentien nowThats ok. It works fine on my computer. Link to comment Share on other sites More sharing options...
imbatmo Posted August 23, 2006 Share Posted August 23, 2006 actually using uppercase in html-tags is NOT standard anymore as u can read here:http://www.w3.org/TR/xhtml1/#h-4.2 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