AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Never in focus window (or click throughable)
Goto page Previous  1, 2
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Laszlo



Joined: 14 Feb 2005
Posts: 4016
Location: Pittsburgh

PostPosted: Sun May 04, 2008 11:02 pm    Post subject: Reply with quote

There were a few similar dimmer scripts posted to the Forum, here or there. Search could save you a lot of time…
Back to top
View user's profile Send private message
Oberon



Joined: 18 Feb 2008
Posts: 458

PostPosted: Sun May 04, 2008 11:16 pm    Post subject: Reply with quote

Laszlo wrote:
here or there
Wow do you maintain a personal categorized index of all your posts or do you just have exceptional memory? With phpbb2's poor searching algorithms I can never seem to find my previous scripts.
Back to top
View user's profile Send private message
heresy



Joined: 11 Mar 2008
Posts: 291

PostPosted: Sun May 04, 2008 11:34 pm    Post subject: Reply with quote

Laszlo wrote:
There were a few similar dimmer scripts


how about this
fake brightness control?
i was failing on using API/SetDefaultGammaRamp
and i noticed that no one succeed about this brightness control thing
i really like this way Laughing

Code:
Gui +AlwaysOnTop +ToolWindow +LastFound +E0x20 -Caption
Gui, Color, 0, 0
Gui, Show, x0 y0 w%A_ScreenWidth% h%A_ScreenHeight% na
id:=winexist()
WinSet, Transparent, 0,ahk_id %id% ;set default
c:=0, d:=0
SetFormat,float,0.0

^NumpadAdd::
If c between 0 and 255
{
  If d!=255
  {
    Gui, Color, white, white
    c+=5, d+=5
    WinSet, Transparent, %d%,ahk_id %id%
    traytip,,% d*100/255 "%"
  }
}
Else If c between -255 and 0
{
  If d!=0
  {
    c+=5, d-=5
    WinSet, Transparent, %d%,ahk_id %id%
    traytip,,% "-" d*100/255 "%"
  }
}
Return

^NumpadSub::
If c between 1 and 255
{
  If d!=0
  {
  c-=5, d-=5
  WinSet, Transparent, %d%,ahk_id %id%
  traytip,,% d*100/255 "%"
  }
}
Else If c between -255 and 0
{
  If d!=255
  {
    Gui, Color, 0, 0
    c-=5, d+=5
    WinSet, Transparent, %d%,ahk_id %id%
    traytip,,% "-" d*100/255 "%"
  }
}
Return

_________________
Easy WinAPI - Dive into Windows API World
Benchmark your AutoHotkey skills at PlayAHK.com
Back to top
View user's profile Send private message
Micahs



Joined: 01 Dec 2006
Posts: 338

PostPosted: Mon May 05, 2008 3:03 pm    Post subject: Reply with quote

Ti{BS 2}Oberon wrote:
I can never seem to find my previous scripts
LOL, with only 382 posts it should not be too hard!
_________________
Back to top
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4016
Location: Pittsburgh

PostPosted: Mon May 05, 2008 4:56 pm    Post subject: Reply with quote

He is actually Titan, and who knows how many different nicks he uses. So it is thousands of posts to be found...
Back to top
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4016
Location: Pittsburgh

PostPosted: Mon May 05, 2008 5:03 pm    Post subject: Reply with quote

heresy wrote:
fake brightness control
It is. My laptop does not dim its backlight with it, so it did not save battery time for me. I used the transparent window dimmer in the car at night, when the laptop serves as a GPS navigator, but when the power connector loosens, there is an unpleasant surprise.
Back to top
View user's profile Send private message
Micahs



Joined: 01 Dec 2006
Posts: 338

PostPosted: Mon May 05, 2008 7:05 pm    Post subject: Reply with quote

I know. That was sarcasm and (apparently too) subtle humor.

Micahs wrote:
Ti{BS 2}Oberon wrote:
I can never seem to find my previous scripts

_________________
Back to top
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4016
Location: Pittsburgh

PostPosted: Mon May 05, 2008 7:13 pm    Post subject: Reply with quote

I did not get your meaning of "Ti{BS 2}" Embarassed . Cute!
Back to top
View user's profile Send private message
Micahs



Joined: 01 Dec 2006
Posts: 338

PostPosted: Mon May 05, 2008 7:23 pm    Post subject: Reply with quote

No worries, that was a bit esoteric!
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group