| Author |
Message |
Forum: Support Topic: StdoutToVar.ahk |
| neodrac23 |
|
Posted: January 23rd, 2012, 7:01 pm
|
|
Replies: 4 Views: 116
|
opps i did get it to work!!!!
making it 1 variable then using string to pass whole thing.
Thanks!!!!
 |
|
 |
Forum: Support Topic: StdoutToVar.ahk |
| neodrac23 |
|
Posted: January 23rd, 2012, 6:33 pm
|
|
Replies: 4 Views: 116
|
Thank you for your reply. However, it did not work.
The snmpwalk is a exe that i am running from StdoutToVar. I get the error msg that it did not get IP address. rtr is a variable that has this address.
 |
|
 |
Forum: Support Topic: StdoutToVar.ahk |
| neodrac23 |
|
Posted: January 23rd, 2012, 5:43 am
|
|
Replies: 4 Views: 116
|
| I maybe missing something... rtrsysname := StdoutToVar_CreateProcess("snmpwalk -q -v:2 -c:something -r:%rtr% -os:1.3.6.1.2.1.1.5 -op:1.3.6.1.2.1.1.6") It seams that %rtr% does not get to string... if i change it to an IP, it works. However i need this be dynamic. Any ideas? Thanks ... |
|
 |
Forum: Support Topic: newline missing in variable when sending email via cmdline |
| neodrac23 |
|
Posted: December 2nd, 2011, 8:49 pm
|
|
Replies: 2 Views: 109
|
| i had to add `%0D for newline in the variable and it worked!! |
|
 |
Forum: Support Topic: newline missing in variable when sending email via cmdline |
| neodrac23 |
|
Posted: December 1st, 2011, 4:39 am
|
|
Replies: 2 Views: 109
|
| Trying to format the body of email that i am sending via cmdline. I can get it to populate the body with all info, however it's on just one line. I have tried to use various variable declarations without luck. I am open for suggestions. bodymsg1 = ( PO %MTT% %USER% %prii%`n%ncsclass%`nPlease dis... |
|
 |
Forum: Support Topic: foreach basics... |
| neodrac23 |
|
Posted: November 20th, 2011, 1:19 am
|
|
Replies: 7 Views: 281
|
| nope... that gives no match just every line without first column. Thanks for the reply though! |
|
 |
Forum: Support Topic: foreach basics... |
| neodrac23 |
|
Posted: November 20th, 2011, 12:11 am
|
|
Replies: 7 Views: 281
|
| this is almost working the way i need, 1 caveat. It is listing all lines with the first "00000" removed. On the ones it matches it show exactly the way i need. ,10.10.255.0,NU <- Don't need 08279,10.11.22.0,IJ <-match 08609,10.11.29.0,FL <-match ,10.11.20.0,MR <- Don't need ,10.11.21.0,NR ... |
|
 |
Forum: Support Topic: foreach basics... |
| neodrac23 |
|
Posted: November 19th, 2011, 7:10 pm
|
|
Replies: 7 Views: 281
|
| Both are dynamic and will change, the reason for the search code. Mainly the first file is a bulk list to lookup... i need to be able to lookup for every line in list of file 1, in file2, and create file3. File1 00896 00527 00890 File2 .csv 00896,10.255.255.0,ST 01403,10.254.255.0,RT 03629,10.259.55... |
|
 |
Forum: Support Topic: foreach basics... |
| neodrac23 |
|
Posted: November 19th, 2011, 6:18 pm
|
|
Replies: 7 Views: 281
|
| I'm trying to take a list from txt, foreach element in the txt delimited by , search other csv and create new list containing all found in csv. I used to do this with ease in perl with foreach... i am somehow getting lost in ahk... anyone? NOT real code... just showing what i am trying to do.... :oo... |
|
 |
Forum: Support Topic: moving and re size multiple cmd windows... |
| neodrac23 |
|
Posted: November 13th, 2011, 3:57 pm
|
|
Replies: 6 Views: 192
|
Thanks very much for your help!!  |
|
 |
Forum: Support Topic: moving and re size multiple cmd windows... |
| neodrac23 |
|
Posted: November 12th, 2011, 8:13 pm
|
|
Replies: 6 Views: 192
|
| Is there an easy way to remane cmd's in same loop? such as %rtr%, etc |
|
 |
Forum: Support Topic: moving and re size multiple cmd windows... |
| neodrac23 |
|
Posted: November 12th, 2011, 7:33 pm
|
|
Replies: 6 Views: 192
|
| AWESOME!!! PERFECT! makes alot more sense now. |
|
 |
Forum: Support Topic: moving and re size multiple cmd windows... |
| neodrac23 |
|
Posted: November 12th, 2011, 3:42 am
|
|
Replies: 6 Views: 192
|
| simply put i have a script that has feature that opens several cmd windows that ping several host. i want to resize and move windows across the screen to be able to view all of them. I have been unsuccessful in moving even one! Not much out there in searches on this. Help anyone... ALL: run, %comspe... |
|
 |
Forum: Support Topic: HTML GET> getting info from webpage |
| neodrac23 |
|
Posted: October 31st, 2011, 4:45 am
|
|
Replies: 2 Views: 116
|
|
 |
Forum: Support Topic: RegExReplace help |
| neodrac23 |
|
Posted: October 31st, 2011, 12:23 am
|
|
Replies: 8 Views: 185
|
| I am attempting to format user input. I have variable stored as store. if they enter "68", i need all output to be in a 5 digit format. : "00068" or even if they enter "7787" output is "07787" not sure how the best way to start this. RegExReplace counts? Thank... |
|
 |
| Sort by: |