| Author |
Message |
Forum: Support Topic: [COM] Saving hIcon to ICON File ( CPP -> AHK ) |
| drainx1 |
|
Posted: May 29th, 2011, 9:01 pm
|
|
Replies: 12 Views: 662
|
| I don't know if this will help. http://msdn.microsoft.com/en-us/library/ms648051%28v=VS.85%29.aspx I thought that if you "use" SEANs' SaveHBITMAPToFile function, and replace some of the parameters with things from this article or related articles, then you could create the header. |
|
 |
Forum: Support Topic: [COM] Saving hIcon to ICON File ( CPP -> AHK ) |
| drainx1 |
|
Posted: May 29th, 2011, 8:30 pm
|
|
Replies: 12 Views: 662
|
It would be simpler to use this function. looking at the MSDN, it would be a lot harder (for me anyway) to create the whole header and append the hIcon data into it.
Sorry, I can't help. I just started learning C++.  |
|
 |
Forum: Support Topic: [COM] Saving hIcon to ICON File ( CPP -> AHK ) |
| drainx1 |
|
Posted: May 29th, 2011, 7:52 pm
|
|
Replies: 12 Views: 662
|
| If you are trying to save the icon as a file, would it be possible to use the GDIP library? Or are you trying to also access other variables in the function? |
|
 |
Forum: Scripts Topic: Keyboard LED Sound Meter/Visualization |
| drainx1 |
|
Posted: April 13th, 2011, 11:21 pm
|
|
Replies: 6 Views: 2123
|
| Yes I mean the normal one. I like the idea of the Exe, and you could make it configurable by making all of the options in an Ini file. I have scripts that the use legacy Dll calls, and it would be time consuming to add the extra things to keep them compatible. At some point I will go though and chan... |
|
 |
Forum: Scripts Topic: Keyboard LED Sound Meter/Visualization |
| drainx1 |
|
Posted: April 13th, 2011, 1:56 am
|
|
Replies: 6 Views: 2123
|
Is there a way to make this compatible with AHK Basic?
I think that something would have to happen to the DLL calls. |
|
 |
Forum: Support Topic: Running 2 loops simultaneously |
| drainx1 |
|
Posted: April 2nd, 2011, 3:07 am
|
|
Replies: 21 Views: 1611
|
| You could try SetBatchLines. |
|
 |
Forum: Support Topic: PostMessage value - show tray menu? |
| drainx1 |
|
Posted: April 2nd, 2011, 2:26 am
|
|
Replies: 9 Views: 310
|
| If I am understanding your question correctly, try to look at the Quote: Menu, MenuName, Cmd [, P3, P4, P5] command that is in AutoHotkey. |
|
 |
Forum: Support Topic: detect USB |
| drainx1 |
|
Posted: April 2nd, 2011, 2:19 am
|
|
Replies: 2 Views: 292
|
| There are a few different things that you could do. One of which will work when ANY device is added or removed. (this must be taken into consideration!) The other way will also work when ANY removable drive is inserted. These are FAR from what some of real pros would do, but it is something that sho... |
|
 |
Forum: Scripts Topic: HDD Activity Monitoring LED |
| drainx1 |
|
Posted: March 31st, 2011, 3:11 am
|
|
Replies: 49 Views: 24523
|
| I know that this is an old topic, but I would like to post the modified script of Dippy46 on the first page ( http://www.autohotkey.com/forum/viewtopic.php?p=114024&highlight=#114024 ). This will show (In alphabetical order) the fixed drives, removable and then the CD drives. It will also automa... |
|
 |
Forum: Support Topic: List all users [Any other ways] |
| drainx1 |
|
Posted: March 6th, 2011, 1:25 am
|
|
Replies: 2 Views: 337
|
| Thanks! I never would have thought of using CMD to do that. And to improve on it you could do it all in one line (at least the command) RunWait, %comspec% /c "dir c:\users\*.* > c:\users\users.lst" run, notepad c:\users\users.lst ExitApp This is just about the same thing as the file loops,... |
|
 |
Forum: Support Topic: List all users [Any other ways] |
| drainx1 |
|
Posted: March 5th, 2011, 8:08 pm
|
|
Replies: 2 Views: 337
|
Hi. My question is: Is there a better way to list the users of a computer.
I know that you can do a file loop in the users directory to get the names, but is there a better way than that? |
|
 |
Forum: Support Topic: How to scan Registry |
| drainx1 |
|
Posted: February 2nd, 2011, 4:18 pm
|
|
Replies: 2 Views: 164
|
Try this:
Code: RegRead, WarCraftDir, HKEY_CURRENT_USER, Software\Blizzard Entertainment\Warcraft III, Key_For_Installation_Dir
Change the red text to what the key name is, and use WarCraftDir for the variable. |
|
 |
Forum: Support Topic: Messages |
| drainx1 |
|
Posted: February 1st, 2011, 5:02 pm
|
|
Replies: 1 Views: 152
|
|
 |
Forum: Support Topic: problem with controlget |
| drainx1 |
|
Posted: January 31st, 2011, 1:46 am
|
|
Replies: 1 Views: 142
|
Try adding this to your code:
Code: DetectHiddenText, On |
|
 |
Forum: Support Topic: Several Unpauses |
| drainx1 |
|
Posted: January 29th, 2011, 5:15 pm
|
|
Replies: 3 Views: 137
|
| Where are you trying to add the new hotkey? |
|
 |
| Sort by: |