Welcome Guest.   Make a donation to an author on the site August 27, 2014, 05:58:24 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
View the new Member Awards and Badges page.
   
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: [1]
1  DonationCoder.com Software / Post New Requests Here / Re: IDEA: Desktop progress meter on: April 07, 2009, 11:45:47 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. http://widgets.yahoo.com/
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.

--matt
2  DonationCoder.com Software / Post New Requests Here / Re: IDEA: program menu printing on: April 07, 2009, 11:20:34 PM
You might want to give the EXE a look with one of these first.
http://angusj.com/resourcehacker/
http://www.wilsonc.demon.....uk/d10resourceeditor.htm

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.

--matt
3  DonationCoder.com Software / Post New Requests Here / Re: IDEA: Send a window to the Next or Previous Monitor in the same position. on: April 07, 2009, 09:00:30 PM
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:
^!NumpadAdd::

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 http://www.autohotkey.com/docs/KeyList.htm

--matt

edit: fixed typo as pointed out by tomos
4  DonationCoder.com Software / DC Member Programs and Projects / Re: Monitor Dimmer on: May 27, 2008, 08:46:40 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.

--matthew
5  DonationCoder.com Software / DC Member Programs and Projects / Re: Monitor Dimmer on: May 27, 2008, 02:21:46 AM
A different icon would be nice -- I have trouble coming up with that kind of thing  smiley

A suggestion on moving between the two monitors, and the one I use (because I already use the program for other things)
http://www.donationcoder....ic=7482.msg53390#msg53390

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

--matthew
6  DonationCoder.com Software / DC Member Programs and Projects / Re: Monitor Dimmer on: January 23, 2008, 07:11:28 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  Cool),
and remembers dimming and show settings between launches.
7  DonationCoder.com Software / DC Member Programs and Projects / Monitor Dimmer on: January 23, 2008, 01:43:57 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.

Background:

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.

Solution:

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.

Enjoy!
--matt

8  DonationCoder.com Software / Post New Requests Here / Re: IDEA: Make any app into tray icon only on: March 10, 2007, 11:31:58 AM
Something I wrote for a very similar idea can be found here...
http://www.donationcoder....um/index.php?topic=7449.0

What makes mine different is it only puts one icon into the tray -- click it and select a window to restore.
9  DonationCoder.com Software / Post New Requests Here / Re: IDEA : hide window to system tray 1 icon on: February 24, 2007, 08:42:49 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.
10  DonationCoder.com Software / Post New Requests Here / Re: IDEA : hide window to system tray 1 icon on: February 24, 2007, 05:38:09 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...

--matthew
11  DonationCoder.com Software / Post New Requests Here / Re: IDEA : hide window to system tray 1 icon on: February 23, 2007, 09:52:41 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.

--matthew
12  DonationCoder.com Software / Post New Requests Here / Re: IDEA: MoveAllTo C:\olddata on: February 23, 2007, 08:34:47 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.

--matthew
13  DonationCoder.com Software / Post New Requests Here / Re: IDEA: Send a window to the Next or Previous Monitor in the same position. on: February 23, 2007, 08:06:57 PM
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.

Enjoy,
--matthew
14  DonationCoder.com Software / Post New Requests Here / Re: IDEA: drag window to edge automatically resizes it on: September 14, 2006, 03:39:36 AM
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,
--mrm
Pages: [1]
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.028s | Server load: 0.08 ]