Search found 132 matches
- Fri Oct 30, 2015 3:20 pm
- Forum: Technical / Scripting
- Topic: Issue with running Script from a shortcut
- Replies: 7
- Views: 5293
Re: Issue with running Script from a shortcut
Not sure if it matters or not but my script contains a Dialog Box. Sorry i should have a included the script code to begin with, but reluctant because it' a lot. [code]//Stop Script Alt + Esc OnEvent>KEY_DOWN,VK27,3,Quit SRT>Quit Exit>0 END>Quit Let>IGNORESPACES=1 //Let>WW_TIMEOUT=5 Step_Delay=300 L...
- Fri Oct 30, 2015 12:34 pm
- Forum: Technical / Scripting
- Topic: Issue with running Script from a shortcut
- Replies: 7
- Views: 5293
Re: Issue with running Script from a shortcut
It's the full path to the directory that the script is in.
C:\CP_Macros\Work\John
C:\CP_Macros\Work\John
- Fri Oct 30, 2015 12:08 pm
- Forum: Technical / Scripting
- Topic: Issue with running Script from a shortcut
- Replies: 7
- Views: 5293
Issue with running Script from a shortcut
I guessing that because all of my scripts are run via shortcuts, the default "Stop Running Script" Shift + Esc doesn't work I need a way to breakout/stop my scripts, so i added this code to the beginning ; [code]//Stop Script Alt + Esc OnEvent>KEY_DOWN,VK27,3,Quit SRT>Quit Exit>0 END>Quit[/code] I'm...
- Fri Oct 30, 2015 11:40 am
- Forum: Technical / Scripting
- Topic: How to use a text file to populate a ComboBox
- Replies: 2
- Views: 2443
Re: How to use a text file to populate a ComboBox
Marcus,
I had a few issue of where the code was added, but figured it out.
Thanks for your input
Gil
I had a few issue of where the code was added, but figured it out.
Thanks for your input
Gil
- Wed Oct 21, 2015 6:15 pm
- Forum: Technical / Scripting
- Topic: How to use a text file to populate a ComboBox
- Replies: 2
- Views: 2443
How to use a text file to populate a ComboBox
I have 8 different scripts that use the same large 200+ list of items in a ComboBox, I've been maintaining manually. There must be a way to maintain just a single file and use it in my ComboBoxes. I found the "ListText" properties for the ComboBox and added the full path of the file I want to use. I...
- Tue Mar 12, 2013 11:14 am
- Forum: Technical / Scripting
- Topic: Best way to read file line by line and add to varaible
- Replies: 5
- Views: 6173
Best way to read file line by line and add to varaible
Thanks to all for responding with great suggestions and options.
Jerry's pointing out my varaible porblem and his post using the While is what worked best for me because I using small files.
On to the next piece of the project.
Thanks again for your help!
Gilc
Jerry's pointing out my varaible porblem and his post using the While is what worked best for me because I using small files.
On to the next piece of the project.
Thanks again for your help!
Gilc
- Fri Mar 08, 2013 4:53 pm
- Forum: Technical / Scripting
- Topic: Best way to read file line by line and add to varaible
- Replies: 5
- Views: 6173
Best way to read file line by line and add to varaible
What's the correct way to read a comma delimited .txt file one line at a time assign to a varaible, read the new varaibles, get the next line from the file and assign to the same varaibles names and read them again, repeat until the EOF. here's what I have so far, works only for the first line of th...
- Wed Dec 19, 2012 8:21 pm
- Forum: Technical / Scripting
- Topic: Code in Repeat not executing
- Replies: 29
- Views: 21096
I just had to close this post out with a final question and a little egg on my face. My so called testing did not work once in porduction. Test script : [code] WaitWindowOpen>Export Manager - [E0HSEG: House/Master Common Information] SetFocus>Export Manager - [E0HSEG: House/Master Common Information...
- Wed Dec 19, 2012 5:27 pm
- Forum: Technical / Scripting
- Topic: Code in Repeat not executing
- Replies: 29
- Views: 21096
My bad for not including the complete code, I was little reluctent about posting that large amount of code, not knowing the limit & posting company data. I there another option for send code to the forum. Also It seems that my other questions or (maybe there statments) where missed. The result for D...
- Wed Dec 19, 2012 3:43 pm
- Forum: Technical / Scripting
- Topic: Code in Repeat not executing
- Replies: 29
- Views: 21096
- Wed Dec 19, 2012 3:16 pm
- Forum: Technical / Scripting
- Topic: Code in Repeat not executing
- Replies: 29
- Views: 21096
Here's all the code, The Repeat/Until is part of the "Label>WaitForUpdate" line# 2275 I was wondering about the placement of the WaitRectChanged>428,318,653,331,0 Should it be included in the Repeat/Until or Before it? I can't find a single character variable, maybe I missed it. [code] // ==========...
- Tue Dec 18, 2012 8:02 pm
- Forum: Technical / Scripting
- Topic: Code in Repeat not executing
- Replies: 29
- Views: 21096
- Tue Dec 18, 2012 7:41 pm
- Forum: Technical / Scripting
- Topic: Code in Repeat not executing
- Replies: 29
- Views: 21096
Replaced this [code] Wait>vWait Press Tab * 2 Press Enter Wait>vWait Press Enter Wait>1 Press Alt Send>{"r"} Release Alt Wait>5 Press Enter Wait>5 Press Enter Wait>5 Press Enter Wait>5 Press Enter Wait>2 Press Enter Wait>2 Press Enter Wait>2 GetScreenRes>sX,sY ScreenCapture>0,0,%sX%,%sY%,c:\CP_Macro...
- Tue Dec 18, 2012 5:07 pm
- Forum: Technical / Scripting
- Topic: Code in Repeat not executing
- Replies: 29
- Views: 21096
Good questions, But this script runs about 1500 lines of code without any issues up this point, and completes if I manually hit the refresh or use Alt R And it's run 10 to 15 time a day for the past 3 months So I really don't see the OS being an issue [code] Let>IGNORESPACES=1 STEP_DELAY=200 Let>lw=...
- Tue Dec 18, 2012 4:25 pm
- Forum: Technical / Scripting
- Topic: Code in Repeat not executing
- Replies: 29
- Views: 21096
I tried yet another approach with no sccess Again it all seens to work up to ObjectSendKeys This is from Send Keys to Object Wizard SetFocus>Export Manager - [E0HSEG: House/Master Common Information] GetWindowHandle>Export Manager - [E0HSEG: House/Master Common Information],hWndParent FindObject>hWn...