| Author |
Message |
Forum: Utilities Topic: CMDret - return output from console progs [DLL version] |
| tain |
|
Posted: April 13th, 2012, 6:58 pm
|
|
Replies: 163 Views: 55472
|
| I was referring to sample code from the first post. |
|
 |
Forum: Custom Topic: [AHK&AHK_l]Using WSH to interact with command-line progs |
| tain |
|
Posted: April 10th, 2012, 8:49 pm
|
|
Replies: 9 Views: 1833
|
Source of the confusion:
amnesiac wrote: Requirement: AutoHotkey Basic (require COM Stdlib also) or AutoHotkey_L... |
|
 |
Forum: Support Topic: Intercept deletions, send to recycle bin...even from share |
| tain |
|
Posted: April 9th, 2012, 12:27 am
|
|
Replies: 10 Views: 1188
|
| Solution: http://forums.mydigitallife.info/threads/16974-Tip-Network-Recycle-bin You may have noticed that when you delete a file stored on a network location or mapped network drive that the file is permanently deleted. It does not go to the local computer's recycle bin and does not go to the serve... |
|
 |
Forum: Utilities Topic: CMDret - return output from console progs [DLL version] |
| tain |
|
Posted: April 8th, 2012, 8:28 pm
|
|
Replies: 163 Views: 55472
|
| CMD := "ipconfig /all" the msgbox were empty on a non-english OS and StdoutToVar were ok I have this issue as well. Having trouble diagnosing it. On Win7 64bit with latest CMDRet and non-L AHK, the ability to pass output to a var and display in a MsgBox is inconsistent for me. Even the sa... |
|
 |
Forum: Support Topic: How to get current network location information |
| tain |
|
Posted: April 8th, 2012, 8:10 pm
|
|
Replies: 3 Views: 267
|
Code: setGateway(foundIP,foundMAC)
Unable to test and give feedback without that custom function. |
|
 |
Forum: Scripts Topic: [Class] Log - Logging and log file management library |
| tain |
|
Posted: August 18th, 2011, 12:04 pm
|
|
Replies: 17 Views: 9271
|
| So you are thinking of leveraging more external libraries? Or of using more built-in functions and more efficiently using the same or fewer libraries? |
|
 |
Forum: Scripts Topic: Daily Report (E-Mail) generator |
| tain |
|
Posted: August 18th, 2011, 12:03 pm
|
|
Replies: 4 Views: 1225
|
Thanks! I like this script but every time I read the code I keep thinking that we could simplify it and still keep the email functionality. Just haven't had the time to work on it  |
|
 |
Forum: Support Topic: Check against "known good" baseline for security |
| tain |
|
Posted: July 20th, 2011, 11:35 am
|
|
Replies: 7 Views: 423
|
| I'd be interested in a more efficient data trimming method and/or a way to do it via function. I'm having trouble doing it as a function since passing the dirty data to a function is the core problem. |
|
 |
Forum: Support Topic: Check against "known good" baseline for security |
| tain |
|
Posted: July 19th, 2011, 2:32 am
|
|
Replies: 7 Views: 423
|
| Argh, it is a pain cleaning output from CMDRet for input to other functions. My data tends to fail unless I trim it out (sanitize it) in this sort of manner StringReplace, xx, xx, `r, , All StringReplace, xx, xx, `n, , All StringReplace, xx, xx, %A_SPACE%, , All StringReplace, xx, xx, %A_Tab%, , All... |
|
 |
Forum: Scripts Topic: ElapsedTime function/shell |
| tain |
|
Posted: July 17th, 2011, 5:09 pm
|
|
Replies: 1 Views: 3233
|
| Thanks for this. Works quite well for me as a timer inside of functions and labels to debug how long my structures take to process. |
|
 |
Forum: Support Topic: Check against "known good" baseline for security |
| tain |
|
Posted: July 17th, 2011, 4:44 pm
|
|
Replies: 7 Views: 423
|
| sc query type= driver produces output in this format: SERVICE_NAME: WmiAcpi DISPLAY_NAME: Microsoft Windows Management Interface for ACPI TYPE : 1 KERNEL_DRIVER STATE : 4 RUNNING (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN) WIN32_EXIT_CODE : 0 (0x0) SERVICE_EXIT_CODE : 0 (0x0)... |
|
 |
Forum: Support Topic: Check against "known good" baseline for security |
| tain |
|
Posted: July 7th, 2011, 2:45 am
|
|
Replies: 7 Views: 423
|
| After the fileread, how would you isolate the tokens? Some sort of csv/array/list parsing? |
|
 |
Forum: Support Topic: Check against "known good" baseline for security |
| tain |
|
Posted: July 4th, 2011, 4:02 pm
|
|
Replies: 7 Views: 423
|
| Programming logic question: I want a function to maintain a list/array/csv/whatever of "known good" text strings. Then grab a list of "unknowns" and check each item in the unknown list against the knowns to identify rogue entries. As a specific example, I'd maintain a list of kno... |
|
 |
Forum: Scripts Topic: Text Compare v2 |
| tain |
|
Posted: July 4th, 2011, 1:14 pm
|
|
Replies: 8 Views: 6770
|
| Is there a version of this somewhere implemented as a function/class? I like it, especially Tuncay's version, but neither version is easy to invoke in an automated manner. |
|
 |
Forum: Support Topic: Best way to compare large text files? |
| tain |
|
Posted: July 4th, 2011, 1:11 pm
|
|
Replies: 5 Views: 1063
|
| Produced no results on Win7. (Empty files*.txt files) |
|
 |
| Sort by: |