Search found 29 matches

by jbas
Fri Dec 31, 2010 1:07 am
Forum: Technical / Scripting
Topic: Custom Dialog / Setfocus issue
Replies: 7
Views: 8351

I love the solution - very clever! I set up MvAsk.scp as a 'permanent' rather than 'temporary' script and then ran the following code: ExecuteFile>C:\Users\[usernm]\Documents\Macro Scheduler 12\MvAsk.scp Ask>Msg_Out,AskResponse If>%AskResponse%=NO SkipLabel>Main_Exit Goto>CFO_Exit Endif SetFocus>Win...
by jbas
Thu Dec 30, 2010 6:21 pm
Forum: Technical / Scripting
Topic: Custom Dialog / Setfocus issue
Replies: 7
Views: 8351

I also do not have the problem if I use the 'ask' function. As a workaround, is there any way to specify the screen location of the 'Ask' function? Doesn't this indicate that the problem might be with the Dialog? The dialog is as follows: Dialog>CER_FindOrd_Dialog1 object CER_FindOrd_Dialog1: TForm ...
by jbas
Thu Dec 30, 2010 5:31 pm
Forum: Technical / Scripting
Topic: Custom Dialog / Setfocus issue
Replies: 7
Views: 8351

Custom Dialog / Setfocus issue

My script opens an application window and then displays a custom dialog box with information about the changes that need to be made in that window. The changes needed in the application window are too complex to automate at this time. The custom dialog window has 'proceed' and 'cancel' buttons for t...
by jbas
Mon Dec 27, 2010 8:35 pm
Forum: Technical / Scripting
Topic: Cancel within a DoBrowse dialog operation
Replies: 1
Views: 2885

Cancel

I found the answer - DoBrowse returns 'null' if the operation is canceled.
by jbas
Mon Dec 27, 2010 8:14 pm
Forum: Technical / Scripting
Topic: Cancel within a DoBrowse dialog operation
Replies: 1
Views: 2885

Cancel within a DoBrowse dialog operation

I used the 'File Browse Example' sample script as a starting point for a 'File Browse' function. I modified the sample dialog to allow a 'Cancel' because I need that functionality. But now I'm trying to figure out how I can determine if they 'Canceled' from within the 'File Browse' operation so I ca...
by jbas
Tue Oct 12, 2010 8:10 pm
Forum: Technical / Scripting
Topic: ArrayCount_ Unexpected values
Replies: 6
Views: 7527

Thank-you for the responses! Setting LOCALVARS worked well for me in this instance.
by jbas
Tue Oct 12, 2010 3:02 am
Forum: Technical / Scripting
Topic: ArrayCount_ Unexpected values
Replies: 6
Views: 7527

ArrayCount_ Unexpected values

SRT>SUpdt1 Let>SUpdt_VCnt=0 ArrayCount>SUpdt1_Var,SUpdt_VCnt MessageModal>SUpdt_VCnt END>SUpdt1 GoSub>SUpdt1,3057,8003057,TestStr1,TestStr2 GoSub>SUpdt1,1117,5001117,TestStr GoSub>SUpdt1,3136,5003136,TestStr1,TestStr2,TestStr3 GoSub>SUpdt1,3097,5003097,TestStr1,TestStr2 GoSub>SUpdt1,1117,5001117,Tes...
by jbas
Tue Jun 22, 2010 5:33 pm
Forum: Technical / Scripting
Topic: XLSetCell not working for me
Replies: 8
Views: 8044

That works.
Thanks!
by jbas
Tue Jun 22, 2010 12:48 pm
Forum: Technical / Scripting
Topic: XLSetCell not working for me
Replies: 8
Views: 8044

That did not work either.
Does that work for you?
by jbas
Tue Jun 22, 2010 1:13 am
Forum: Technical / Scripting
Topic: XLSetCell not working for me
Replies: 8
Views: 8044

P.S. The macro is updating the cell with a 'null' value - I can't seem to get it to insert text using either a variable or a constant
by jbas
Tue Jun 22, 2010 12:54 am
Forum: Technical / Scripting
Topic: XLSetCell not working for me
Replies: 8
Views: 8044

XLSetCell not working for me

The 'XLSetCell' statement in the following code is not working for me. I want to insert a 'C' in the 4th column but the column remains blank. I am using Excel 2007. XLOpen>MyFil,1,XLBook Let>XL_Loop=1 Let>XL_Row=2 Repeat>XL_Loop XLGetCell>XLBook,Sheet1,XL_Row,1,XL_C1 XLGetCell>XLBook,Sheet1,XL_Row,2...
by jbas
Fri Dec 25, 2009 5:39 pm
Forum: Enhancement Suggestions
Topic: WaitWindowImage
Replies: 0
Views: 4272

WaitWindowImage

A command similar to WaitScreenImage that searchs only a particular window.

I would also like it to have a parameter for specifiying how frequently it should check for the image
by jbas
Tue Dec 15, 2009 5:39 pm
Forum: Technical / Scripting
Topic: problem with ctrl+shift+home
Replies: 14
Views: 13706

- From what I see it appears that the problem is with the 'shift' key not being recognized.
- With 'sk-legacy=1' Home, End, Ctrl+Right, Ctrl+Left all work as expected.

Any ideas of alternative ways to get info to the clipboard? Ctrl+A isn't recognized by the application.

Thanks!
by jbas
Tue Dec 15, 2009 5:12 pm
Forum: Technical / Scripting
Topic: problem with ctrl+shift+home
Replies: 14
Views: 13706

Updates

Any updates on this issue? I have the same problem - the curosr moves as expected but the text does not remain highlighted so it cannot be deleted or copied / cut to the clipboard.
cron
Sign up to our newsletter for free automation tips, tricks & discounts