That sounds reasonable
Thanks JRL!
Search found 267 matches
- Wed Apr 29, 2015 2:44 pm
- Forum: Technical / Scripting
- Topic: AddDialogProperty
- Replies: 2
- Views: 2423
- Tue Apr 28, 2015 11:27 pm
- Forum: Technical / Scripting
- Topic: AddDialogProperty
- Replies: 2
- Views: 2423
AddDialogProperty
I need to set AddDialogProperty to blank (turn off the action briefly). I am changing the setting for a checkbox through code. That change triggers the the checkbox OnClick action. I want to do something like this... AddDialogHandler>Dialog1,CheckBox1,OnClick,CheckBoxAction ... <later in script> ......
- Wed Apr 22, 2015 6:19 pm
- Forum: Technical / Scripting
- Topic: Listbox Focus Color
- Replies: 2
- Views: 2342
Re: Listbox Focus Color
This doesn't surprise me.
In Delphi you can draw a new rectangle over the selection so you are kind of masking what Windows has done.
Thanks!
In Delphi you can draw a new rectangle over the selection so you are kind of masking what Windows has done.
Thanks!
- Wed Apr 22, 2015 3:26 pm
- Forum: Technical / Scripting
- Topic: Listbox Focus Color
- Replies: 2
- Views: 2342
Listbox Focus Color
Is it possible to change the color of the ListBox focused item?
By default this is Blue, but if certain conditions... I want it to be Red.
I know we can change the BackGround color of the entire control and we can change the Text color, but I just want to change the 'focus bar'.
Possible?
By default this is Blue, but if certain conditions... I want it to be Red.
I know we can change the BackGround color of the entire control and we can change the Text color, but I just want to change the 'focus bar'.
Possible?
- Thu Mar 05, 2015 11:11 pm
- Forum: Technical / Scripting
- Topic: New To This Macro Need Help
- Replies: 23
- Views: 11163
Re: New To This Macro Need Help
Great!
Just send me a check for....
I have caught myself (a few times) leaving out those blasted ">" symbols.
But I love what this application can do!
Just send me a check for....
I have caught myself (a few times) leaving out those blasted ">" symbols.
But I love what this application can do!
- Thu Mar 05, 2015 11:02 pm
- Forum: Technical / Scripting
- Topic: New To This Macro Need Help
- Replies: 23
- Views: 11163
Re: New To This Macro Need Help
Step through in debug mode and see what the results are for Image_5_Found & Image_8_Found
Do you have GreaterThan symbols after "If"
if>Image_5_Found>0,truce
if>Image_8_Found>0,truce
(Some of my examples were meant as pseudo code and I left those out)
Do you have GreaterThan symbols after "If"
if>Image_5_Found>0,truce
if>Image_8_Found>0,truce
(Some of my examples were meant as pseudo code and I left those out)
- Thu Mar 05, 2015 10:50 pm
- Forum: Technical / Scripting
- Topic: New To This Macro Need Help
- Replies: 23
- Views: 11163
Re: New To This Macro Need Help
FindImagePos>%BMP_DIR%\image_5.bmp,WINDOW:BlueStacks App Player,0.7,1,XArr,YArr,Image_5_Found,CCOEFF
FindImagePos>%BMP_DIR%\image_8.bmp,WINDOW:BlueStacks App Player,0.7,1,XArr,YArr,Image_8_Found,CCOEFF
if Image_5_Found>0,do1
if Image_8_Found>0,do2
Goto>check
FindImagePos>%BMP_DIR%\image_8.bmp,WINDOW:BlueStacks App Player,0.7,1,XArr,YArr,Image_8_Found,CCOEFF
if Image_5_Found>0,do1
if Image_8_Found>0,do2
Goto>check
- Thu Mar 05, 2015 10:36 pm
- Forum: Technical / Scripting
- Topic: New To This Macro Need Help
- Replies: 23
- Views: 11163
Re: New To This Macro Need Help
Yes you can do that
If>NumFound=1,DO1
If>NumFound>1,DO2
...
If>NumFound=1,DO1
If>NumFound>1,DO2
...
- Thu Mar 05, 2015 10:09 pm
- Forum: Technical / Scripting
- Topic: New To This Macro Need Help
- Replies: 23
- Views: 11163
Re: New To This Macro Need Help
Something like this will go through and click as many as copies of this image that it finds. If there is only 1, then it clicks once. But if there are multiple images, then it will click multiple times. If>NumFound>0 Let>LoopCnt=0 Repeat>LoopCnt MouseMove>XArr_%LoopCnt%,YArr_%LoopCnt% LDblClick Let>...
- Thu Mar 05, 2015 9:42 pm
- Forum: Technical / Scripting
- Topic: New To This Macro Need Help
- Replies: 23
- Views: 11163
Re: New To This Macro Need Help
It sounds like a Wait is reasonable but you could adjust the length of the wait so it is a minor factor in the duration of the script.
- Thu Mar 05, 2015 9:21 pm
- Forum: Technical / Scripting
- Topic: New To This Macro Need Help
- Replies: 23
- Views: 11163
Re: New To This Macro Need Help
To clarify the scenario: Is Image2 a result of the mouse click in the Image1 code? Or Are you expecting Image1, or Image 2 or none. (I know you may have more images just reducing the number for clarity) If Image1 code causes Image2, then it is reasonable to wait for Image2 to render. Also, if this i...
- Thu Mar 05, 2015 8:34 pm
- Forum: Technical / Scripting
- Topic: New To This Macro Need Help
- Replies: 23
- Views: 11163
Re: New To This Macro Need Help
This gets back to your original question.
If you are doing an "If" statement in the 1 line format, take out "GoSub>".
Use this:
if image1>0,DO1
if image2>0,DO2
NOT THIS
if image1>0,GoSub>DO1
if image2>0,GoSub>DO2
If you are doing an "If" statement in the 1 line format, take out "GoSub>".
Use this:
if image1>0,DO1
if image2>0,DO2
NOT THIS
if image1>0,GoSub>DO1
if image2>0,GoSub>DO2
- Thu Mar 05, 2015 8:14 pm
- Forum: Technical / Scripting
- Topic: New To This Macro Need Help
- Replies: 23
- Views: 11163
Re: New To This Macro Need Help
Yes it would go to 1 location "What if i need it to look for either one at the same time." You have to look for 1 image at a time but can do the 2nd immediately after the 1st one You don't need to use the multi line style 'If' statement if this is all you want FindImagePos>,,,,,,,,Image1,,, FindImag...
- Thu Mar 05, 2015 7:46 pm
- Forum: Technical / Scripting
- Topic: New To This Macro Need Help
- Replies: 23
- Views: 11163
Re: New To This Macro Need Help
Try something like this...
FindImagePos>%BMP_DIR%\image_1.bmp,WINDOW:BlueStacks App Player,0.7,1,XArr,YArr,Image_1_Found,CCOEFF
FindImagePos>%BMP_DIR%\image_8.bmp,WINDOW:BlueStacks App Player,0.7,1,XArr,YArr,Image_2_Found,CCOEFF
If>I{(%Image_1Found%>0) or (%Image_2_Found%>0)}
GoSub>YourSRT
endif
FindImagePos>%BMP_DIR%\image_1.bmp,WINDOW:BlueStacks App Player,0.7,1,XArr,YArr,Image_1_Found,CCOEFF
FindImagePos>%BMP_DIR%\image_8.bmp,WINDOW:BlueStacks App Player,0.7,1,XArr,YArr,Image_2_Found,CCOEFF
If>I{(%Image_1Found%>0) or (%Image_2_Found%>0)}
GoSub>YourSRT
endif
- Thu Mar 05, 2015 6:23 pm
- Forum: Technical / Scripting
- Topic: New To This Macro Need Help
- Replies: 23
- Views: 11163
Re: New To This Macro Need Help
Take out the GoSub>
If you are doing the IF statement on 1 line, you don't need it.
If>NumFound>0,DO
If you are doing the IF in a multi line format, you do.
If>NumFound>0
GoSub>DO
Endif
If you are doing the IF statement on 1 line, you don't need it.
If>NumFound>0,DO
If you are doing the IF in a multi line format, you do.
If>NumFound>0
GoSub>DO
Endif