| Author |
Message |
Forum: Support Topic: RegWrite - when does it happen? |
| ebpdoug |
|
Posted: October 22nd, 2011, 5:30 pm
|
|
Replies: 0 Views: 97
|
| For security reasons, I over-write then immediately delete registry keys using RegWrite and RegDelete. After writing the script to do this, it occured to me that it will not accomplish the goal unless the the key is written to the registry on disk before the key is deleted. From what I have been abl... |
|
 |
Forum: Support Topic: Putting shortcut in Start - Documents in XP |
| ebpdoug |
|
Posted: October 22nd, 2011, 5:17 pm
|
|
Replies: 1 Views: 99
|
| I would like to be able to put a shortcut to a file I have created with AHK in the Documents section of the Start menu in XP Pro. I can easily put the shortcut in C:\Documents and Settings\(me)\Recent however that does not make it appear in the documents menu. I haven't been able to find any useful ... |
|
 |
Forum: Support Topic: Reference to GUI edit control for ControlSend |
| ebpdoug |
|
Posted: October 10th, 2010, 7:20 pm
|
|
Replies: 2 Views: 268
|
Thanks, yume.
That is exactly the sort of thing I was looking for!
Doug |
|
 |
Forum: Support Topic: Reference to GUI edit control for ControlSend |
| ebpdoug |
|
Posted: October 10th, 2010, 5:49 pm
|
|
Replies: 2 Views: 268
|
| When using ControlSend to send something to an edit box in my own AHK GUI, is there a way to refer to the edit box by something I can control, rather than by its ClassNN? Example (edit box in question has vMessageBoxContents in its definition; the intent of the ControlSend is to be sure the box scro... |
|
 |
Forum: Support Topic: RegWrite not "immediately" effective |
| ebpdoug |
|
Posted: September 21st, 2010, 12:49 am
|
|
Replies: 3 Views: 550
|
| What I want to do is set whether or not pagefile.sys is wiped by the OS at shutdown. I require the use of pagefile.sys, but it is a potential security risk, so most of the time I want it erased (overwritten with pseudorandom data) when I shut down or reboot. In fact, I sometimes reboot JUST to accom... |
|
 |
Forum: Support Topic: RegWrite not "immediately" effective |
| ebpdoug |
|
Posted: September 20th, 2010, 5:05 pm
|
|
Replies: 3 Views: 550
|
| I have tried a couple of 2-liner scripts to set whether or not pagefile.sys is cleared at shutdown on Windows XP Pro SP3. To prevent the pagefile from being cleared, I set the value of appropriate registry key to zero using, then use Shutdown with reboot RegWrite, REG_DWORD, HKEY_LOCAL_MACHINE, Syst... |
|
 |
Forum: Scripts Topic: Interprocess communication using Mailslots |
| ebpdoug |
|
Posted: August 4th, 2010, 5:34 pm
|
|
Replies: 12 Views: 3458
|
| I finally got around to doing some timing tests. Configuration: 2 computers running XP Pro SP3, connected to unmanaged switch on gigabit Ethernet. One computer running an "echo" script - receiving mailslot messages in one slot ("tight" polling of receive) and sending them back ou... |
|
 |
Forum: Scripts Topic: Interprocess communication using Mailslots |
| ebpdoug |
|
Posted: July 15th, 2010, 4:20 pm
|
|
Replies: 12 Views: 3458
|
| Thanks, all, for the comments. In no particular order, in reply (words in bold to help people find responses): 1. Scripts have been moved to this thread 2010-07-19 2. I fully agree that TCP with sockets is much better suited for some applications. TCP is more reliable than the UDP used for mailslots... |
|
 |
Forum: Support Topic: Communication across a network? |
| ebpdoug |
|
Posted: July 15th, 2010, 2:35 am
|
|
Replies: 6 Views: 639
|
| For simple things, a couple of alternatives to the more elaborate TCP socket methods include "named pipes" and "mailslots". Either of these can be used to communicate between processes on the same computer or on different computers on a network (for use on same computer, part of ... |
|
 |
Forum: Support Topic: Deallocation of space reserved by VarSetCapacity |
| ebpdoug |
|
Posted: July 9th, 2010, 4:30 pm
|
|
Replies: 6 Views: 264
|
| In Help for VarSetCapacity, it is quite clear that space allocated for a variable can be deallocated using var := "" Does var = do the same thing? I realize that in the general case as far as what is apparently done, they are functionally the same, but are they in reality with regard to sp... |
|
 |
Forum: Scripts Topic: Interprocess communication using Mailslots |
| ebpdoug |
|
Posted: July 5th, 2010, 12:20 am
|
|
Replies: 12 Views: 3458
|
| The following moved here from original thread 2010-07-19. A little cleanup of the scripts has been done. It is quite easy to use mailslots by means of calls to functions in kernel32.dll. For interprocess com's they have the avantage over ad-hoc methods, like using a conventional file, that messages ... |
|
 |
Forum: Support Topic: MailSlot - Interprocess communication ... |
| ebpdoug |
|
Posted: July 4th, 2010, 8:09 pm
|
|
Replies: 4 Views: 433
|
|
 |
Forum: Support Topic: What to do with var pointed to by LPDWORD IN for DLLcall |
| ebpdoug |
|
Posted: July 3rd, 2010, 1:02 am
|
|
Replies: 2 Views: 296
|
| Thanks HotKeyIt. I ran across the windows data types page before I posted the question. Very useful! The issue was not that I didn't know what a DWORD was, but that I wasn't clear on how to make sure that AHK would "make one", given that it uses variants for "everything". The DLL... |
|
 |
Forum: Support Topic: What to do with var pointed to by LPDWORD IN for DLLcall |
| ebpdoug |
|
Posted: July 1st, 2010, 6:44 pm
|
|
Replies: 2 Views: 296
|
| I'm unclear on exactly what to do with a variable for which a pointer is passed IN to a DLL. The pointer type required is LPDWORD. Do I need to do anything special for the variable itself to assure that it IS treated as a DWORD (e.g. VarSetCapacity, handleMode, 4)? If anything like that is necessary... |
|
 |
Forum: Support Topic: Process ID (PID) for my script |
| ebpdoug |
|
Posted: June 7th, 2010, 10:06 pm
|
|
Replies: 3 Views: 447
|
Yup, that was where I saw it.
Thanks! |
|
 |
| Sort by: |