AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 75 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Extreme automation/AI(almost)
samhnky

Replies: 72
Views: 1620

PostForum: Ask for Help   Posted: Sun Oct 17, 2010 1:42 am   Subject: Extreme automation/AI(almost)
That's why I asked earlier if you got 15 of them every time...

Send, !ea^c
ClipWait, 2
text := Clipboard
regex:="s).*-{15,}(.*?)Thanks$" ;Adding the " ...
  Topic: Extreme automation/AI(almost)
samhnky

Replies: 72
Views: 1620

PostForum: Ask for Help   Posted: Sat Oct 16, 2010 9:00 pm   Subject: Extreme automation/AI(almost)
I think it is because you have 15 "-" try...

Send, !ea^c ;Sending "Alt+E"(opens the edit window)"A"(Select All)"Control+C"(Copy, this is ...
  Topic: Extreme automation/AI(almost)
samhnky

Replies: 72
Views: 1620

PostForum: Ask for Help   Posted: Sat Oct 16, 2010 7:57 pm   Subject: Extreme automation/AI(almost)
As previously explained, 'select all' selects the ENTIRE contents. Not just what is inside the window, but the 5 miles of text above it. I would use it if I could.

As I have previously tried to ...
  Topic: Extreme automation/AI(almost)
samhnky

Replies: 72
Views: 1620

PostForum: Ask for Help   Posted: Sat Oct 16, 2010 7:47 pm   Subject: Extreme automation/AI(almost)
Try:
Send, !ea^c ;Sending "Alt+E"(opens the edit window)"A"(Select All)"Control+C"(Copy, this is needed since the auto copy on select is based off of ...
  Topic: Extreme automation/AI(almost)
samhnky

Replies: 72
Views: 1620

PostForum: Ask for Help   Posted: Sat Oct 16, 2010 5:36 pm   Subject: Extreme automation/AI(almost)
I really wish you would say why its not working, or how its not working, instead of "its not working"
Try:
Send, ^a
ClipWait, 2
text := Clipboard
regex:="s).*-{14& ...
  Topic: Extreme automation/AI(almost)
samhnky

Replies: 72
Views: 1620

PostForum: Ask for Help   Posted: Sat Oct 16, 2010 4:56 pm   Subject: Extreme automation/AI(almost)
I *think* I've got it. The RegEx stuff is not working for me. Sounds like user error. Crying or Very sad


I tell you it really urks people trying to help you when you state something is not working for yo ...
  Topic: Extreme automation/AI(almost)
samhnky

Replies: 72
Views: 1620

PostForum: Ask for Help   Posted: Sat Oct 16, 2010 3:56 pm   Subject: Extreme automation/AI(almost)

regex:="s).*-{14}(.*?)Thanks$"
RegExMatch(text,regex,match)
MsgBox %match1%


I'm no expert on AutoHotkey by any means, and While I have tested your ...
  Topic: Extreme automation/AI(almost)
samhnky

Replies: 72
Views: 1620

PostForum: Ask for Help   Posted: Sat Oct 16, 2010 3:42 pm   Subject: Extreme automation/AI(almost)
Based on our understanding what you are doing:

You login to SecureCRT
You receive a Home screen
You enter a command
You are presented with a result in the format 15"-"<decission inf ...
  Topic: Extreme automation/AI(almost)
samhnky

Replies: 72
Views: 1620

PostForum: Ask for Help   Posted: Sat Oct 16, 2010 3:14 pm   Subject: Extreme automation/AI(almost)
Then I would use Rapt_Of_Suzaku suggestion above, I modified his code below to simulate having run through the multiple shell screens multiple times and his RegEx is doing a great job of selecting onl ...
  Topic: Extreme automation/AI(almost)
samhnky

Replies: 72
Views: 1620

PostForum: Ask for Help   Posted: Sat Oct 16, 2010 2:19 pm   Subject: Extreme automation/AI(almost)

---------------

(Text in the middle)

Thanks


Does your view always contain 15 "-" at the beginning, and "Thanks" (case sensitive) at the end of the Text that you are us ...
  Topic: Extreme automation/AI(almost)
samhnky

Replies: 72
Views: 1620

PostForum: Ask for Help   Posted: Sat Oct 16, 2010 1:11 pm   Subject: Extreme automation/AI(almost)
Then until you can post an example of the actual screen you are looking at, I'm done. (example = layout needs to match, data does not.)
  Topic: Extreme automation/AI(almost)
samhnky

Replies: 72
Views: 1620

PostForum: Ask for Help   Posted: Sat Oct 16, 2010 2:26 am   Subject: Extreme automation/AI(almost)
You have to hold the Alt key down, while holding down the mouse button and dragging the mouse across the contents of the column.
  Topic: Extreme automation/AI(almost)
samhnky

Replies: 72
Views: 1620

PostForum: Ask for Help   Posted: Sat Oct 16, 2010 1:14 am   Subject: Extreme automation/AI(almost)
I was wondering how all that time on the CRT scripting boards ended up being 'refusal' to learn anything.

Because I'm not asking you to learn another Scripting language... You do not have to learn ...
  Topic: Extreme automation/AI(almost)
samhnky

Replies: 72
Views: 1620

PostForum: Ask for Help   Posted: Fri Oct 15, 2010 8:14 pm   Subject: Extreme automation/AI(almost)
That makes sense. Learning the scripting language over selecting some type sounds like I don't have that much free time!

I have to say this statement makes no sense to me at all, I have never once ...
  Topic: Extreme automation/AI(almost)
samhnky

Replies: 72
Views: 1620

PostForum: Ask for Help   Posted: Fri Oct 15, 2010 1:25 pm   Subject: Here is the difference
Lets say you have a screen with the following.

| Column1 | Column2 | Column3
Row 1 | r1c1 | r1c2 | r1c3
Row 2 | r2c1 | r2c2 | r2c3
Row 3 | r3c1 | r3c2 ...
 
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group