 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
jak
Joined: 28 Feb 2006 Posts: 159
|
Posted: Sun May 10, 2009 2:58 am Post subject: green monochrome screen? |
|
|
Is there any way to have ahk produce/mimic the old green monochrome screens? Like all the time?
Some kind of green "dropcloth" overlay on the windows maybe? Or can ahk maybe directly control the video card's output (the way it can with screen dimming features for instance) and only display shades of green?
For instance, here is a 'dimscreen' done in ahk:
http://www.autohotkey.com/forum/viewtopic.php?t=33626&highlight=dim+screen
I guess i'd like something like that but one that turns the screen into monochrome shades of green, rather than dimming it. (And I suppose one challenge here is that the dropcloth would have to allow clicks and typing to go through... like "ghost-it" can).
For the most part I have not found this feature by poking around in my video card's driver or software. Apparently very few video cards out there support such a feature. Wondering if ahk could do it.
thanks! |
|
| Back to top |
|
 |
SpiderGames
Joined: 09 Jun 2008 Posts: 936 Location: Canada
|
Posted: Sun May 10, 2009 3:25 am Post subject: |
|
|
Look up GDIP Functions, add a green rectangle over existing windows and set the alpha level to... 50%, 30%? _________________
I know i have 6 legs. It's cuz I'm special. |
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 3254 Location: Simi Valley, CA
|
Posted: Sun May 10, 2009 4:12 am Post subject: |
|
|
I know it's not really a solution... but... | Code: | hDC := DllCall("GetDC", uint, 0)
hBrush := DllCall("CreateSolidBrush", uint, 0x00FF00)
DllCall("SelectObject", uint, hDC, uint, hBrush)
DllCall("SetROP2", uint, hDC, int, 9)
DllCall("Rectangle", uint, hDC, uint, 0, uint, 0, uint, A_ScreenWidth, uint, A_ScreenHeight)
DllCall("DeleteObject", uint, hBrush)
DllCall("ReleaseDC", uint, 0, uint, hDC) |
A partly transparent green overlay window would probably be the best way. Search the forums for 'screen darken' to get most of the code you'll need. _________________ Ternary (a ? b : c) guide TSV Table Manipulation Library
Post code inside [code][/code] tags! |
|
| Back to top |
|
 |
jak
Joined: 28 Feb 2006 Posts: 159
|
Posted: Sun May 10, 2009 7:34 am Post subject: |
|
|
thanks guys.
This is prolly out of my league though.
If anyone else has an interest in this I hope someone will put it together. I'll give it a shot myself in a bit, though i'm not hopeful that i'll be able to pull it off. |
|
| Back to top |
|
 |
SpiderGames
Joined: 09 Jun 2008 Posts: 936 Location: Canada
|
Posted: Sun May 10, 2009 1:44 pm Post subject: |
|
|
An easyer method for you may be to make a GUI Window with a green colour and use the WinSet Transparent Function. It wont work completely the same but it will give a similar effect.
Press CTR + X to end it.
| Code: |
Gui, Color, 00FF00
Gui, Show, h2000 w2000, overlay
WinSet, Transparent, 150, overlay
WinSet, AlwaysOnTop, ON, overlay
Return,
^x::ExitApp
|
**Note** you cannot click on anything. You would need to use the GDIP library to draw ontop of screen while keeping clickability. _________________
I know i have 6 legs. It's cuz I'm special. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|