| Author |
Message |
Forum: Support Topic: Need help non-standard status bar. |
| Techrat |
|
Posted: April 5th, 2011, 3:14 pm
|
|
Replies: 1 Views: 121
|
| I figured it out. I created a subroutine (should be able to be turned into a function) that pulls the Status Bar text from a non-standard status bar on the active window using the COM and ACC functions and puts the text into the variable 'Status'. GetStatus: WinGetPos,WinX,WinY,WinW,WinH,A zPointX :... |
|
 |
Forum: Support Topic: Need help non-standard status bar. |
| Techrat |
|
Posted: March 29th, 2011, 5:18 pm
|
|
Replies: 1 Views: 121
|
| I need help. Im familiar with scripting but I cant get the hang of the COM and ACC functions. Im trying to write a script that will grab the text of the status bar of the current app (not necessarily a web browser) and return it so that I can automate certain tasks. This is what I have so far: winAc... |
|
 |
Forum: Support Topic: Problem w/multiple variable in IF statement. |
| Techrat |
|
Posted: December 7th, 2010, 9:37 pm
|
|
Replies: 2 Views: 84
|
| For some strange reason, I cant seem to get any "IF" statement that contains "AND" or "OR" to work. For example, Im trying to compare a list of names and copy the entire record into a field if either first or last name matches a certain name: If (L1=%B1% or L2=%B2%&... |
|
 |
Forum: Support Topic: Gibberish from a ListBox |
| Techrat |
|
Posted: November 23rd, 2009, 9:38 pm
|
|
Replies: 4 Views: 873
|
| Ok. Thanks. I just think it strange that it comes up on the screen, but I cant capture the information. Theres got to be a way. |
|
 |
Forum: Support Topic: Gibberish from a ListBox |
| Techrat |
|
Posted: November 23rd, 2009, 7:54 pm
|
|
Replies: 4 Views: 873
|
Q1=No Text Appears in WinSpy.
Q2=No Text Appears in WinSpy
And UniCode would at least show up as gibberish. Thanks, but anyone else? |
|
 |
Forum: Support Topic: Gibberish from a ListBox |
| Techrat |
|
Posted: November 23rd, 2009, 6:51 pm
|
|
Replies: 4 Views: 873
|
| Hi... Im using AutoHotKey to parse a list, enter an order number into a program, press the search key and attempt to read from the ListBox. The problem is that the data appears fine on the screen, but I get complete garbage from the variable that attempts to capture the data from the ListBox that th... |
|
 |
Forum: Suggestions Topic: Need a way to remove unneeded variables. |
| Techrat |
|
Posted: November 9th, 2009, 5:59 pm
|
|
Replies: 11 Views: 1395
|
| In AHK you can create variables on the fly, but I see no way to remove them. You can set them to empty or blank but the variable name itself remains. In essence, still taking up memory. I would like to see a 'KillVar' or 'Destroy' or 'Remove' command that could free up that memory on the fly. This w... |
|
 |
Forum: Support Topic: IF...AND... |
| Techrat |
|
Posted: October 26th, 2009, 5:36 pm
|
|
Replies: 6 Views: 332
|
Thanks to HugoV.
Code: If (Initial1 = IniTest1) and (Initial2 = IniTest2)
Oddly enough I tried this before but I guess I had something mis-typed. The rest of the ways either always gave me a TRUE or always gave me FALSE, no matter if the initials matched or not.
[/b] |
|
 |
Forum: Support Topic: IF...AND... |
| Techrat |
|
Posted: October 26th, 2009, 5:12 pm
|
|
Replies: 6 Views: 332
|
| If (Initial1[color=red]:[/color]=IniTest1 and Initial2[color=red]:[/color]=IniTest2) If (Initial1="%IniTest1%") and (Initial2="%IniTest2%") If (Initial1=%IniTest1%) and (Initial2=%IniTest2%) If (Initial1=IniTest1) and (Initial2... |
|
 |
Forum: Support Topic: IF...AND... |
| Techrat |
|
Posted: October 26th, 2009, 4:54 pm
|
|
Replies: 6 Views: 332
|
| Whats wrong with the 'If...and...'??? Loop,Parse,Name1 { IfEqual,A_Index,1 Initial1=%A_LoopField% Var:=ASC(A_LoopField) EnvAdd,Total1,%Var% ;MsgBox,%A_LoopField%`nVar: %Var%`nTotal: %Total1% } Loop,Parse,Name2 { IfEqual,A_Index,1 Initial2=%A_LoopField% Var:=ASC(A_LoopField) EnvAdd,Total2,%Var% ;Msg... |
|
 |
| Sort by: |