AutoHotkey Community

It is currently May 23rd, 2012, 4:35 pm

All times are UTC [ DST ]


Search found 22 matches
Search these results:

Author Message

 Forum: Support   Topic: Mouse Position Alternative?

Posted: December 28th, 2007, 10:51 pm 

Replies: 13
Views: 631


Ya if I click on Request Information window spy shows ClassNN as Button10 but if I click on Requestor Information then it shows up as Button 14. If I click on response information and hover over the button it shows up as button 26. So I have no clue what to do.

 Forum: Support   Topic: Mouse Position Alternative?

Posted: December 28th, 2007, 10:34 pm 

Replies: 13
Views: 631


sorry about that heres the screenshot:
Image

 Forum: Support   Topic: Mouse Position Alternative?

Posted: December 28th, 2007, 10:20 pm 

Replies: 13
Views: 631


Alright heres a screenshot. As you can see there is actually 5 windows, and there are multiple Edit1 labels and then I thought I could get around it by telling it to first click the Request Information button and then the Edit1 label which is the Request # field. Now that you can see the program all...

 Forum: Support   Topic: Mouse Position Alternative?

Posted: December 28th, 2007, 10:10 pm 

Replies: 13
Views: 631


alright well I was able to find out pretty quickly it did not work. heres the code ^1:: WinActivate, CMRS - All Service Requests IfWinActive, CMRS - All Service Requests ControlClick, Button10, CMRS - All Service Requests, Sleep, 100 ControlClick, Edit1, CMRS - All Service Requests, Return Button10 ...

 Forum: Support   Topic: Mouse Position Alternative?

Posted: December 28th, 2007, 10:08 pm 

Replies: 13
Views: 631


well the problem is that the program has 4 windows on the main page. In each window are multiple fields of data and window spy is showing the same "Edit1" Label in each window. But I was thinking maybe i could tell the script to click in the correct window and then click in the Edit1 field...

 Forum: Support   Topic: Mouse Position Alternative?

Posted: December 28th, 2007, 9:55 pm 

Replies: 13
Views: 631


alright it works but there are multiple fields with that label.

I found out I could also have it search for text and if I click on the "Request #" Text it will go to the field that I want.

Therefore I need to find out how to click where the text Request # is.

Is this possible?

 Forum: Support   Topic: Mouse Position Alternative?

Posted: December 28th, 2007, 9:28 pm 

Replies: 13
Views: 631


Thanks for the help. I found out the ClassNN field is Edit1.

How do i tell the script to go to that location?

This would help me out sooo much, thanks for any help

 Forum: Support   Topic: Mouse Position Alternative?

 Post subject: Mouse Position Alternative?
Posted: December 28th, 2007, 8:45 pm 

Replies: 13
Views: 631


Right now I have a script which will copy numbers and then paste them into the correct field in another window and does a few other things. Largely the script is dependent on different mouse click positions. My question: Is there an alternative way of finding fields without using a mouse position? I...

 Forum: Scripts   Topic: Screen title+subtitle splashtext

Posted: December 19th, 2007, 9:18 pm 

Replies: 2
Views: 1204


hmm this script was working for me and now every time it starts fading my computer and script will run extremely slow until the script is closed.

 Forum: Support   Topic: Toggle On/Off for part of script

Posted: December 19th, 2007, 8:54 pm 

Replies: 12
Views: 791


I think I found out what the problem is. I have the copy script set up to start working: OnClipboardChange: I think this is why the label is being ran even though I have it set to only go while switch is on. How do i program it to only read OnClipboardChange: according to what switch is on? Any help...

 Forum: Support   Topic: Toggle On/Off for part of script

Posted: December 19th, 2007, 7:20 pm 

Replies: 12
Views: 791


Alright I wrote the script like that and it is changing from 1 to 0 when i press F1 but the copy script works regardless of if the switch is at 1 or 0. I need it to only work if the switch is at 1. heres the code F1:: ; Your switcher, obviously if (switch = 1) ; This checks to see if the var...

 Forum: Support   Topic: Toggle On/Off for part of script

Posted: December 19th, 2007, 12:08 am 

Replies: 12
Views: 791


I'm sorry but I don't understand what you want me to do with that. Heres the entire code switch = 0 F8:: MsgBox, Switch = %Switch% F7:: switch=1 if (switch = 1) { OnClipboardChange: TempVar = %Clipboard% If (StrLen(TempVar) = 9) { ; 9 Digits ;Script Begin WinActivat...

 Forum: Support   Topic: Toggle On/Off for part of script

Posted: December 18th, 2007, 11:40 pm 

Replies: 12
Views: 791


I tried something like that but I'm coding something wrong. F1:: switch=1 return F2:: switch=2 return if switch=1 code goes here else return I'm a big n00b at programming in AHK and this is all I could come up with and it does not work. I understand what you said but I do not know what that looks li...

 Forum: Support   Topic: Toggle On/Off for part of script

Posted: December 18th, 2007, 10:59 pm 

Replies: 12
Views: 791


yeah i figured you would use an if expression but i can not figure it out. I just want it say If F1 is pressed than the below code is active If F1 is pressed again than the below code is inactive. Thanks for the help, heres the code i want it to affect: OnClipboardChange: TempVar = %Clipboard% If &#...

 Forum: Support   Topic: Toggle On/Off for part of script

Posted: December 18th, 2007, 10:26 pm 

Replies: 12
Views: 791


I have a part in my script where anytime a certain number is copied it will automatically paste to the correct spot. The problem is that I only want it to do this feature sometimes. How can i make it so that only the portion of the script will be suspended when i press a hotkey. I do not want to sus...
Sort by:  
Page 1 of 2 [ Search found 22 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group