Pakku Posted October 16, 2006 Posted October 16, 2006 (edited) Hi all, I was a bit bored so i made this, it is an app which allows you to make a window (the one who is activated) transparent on a level of you choice. just run this script, activate a window an hit ctrl + shift + (one of the number 1,2,3,4,5,6,7,8,9,0 (1 = almost invisible and 0 = solid)) For $i = 0 To 9 HotKeySet("+^" & $i,"_trans") Next While 1 Sleep(10) WEnd Func _trans() If StringTrimLeft(@HotKeyPressed, 2) = "0" Then $x = 9 Else $x = StringTrimLeft(@HotKeyPressed, 2) - 1 EndIf WinSetTrans("", "", 255 / 9 * $x) EndFunc EDIT updated the code, way shorter thanks to Helge Edited November 16, 2010 by Pakku How can someone use Windows without using AutoIt?That one would properly don't know how to handle a computer!My scripts:Send files over internetKind of RSS reader3Draw ProUDF: convert a character string to a binary one and backCalculate PiCommand line downloader (Youtube/Google video)Set the transparency of a window just by hitting a key!Secure your pcOther things:My filemanMy profilePM me
Helge Posted October 16, 2006 Posted October 16, 2006 Slightly shortened For $i = 0 To 9 HotKeySet("+^" & $i,"_trans") Next While 1 Sleep(10) WEnd Func _trans() WinSetTrans("", "", 255 / 10 * StringTrimLeft(@HotKeyPressed, 2)) EndFunc
GaryFrost Posted October 16, 2006 Posted October 16, 2006 slightly different from a while back http://www.autoitscript.com/forum/index.ph...ost&p=74823 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Pakku Posted October 16, 2006 Author Posted October 16, 2006 (edited) @Helge i didn't know that that would work in hotkeys, thanks Quote For $i = 0 To 9 HotKeySet("+^" & $i,"_trans") Next @gafrost i havn't seen that one, but mine is (also thanks to Helge) a bit shorter EDIT @Helge if ctrl + shift + 0 is pressed than the window is invisible so i edited yours, see 1st post Edited November 16, 2010 by Pakku How can someone use Windows without using AutoIt?That one would properly don't know how to handle a computer!My scripts:Send files over internetKind of RSS reader3Draw ProUDF: convert a character string to a binary one and backCalculate PiCommand line downloader (Youtube/Google video)Set the transparency of a window just by hitting a key!Secure your pcOther things:My filemanMy profilePM me
Psychokinesis Posted October 16, 2006 Posted October 16, 2006 Nice. I wonder if its gonna be really useful. Makes the comp a bit slower though.
Pakku Posted October 17, 2006 Author Posted October 17, 2006 Psychokinesis said: Nice. I wonder if its gonna be really useful. Makes the comp a bit slower though.Well it is just for fun and for some people useful How can someone use Windows without using AutoIt?That one would properly don't know how to handle a computer!My scripts:Send files over internetKind of RSS reader3Draw ProUDF: convert a character string to a binary one and backCalculate PiCommand line downloader (Youtube/Google video)Set the transparency of a window just by hitting a key!Secure your pcOther things:My filemanMy profilePM me
jvanegmond Posted October 17, 2006 Posted October 17, 2006 You must be really bored.. How about creating a winhider like that? Allows you to hide up to 9 windows.. any ideas? github.com/jvanegmond
Pakku Posted October 17, 2006 Author Posted October 17, 2006 (edited) I can have a look at that... Edited November 16, 2010 by Pakku How can someone use Windows without using AutoIt?That one would properly don't know how to handle a computer!My scripts:Send files over internetKind of RSS reader3Draw ProUDF: convert a character string to a binary one and backCalculate PiCommand line downloader (Youtube/Google video)Set the transparency of a window just by hitting a key!Secure your pcOther things:My filemanMy profilePM me
BasicOs Posted October 17, 2006 Posted October 17, 2006 (edited) That is not a Script it is a noobie script only 4 liner, One Forum Script better more than 10 lines I supousse or make something, different that in the Help Samples. As you mean bored, another script in the same direction: when the mouse is: -over one window: -and almost over you get a less transparent window as TransparencyOnOver($howmuch transparent, $howmuchsolid,$Whatwindow,$seconsIntoSolid,$secondsintoTrans) you coud do even that when it stays some seconds it slowly make the wanted transparency/solid state. I do not know if somebody already made it. Edited October 17, 2006 by BasicOs Autoit.es - Foro Autoit en Español Word visitors Image Clustrmap image: - Football Spanish team - Spanish team: Casillas, Iniesta, Villa, Xavi, Puyol, Campdevilla, etc..Programando en Autoit+Html - Coding Autoit-Html - Arranca programas desde Internet - Preprocesador de Autoit a http
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