Search found 3455 matches
- Sat Aug 27, 2005 6:20 am
- Forum: Technical / Scripting
- Topic: Terminating Macro Scheduler
- Replies: 6
- Views: 7317
Bob, I don't have an issue. Simply trying to press the original poster's question to discover if there is a way to terminate the MS software at the completion of a script. You are correct, if I wanted to schedule such an event I would use Microsoft to schedule a batch file that would run a script in...
- Sat Aug 27, 2005 5:03 am
- Forum: Technical / Scripting
- Topic: Terminating Macro Scheduler
- Replies: 6
- Views: 7317
- Sat Aug 27, 2005 4:56 am
- Forum: Technical / Scripting
- Topic: Deleting Portion of ini file
- Replies: 2
- Views: 6281
You could use the "ReadLn" function to read each individual line of the INI file then use the "WriteLn" function to write each line to a new temporary file. When the line with the section header you're looking for comes up, stop writing until the next section header is read, then write the rest of t...
- Fri Aug 19, 2005 9:51 pm
- Forum: General Discussion
- Topic: sort clipboard
- Replies: 2
- Views: 4770
Try something like this: GCB>tosort WriteLn>%TEMP_DIR%~tempsort~.txt,result,tosort Let>RP_WAIT=1 Let>RP_WINDOWMODE=2 Run>cmd /c sort %TEMP_DIR%~tempsort~.txt /O %TEMP_DIR%~tempsorted~.txt Let>RP_WAIT=0 Let>RP_WINDOWMODE=1 Readfile>%TEMP_DIR%~tempsorted~.txt,sorted Put>sorted DeleteFile>%TEMP_DIR%~te...
- Fri Aug 19, 2005 2:02 am
- Forum: General Discussion
- Topic: Multiple Combo boxes, how ?
- Replies: 21
- Views: 21487
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 ...
- Thu Aug 18, 2005 5:42 pm
- Forum: Technical / Scripting
- Topic: Writing in a non english language
- Replies: 18
- Views: 21724
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...
- Thu Aug 18, 2005 2:47 pm
- Forum: Technical / Scripting
- Topic: wait for a keystroke
- Replies: 2
- Views: 4214
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...
- Thu Aug 18, 2005 2:37 pm
- Forum: General Discussion
- Topic: Multiple Combo boxes, how ?
- Replies: 21
- Views: 21487
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...
- Thu Aug 18, 2005 5:27 am
- Forum: General Discussion
- Topic: Multiple Combo boxes, how ?
- Replies: 21
- Views: 21487
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...
- Wed Aug 17, 2005 8:53 pm
- Forum: General Discussion
- Topic: Multiple Combo boxes, how ?
- Replies: 21
- Views: 21487
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...
- Wed Aug 10, 2005 4:54 pm
- Forum: Technical / Scripting
- Topic: Bug with IF and complex expressions
- Replies: 3
- Views: 4737
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% =...
- Wed Aug 10, 2005 2:57 am
- Forum: General Discussion
- Topic: Multiple Combo boxes, how ?
- Replies: 21
- Views: 21487
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...
- Tue Aug 09, 2005 10:38 pm
- Forum: General Discussion
- Topic: Multiple Combo boxes, how ?
- Replies: 21
- Views: 21487
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...
- Tue Aug 09, 2005 1:44 pm
- Forum: General Discussion
- Topic: Multiple Combo boxes, how ?
- Replies: 21
- Views: 21487
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 ...
- Tue Aug 09, 2005 2:52 am
- Forum: General Discussion
- Topic: Multiple Combo boxes, how ?
- Replies: 21
- Views: 21487
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...