Search found 3451 matches

by JRL
Fri Aug 19, 2005 2:02 am
Forum: General Discussion
Topic: Multiple Combo boxes, how ?
Replies: 21
Views: 21327

mydave, Just a note to let you know I've read your post. I'll see if after a compile I can replicate the problem. I won't be able to do that until tomorrow. I only have the non pro version at home. Have you tried more than three boxes yet? Wondering how badly that will mess things up, especially if ...
by JRL
Thu Aug 18, 2005 5:42 pm
Forum: Technical / Scripting
Topic: Writing in a non english language
Replies: 18
Views: 21557

I am also confused as to what is happening. From your original message, it sounds like you may be switching your keyboard back and forth from English to Hebrew. I've never changed my keyboard to any other language so I'm not sure what goes on when you do that. But I'm wondering if the problem is tha...
by JRL
Thu Aug 18, 2005 2:47 pm
Forum: Technical / Scripting
Topic: wait for a keystroke
Replies: 2
Views: 4181

CatBreath, I think you can accomplish this by running multiple scripts. I know you can do it by running multiple compiled scripts (exe). For example I have a user who has four exes running. All started by one exe. Each of the four "pastes" a different column from a csv file line when he presses eith...
by JRL
Thu Aug 18, 2005 2:37 pm
Forum: General Discussion
Topic: Multiple Combo boxes, how ?
Replies: 21
Views: 21327

mydave and Bob, Thanks for the praise. It's unneeded but I appreciate it. mydave, There is a problem with the results you posted. Your C:\temp\test.txt file results are showing the variable "selvar_x" rather than the results of the variable "selvar_x". When I run this script my test.txt file looks l...
by JRL
Thu Aug 18, 2005 5:27 am
Forum: General Discussion
Topic: Multiple Combo boxes, how ?
Replies: 21
Views: 21327

mydave, Not well tested but I think this revised script will simplify your task. The logic is close to the same as before, it just uses arrayed variables to make it flexible. Define your Combo Boxes making sure you follow the naming convention, and set the "BoxQty" variable to the total number of Co...
by JRL
Wed Aug 17, 2005 8:53 pm
Forum: General Discussion
Topic: Multiple Combo boxes, how ?
Replies: 21
Views: 21327

mydave, If support has a better way to accomplish this that would be great. In case they do not, here is the same thing with a third box. I added some notes to hopefully make it easier for you to understand how to add capability for more combo boxes. Sorry if the logic is hard to follow, I don't kno...
by JRL
Wed Aug 10, 2005 4:54 pm
Forum: Technical / Scripting
Topic: Bug with IF and complex expressions
Replies: 3
Views: 4706

Sorry to interrupt. MS doesn't need the quotes around the strings More specifically MS doesn't need quotes around numbers. It does need quotes around text strings used in complex expressions. Here is the sample from the help files as an illustration. //complex expression: IF>{(%a% = 5) AND (%VarA% =...
by JRL
Wed Aug 10, 2005 2:57 am
Forum: General Discussion
Topic: Multiple Combo boxes, how ?
Replies: 21
Views: 21327

mydave, I edited the posting above rather than post the whole thing again. It didn't work correctly anyway because the line "Let>LastChoice=" came after the Start label. This caused a problem on the repeat of the dialog. Also added a Close dialog line trying to make the selection of the "Write Resul...
by JRL
Tue Aug 09, 2005 10:38 pm
Forum: General Discussion
Topic: Multiple Combo boxes, how ?
Replies: 21
Views: 21327

Try this, Let me know.... Dialog>MyDialog Caption=This is My NON MODAL Dialog Top=100 Width=305 Left=100 Height=150 Label=Test Multiple ComboBoxes:,5,5 ComboBox=FirstBox,50,30,200,NONE%CRLF%Line One%CRLF%Line Two%CRLF%Line Three ComboBox=SecondBox,50,50,200,NONE%CRLF%Line First%CRLF%Line Second%CRLF...
by JRL
Tue Aug 09, 2005 1:44 pm
Forum: General Discussion
Topic: Multiple Combo boxes, how ?
Replies: 21
Views: 21327

mydave, You must have been right on the spot when I posted this. Initially there was a mistake in one of the "if" statements. I caught it and edited the posting within a couple of minutes. I think if you recopy the code posted by me at 8:52 on Aug 08, 2005, it will work as advertised. Hopefully I'm ...
by JRL
Tue Aug 09, 2005 2:52 am
Forum: General Discussion
Topic: Multiple Combo boxes, how ?
Replies: 21
Views: 21327

How about something like this: Note there is nothing following the equal signs in the lines Let>%MyDialog.FirstBox%= and Let>%MyDialog.SecondBox%= Dialog>MyDialog Caption=This is My Dialog Left=300 Top=300 Width=305 Height=150 Label=Test multiple ComboBoxes:,5,5 ComboBox=FirstBox,50,30,200,(NONE)%CR...
by JRL
Fri Aug 05, 2005 4:52 pm
Forum: Technical / Scripting
Topic: xing out but script still running
Replies: 2
Views: 4540

Picking the "X" sets the dialog result to 2. Therefore, add a line:

If>result=2,exit

Where "exit" is a label at the end of the script.

Hope this makes sense and is helpful,'
Dick
by JRL
Sat Jul 30, 2005 2:07 pm
Forum: Technical / Scripting
Topic: simple dialog problem
Replies: 2
Views: 4655

Catbreath, The proper name of the variable is "Dialog1.Name" . Your script should work if you change the message line. Dialog>Dialog1 Caption=Dialog2 Top=192 Width=170 Left=16 Height=109 Edit=Name,24,16,121,Something I wrote. Button=In a Message,40,40,75,25,1 EndDialog>Dialog1 Show>Dialog1,result If...
by JRL
Sat Jul 30, 2005 5:54 am
Forum: Technical / Scripting
Topic: More dialog help.....
Replies: 7
Views: 8493

OK Daniel, here's another shot at the task.... This sample will give you four rows of three fields with the first column accepting four characters then auto tabbing to the second column which will accept 5 characters then auto tabbing to the third column which will accept 6 characters then auto tabb...
by JRL
Thu Jul 28, 2005 3:00 am
Forum: Technical / Scripting
Topic: More dialog help.....
Replies: 7
Views: 8493

daniel, This was taken straight from the help files and modified. Not well thought out, I'm sure this could be made more efficient but the basic concept is here. Try this: Dialog>Dialog1 Caption=Non-Modal Dialog Top=113 Width=264 Left=16 Height=113 Button=Update,16,8,75,25,5 Button=Exit,16,48,75,25,...
Sign up to our newsletter for free automation tips, tricks & discounts