Search found 12 matches

by dglancy
Thu Jul 03, 2008 5:17 pm
Forum: Technical / Scripting
Topic: FindImagePos problem
Replies: 3
Views: 4535

I am capturing just part of the title icon and part of the title letters. In fact, I have also taken a subset of the images to be found using Paint at 800% zoom. I get the same result with these bitmaps. correction !! By continuing to edit/reduce the bitmaps from the upper right and lower left, I ha...
by dglancy
Thu Jul 03, 2008 3:40 pm
Forum: Technical / Scripting
Topic: FindImagePos problem
Replies: 3
Views: 4535

FindImagePos problem

I am using MS ver 9.2.01 Starting MS Access in Citrix. My goal is to use FindImagePos to locate upper left hand corner of MS Access title to then maximize the window. With the MS Access window at max, I select a needle of the upper left hand corner and save the bitmap. FindImagePos will find this bi...
by dglancy
Mon Jun 30, 2008 5:44 pm
Forum: Technical / Scripting
Topic: Citrix Fonts and Icons
Replies: 1
Views: 3064

Citrix Fonts and Icons

I log into Citix from various locations ie, home, office, etc... I start an application such as MS Access. I have noticed that the MS Access window title bar icon and font is not consistent. I have seen three different ones, hence, I cannot find a needle in a changing haystack (except one) using Wai...
by dglancy
Wed Mar 28, 2007 9:59 pm
Forum: Technical / Scripting
Topic: GetActiveWindow in Citrix problem
Replies: 8
Views: 9410

this modification to the subroutine seems to work. I just test for a null value.

srt>test_for_new_screen
label>look_again
GetActiveWindow>active_1,x1,y1,,
if>%active%=%active_1%
wait>2
goto>look_again
endif
if>%active_1%=
wait>2
goto>look_again
endif
setfocus>%active_1%
end>test_for_new_screen
by dglancy
Wed Mar 28, 2007 9:36 pm
Forum: Technical / Scripting
Topic: GetActiveWindow in Citrix problem
Replies: 8
Views: 9410

Another issue. I just noticed that the editor is not updating the script file on the server when I make changes, exit and do a file save. Although when I did a file >saveas with a new file name, the new file did have the edited changes.

Dennis
by dglancy
Wed Mar 28, 2007 9:03 pm
Forum: Technical / Scripting
Topic: GetActiveWindow in Citrix problem
Replies: 8
Views: 9410

Added in WF_TYPE=2 same problem. Here is the log file and script. Basically, just going through a list of records on screen, opening each record which can have different titles and looking to see if there is a new window open. Notice that the last setfocus> command below appears to have a null value...
by dglancy
Wed Mar 28, 2007 5:21 pm
Forum: Technical / Scripting
Topic: GetActiveWindow in Citrix problem
Replies: 8
Views: 9410

that is what I thought also, but it doesn't always. I do have a jpeg of the screen when the setfocus command failed. Not sure where to store it for your access, if that would be of help.
by dglancy
Wed Mar 28, 2007 5:03 pm
Forum: Technical / Scripting
Topic: GetActiveWindow in Citrix problem
Replies: 8
Views: 9410

Sorry, I did not explain this very well. I am using the GAW command to account for different windows that may open, excel, word, etc...

Setfocus>active_1 is the command line that at times has the full window title and at other times has a partial window title.
by dglancy
Wed Mar 28, 2007 4:37 pm
Forum: Technical / Scripting
Topic: GetActiveWindow in Citrix problem
Replies: 8
Views: 9410

GetActiveWindow in Citrix problem

I am running MS ver. 9.0.053 in citrix. GetActiveWindow seems to be inconsistent in returning the full window title. I am running the GAW command in a loop looking for a new window to appear. here is the end of the log file: 3/27/2007 14:54:24:338 - mousemove>144,562 3/27/2007 14:54:24:369 - lclick ...
by dglancy
Tue Mar 20, 2007 8:13 pm
Forum: Technical / Scripting
Topic: Increment arrays in findimagepos
Replies: 3
Views: 7132

Works like a charm.

thank you both.
by dglancy
Tue Mar 20, 2007 5:38 pm
Forum: Technical / Scripting
Topic: Increment arrays in findimagepos
Replies: 3
Views: 7132

Increment arrays in findimagepos

how do I properly increment the X & Y arrays in the script below?


FindImagePos>Check_button.bmp,mypic.bmp,20,1,X_array,Y_array,imgs
If>imgs>0
let>j=0
repeat>j
Let>xx=%X_array_j%+x
Let>yy=%Y_array_j%+y
MouseMove>xx,yy
LClick
add>j,1
Until>j>imgs
Endif
by dglancy
Mon Aug 09, 2004 4:44 pm
Forum: Beginners
Topic: Stalled MS script
Replies: 1
Views: 5861

Stalled MS script

I have a script that runs continuously. after several days it stalls with the following error message dialog box:

'2150826724' is not a valid integer value.

I am running ver. 6.2.0.3

any help would be appreciated.
Sign up to our newsletter for free automation tips, tricks & discounts