AutoHotkey Community

It is currently May 24th, 2012, 7:26 am

All times are UTC [ DST ]


Search found 14 matches
Search these results:

Author Message

 Forum: Scripts   Topic: pixelget2 - mouse follow version

Posted: February 23rd, 2005, 10:02 pm 

Replies: 20
Views: 10142


Code:
Gui, Show, NoActivate w70 h25 x%textx% y%texty%, pixelget2

needs screen coordinates :!:
Whenever a non maximized window is active, tooltip will jump to wrong coordinates with current code
Add:
Code:
CoordMode, Mouse, Screen
CoordMode, Pixel, Screen

 Forum: Support   Topic: HDD volume serial number .!

Posted: February 23rd, 2005, 8:39 am 

Replies: 6
Views: 1159


I personally think that there are several better ways to determine, if software was moved to another system. vol_id will change also when using disk clones to restore a backed up copy of system after viruses etc. So locking user out because of changed vol_id is a really bad idea imho. Also this prot...

 Forum: Support   Topic: HDD volume serial number .!

Posted: February 22nd, 2005, 11:34 pm 

Replies: 6
Views: 1159


Dippy46 wrote:
Under certain secure environments it would be interesting to know how come the vol_id changed.....


What do you mean by that?
vol_id is calculated on every format, so the reason why vol_id changed would be .... format

 Forum: Support   Topic: HDD volume serial number .!

Posted: February 22nd, 2005, 10:39 pm 

Replies: 6
Views: 1159


Volume serial number is calculated based on the time of formatting, so unless you know it with the precision of 1/100 of a second there is no way of restoring it to old value

Edit: btw. this is certainly not the forum where to ask it. No relevance to AHK whatsoever.

 Forum: Support   Topic: Minimum Resize Width (Gui)

Posted: February 21st, 2005, 2:26 pm 

Replies: 16
Views: 2422


In C or C++ the solution would be to make the size correction in response to WM_SIZING message instead of WM_SIZE, but a quick search in the AHK source revealed that AHK doesn't use WM_SIZING at all.
So prolly a new feature is needed for blink-free size constrains.

 Forum: Support   Topic: GetFileSize

Posted: February 21st, 2005, 2:06 pm 

Replies: 3
Views: 648


Why do you use dots in the number?
Code:
if SizeVar = 1234567

would work just fine.

 Forum: Support   Topic: Changing default audio device

Posted: February 21st, 2005, 10:36 am 

Replies: 84
Views: 72212


SoundSet -------------------------------------------------------------------------------- Changes various settings of a sound device (master mute, master volume, etc.) SoundSet, NewSetting [, ComponentType, ControlType, DeviceNumber] If this parameter is omitted, it defaults to 1 (the first sound d...

 Forum: Support   Topic: Changing default audio device

Posted: February 21st, 2005, 8:36 am 

Replies: 84
Views: 72212


I actually use AHK for switching between my two soundcards. My script is for WinXP, so if you have another OS, you may need to change window titles etc. Run, mmsys.cpl Sleep, 100 WinWait, Sounds and Audio Devices Properties IfWinNotActive, Sounds and Audio Devices Properties WinActivate, Sounds and ...

 Forum: Support   Topic: Help me test please

Posted: February 20th, 2005, 9:25 am 

Replies: 14
Views: 1092


1024 x 768 resolution, and it covered all of the screen.
Of course if I really wanted to move the window, then there are two approaches:
1) I pressed the windows key, and selected move from the taskbar icon right-click menu
2) Alt+Space menu, and same move command

 Forum: Support   Topic: One after the other

Posted: February 14th, 2005, 12:41 pm 

Replies: 7
Views: 917


I'm not sure if this is what you want, but you can load .reg files into registry without the confirmation dialog, by using the /s parameter: regedit /s somefile.reg Example: RunWait, regedit /s "%A_WorkingDir%\ODBC Registry\ODBC.reg", MsgBox,0,Portable Showroom Installation,Please boot the...

 Forum: Suggestions   Topic: OutputDebugString implementation

Posted: February 12th, 2005, 5:40 pm 

Replies: 51
Views: 6798


I spent some time with AHK source, and compiled my version with OutputDebugString support I added: 1) to script.h enum ACT_ODS 2) to globaldata.cpp {"OutputDebugString", 1, 1, NULL} 3) to script.cpp in Line::Perform case ACT_ODS: OutputDebugString(ARG1); return OK; Compiled result with test script i...

 Forum: Suggestions   Topic: OutputDebugString implementation

Posted: February 11th, 2005, 9:39 pm 

Replies: 51
Views: 6798


This is how OutputDebugString API call works: when a program calls it with some string as a parameter: OutputDebugString("some text to output"); the windows kernel determines if there is a debugger attached to the process, if so the debugger gets the pointer to the string to do whatever it feels app...

 Forum: Suggestions   Topic: OutputDebugString implementation

Posted: February 11th, 2005, 1:31 pm 

Replies: 51
Views: 6798


I use a program called DebugView from Sysinternals - http://www.sysinternals.com/ntw2k/freeware/debugview.shtml that enables me to view debug output from my programs. By inserting OutputDebugString("some_explaining_text_and_values_of_variables") to key locations I can easily find out the cause of pr...

 Forum: Suggestions   Topic: OutputDebugString implementation

Posted: February 10th, 2005, 7:54 pm 

Replies: 51
Views: 6798


I use OutputDebugString for most of my programming tasks, and I'm sure AutoHotkey would also benefit from this easy and convenient debugging feature.
Sort by:  
Page 1 of 1 [ Search found 14 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group