Search found 15 matches
- Thu Aug 13, 2009 11:19 am
- Forum: Beginners
- Topic: OnEvent>DIALOG_CHANGE
- Replies: 6
- Views: 7178
Yeah, I think I can see that now. My big concern was trying to reuse the OnEvent since its functionality is exactly what I'm looking for in the script. I'll rewrite the script to move the OnEvevnts out of the loop and institute an idler loop that I can bang in and out of to keep the script running. ...
- Wed Aug 12, 2009 10:11 pm
- Forum: Beginners
- Topic: OnEvent>DIALOG_CHANGE
- Replies: 6
- Views: 7178
I appreciate all the help you've given. I think I can begin to see what I've done wrong and, perhaps, effect a workaround that still gets me to where I need to be. I have to admit, though, that I was a bit horrified to hear that the OnEvents could not exist in a loop. Especially with how well the bu...
- Wed Aug 12, 2009 8:07 pm
- Forum: Beginners
- Topic: OnEvent>DIALOG_CHANGE
- Replies: 6
- Views: 7178
First any Onevent> only needs to be called once. Once it has been called it is active and cannot be made inactive except by closing your script. But that's a subject that has already been covered in the forum. Really? I thought it could reside in a loop. At least, I've put it there with several oth...
- Wed Aug 12, 2009 5:08 pm
- Forum: Beginners
- Topic: OnEvent>DIALOG_CHANGE
- Replies: 6
- Views: 7178
OnEvent>DIALOG_CHANGE
I'm struggling a little with OnEvent...again...this time trying to understand how a dialog change is recognized. I have two edit windows defined in a dialog as: Edit=Site,x,y,z,0 Edit=Measurement,x,y,z,0 The idea is that when the user changes the value of 'Site', I will call a subroutine to rezero t...
- Sat Aug 08, 2009 3:17 pm
- Forum: Beginners
- Topic: Dialog Designer Fonts
- Replies: 5
- Views: 6199
- Sat Aug 08, 2009 12:40 pm
- Forum: Beginners
- Topic: Dialog Designer Fonts
- Replies: 5
- Views: 6199
Trial and error, eh? Hmmm..., I was afraid of that. Well, everything you've said makes sense, so I guess it's just sit down with a cup of coffee and bounce back and forth between the dialog and the designer until I get it right. The SetDialogObjectFont> will probably help, since I don't need the sam...
- Fri Aug 07, 2009 9:43 pm
- Forum: Beginners
- Topic: Dialog Designer Fonts
- Replies: 5
- Views: 6199
Dialog Designer Fonts
Hopefully, this is a simple question. How does one modify the fonts within the Dialog Designer? And, if I have already created a dialog and modified the fonts by assigning Fonts=Face,Size in the description, how does one 'scale' to the new font if you try to reopen the dialog in the Designer? OK, tw...
- Wed Aug 05, 2009 11:19 pm
- Forum: Beginners
- Topic: Blowing past key 'events'
- Replies: 6
- Views: 6697
Yep, that was it! Reconfigured my measurement loop into a subroutine and OnEvent falls into it on the SPACEBAR press. The idle loop works perfectly with the dummy dialog off screen. Now, it's just down to debugging the control of the measurement apps! Thanks for all the help! It's all working like a...
- Wed Aug 05, 2009 9:34 pm
- Forum: Beginners
- Topic: Blowing past key 'events'
- Replies: 6
- Views: 6697
I may be misunderstanding you but... OnEvent sets a condition that will interrupt script processing when the condition defined in the OnEvent> is met. for example when a specified key is pressed. The script processing should "blow past" the OnEvent line. It does not pause the script like WaitKeyDow...
- Wed Aug 05, 2009 9:14 pm
- Forum: Beginners
- Topic: Blowing past key 'events'
- Replies: 6
- Views: 6697
JRL, I'll give the BREAKPOINT a try, but it's already running past the OnEvent when using RUN in the editor. I know this because it gets to the first part of my loop that changes focus to one of the programs I want to run and starts (i.e., SetFocus>ThisApp, Start). As I said, it was working like a c...
- Wed Aug 05, 2009 7:00 pm
- Forum: Beginners
- Topic: Blowing past key 'events'
- Replies: 6
- Views: 6697
Blowing past key 'events'
Originally I was building a script using Pro v7.4 using the WaitKeyDown>VK32 to hold off going into a loop until the user presses the SPACE bar. Very simply, its: Label>MeasureLoop WaitKeyDown>VK 32 do the measurement stuff here Goto>MeasureLoop I was building the whole thing in the script editor an...
- Wed Aug 05, 2009 6:38 pm
- Forum: Beginners
- Topic: Ghosting input
- Replies: 9
- Views: 9187
Yes, I am going through the process to upgrade, but I was actually making great progress using the dummy dialog approach where I've now seemed to have crept into another issue. I will post those issues in another thread, so that I can attract broader views. However, whether I continue with WaitForKe...
- Tue Aug 04, 2009 1:39 pm
- Forum: Beginners
- Topic: Ghosting input
- Replies: 9
- Views: 9187
JRL, thanks for the quick reply. That gives me a couple of more things to try and see which would work better for my application. I actually found the opacity tip late last night, after my original post. I had tried a quick implementation, but the script kept hanging up at WaitWindowOpen>notepad*. N...
- Tue Aug 04, 2009 11:21 am
- Forum: Beginners
- Topic: Ghosting input
- Replies: 9
- Views: 9187
Thank you for the replies. Gale, in answer to your question, it's the first condition that I am trying to build. Hitting the SPACE bar allows me to enter the measurement loop, where the script will then navigate to each program and take data. After it's done, it loops back and waits for the next SPA...
- Mon Aug 03, 2009 6:18 pm
- Forum: Beginners
- Topic: Ghosting input
- Replies: 9
- Views: 9187
Ghosting input
I tried searching, but it was difficult to come up with the terms to quickly find a relevant post, so, at the risk of covering old ground, I'll just ask it here. I am using Scheduler Pro version 7.4. What I want to do is automate several Windows programs that run some laboratory instrumentation. I w...