avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday April 14, 2024, 9:51 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - mmdoogie [ switch to compact view ]

Pages: [1]
Post New Requests Here / Re: IDEA: Desktop progress meter
« on: April 07, 2009, 11:45 PM »
If you are using Vista, you might try looking for a sidebar gadget that can do what you are looking for.

Another option is a Yahoo Widget Engine widget.
These can be made to hide on a separate overlay pulled up with a hotkey, or can be forced to stay visible on the desktop.
I don't know if there is one that is directly what you want, but these are often fairly customizable with respect to colors and things as you asked.


Post New Requests Here / Re: IDEA: program menu printing
« on: April 07, 2009, 11:20 PM »
You might want to give the EXE a look with one of these first.

One way menus can be stored is as resources in the EXE.
If its done this way, there should be a entries for the menus; however, there are lots of other ways to make menus work too.

Its been a while since I've used either, so I don't remember how easy it is to copy the info out, but I think you can save it as a text file or copy and paste it or something.

From the program side, I have an idea of how to go about it, but don't really have time to mash it out right now.
For the other coders out there: with WINAPI you can use GetCursorPos to get the cursor position, then WindowFromPoint to get the hWnd for the window under that point.  From there, you can do GetMenu to get the hMenu.  Then, just recurse through the menu structures to print out the names.

Hope this helps.


Is there maybe a way to easily change the keys used?

There isn't any way from the interface, but its easy enough to edit the script.
Just open up the .ahk file with notepad.

You will see a few lines that look like this:

Change that to whatever you want the hotkey to be.
# stands for the windows key, ! is alt, ^ is control, + is shift.
If you want a letter on the keyboard, you can use that directly.
The special keys that have the names are listed here


edit: fixed typo as pointed out by tomos

DC Member Programs and Projects / Re: Monitor Dimmer
« on: May 27, 2008, 08:46 AM »
Oh I'm sorry... I didn't mean to suggest that you move your applications from monitor-to-monitor.
If you deactivate then reactivate the monitor dimmer, its the active window and you can use the MoveToMon hotkeys to move the dimmer between monitors.


DC Member Programs and Projects / Re: Monitor Dimmer
« on: May 27, 2008, 02:21 AM »
A different icon would be nice -- I have trouble coming up with that kind of thing  :)

A suggestion on moving between the two monitors, and the one I use (because I already use the program for other things)

I'm glad other people are finding use for this -- I knew I couldn't be the only one that could need it!


DC Member Programs and Projects / Re: Monitor Dimmer
« on: January 23, 2008, 07:11 PM »
Thanks for the API link Ehtyar.

When I started this, a friend suggested I look at the gamma settings of my graphics card.

However, I have my monitors color-managed, and the control panel disabled the gamma setting because of that,
so I have a suspicion that something like this would not work in my case.

Here is a much nicer version of the program.
It works with arbitrary monitor numbers, (instead of being hardcoded for my monitor sizes  8)),
and remembers dimming and show settings between launches.

DC Member Programs and Projects / Monitor Dimmer
« on: January 23, 2008, 01:43 AM »
I guess this program could be a little more flexible, and its not that amazing, but I wanted to share it as it fulfilled a need I had.
Also, I wanted to share the technique I used as it took me a while to get it to work the way I wanted.


I have two monitors.
Often, I'll watch a movie or play a game on the left one, while I will also be browsing web pages and chatting with people on the right one.
If the movie or game is dark, and I'm looking a mostly white webpage, there is too much light.


This program creates a window.  A variable-alpha-transparency, black, always-on-top window, with no titlebar, etc.
It covers my entire right monitor.  BUT, by setting WS_EX_TRANSPARENT, its made transparent to events, and thus mouse clicks, keystrokes, etc. are passed on through to the windows below it.

Win Numpad+ darkens the screen, Win Numpad- lightens the screen, Win Numpad* toggles the overlay on/off.

Getting WS_EX_TRANSPARENT set in an AHK script is as simple as adding +E0x20 to the Gui creation command.

So, without further ado, I present -- MonitorDimmer.
In both AHK and EXE.


Something I wrote for a very similar idea can be found here...

What makes mine different is it only puts one icon into the tray -- click it and select a window to restore.

Post New Requests Here / Re: IDEA : hide window to system tray 1 icon
« on: February 24, 2007, 08:42 PM »
Ah, here we go... this version seems to work well, reshowing all of the windows upon close, and adding a menu option to show them all at any time.

Post New Requests Here / Re: IDEA : hide window to system tray 1 icon
« on: February 24, 2007, 05:38 AM »
Yes I found that afterwards, thanks.
However, I am still having problems getting it to work because I couldn't find a way to ask for all the menu items,
so I am having to store an additional copy of the data, and I still have a few bugs to work out...


Post New Requests Here / Re: IDEA : hide window to system tray 1 icon
« on: February 23, 2007, 09:52 PM »
Hi Candle,

Give this little AHK script I threw together a shot...

Run it, make a window active, then hit Windows-T to throw it to the tray icon.
Right-click the tray icon and click the window name to restore it.

NOTE: do not close the program with any windows hidden as they will still be running, but permanently hidden.


Post New Requests Here / Re: IDEA: MoveAllTo C:\olddata
« on: February 23, 2007, 08:34 PM »
When you physically move a folder from one location to another on the same partition,
there is a very simple operation that can be performed by Windows to effect the move,
and this is what Windows Explorer uses to make the quick change.

Making a copy, or moving to a different drive or partition causes Windows to have to physically access every file,
making it a long process, and giving it many more problems.

So, your problem definitely needs to be attacked in the Move domain to get similar results.
There is an AutoIt3 command for DirMove which moves a directory, similar to how a file is moved,
so I think you will have to get a list of the directories in C:\ and move them one by one.

My guess then would be do do a loop like the one you use to do the verification, but instead get a list of all the items in C:\
Then, run both DirMove and FileMove on each item -- one of them will return failure, but that should be ok, as the other will succeed.


jgpaiva, I keep finding your scripts to be ones I can't live without.
artis, your work on this was nice as well.

I took the scripts you two wrote and rewrote them, with some new ideas in mind.
My version purely uses monitor numbers, so those with unique setups will appreciate it,
and it also works with more than 2 monitors.

Ctrl-Alt-Keypad+ moves the window to the next highest number
Ctrl-Alt-Keypad- moves the window to the next lowest number

This is actually the first thing I have written using AHK, its flexibility is pretty amazing.


I have noticed a tiny bug in this absolutely awesome utility...
I don't know if anyone else has seen this or if its just something odd about how my system is.

If I go to the top left corner of my desktop, with no window there,
then drag on the desktop, the grids will appear like I am dragging a window.
This only happens in about the top 100x25 pixels, just like there is a title bar there.

If I then drop into one of the grids, a titlebar will flash up for a very short time, like a program is being sized to fit the grid, then go away.
The title bar is for the Program Manager.

I believe this has something to do with the way AHK treats Program Manager as a window
for some functions to get the size of the desktop and a few other things.

I modified the GridMoveP1.ahk script, in the MousePosition sub, on the line beginning AND WinTitle != "",
to also include AND WinTitle != "Program Manager" which cures this little problem.

I've had this mod in place for a bit now and it doesn't seem to hurt anything.

Thanks for the awesome util,

Pages: [1]