Search found 49 matches
- Thu Oct 24, 2013 9:06 am
- Forum: Technical / Scripting
- Topic: Problem with IECreate
- Replies: 1
- Views: 3902
Problem with IECreate
MSched 14.0.14 Code line: IECreate>IE[0] Message: A system shutdown has already been scheduled, ProgID: "InternetExplorer.Application" http://www.technolibrium.co.za/downloads/IECreate_Error.JPG Issue: I am occasionally encountering this message. I have tried multiple things to resolve. I have Close...
- Wed Oct 23, 2013 11:19 am
- Forum: Technical / Scripting
- Topic: Problems w/IE_Create
- Replies: 12
- Views: 18063
I may have other issues as well. Sometimes MessageModal doesn't stop for the response .... but the macro script keeps going without waiting as it always has. Something really odd with the environment. [UPDATE] I found out what this problem is: Multiple triggers. I was triggering another macro from a...
- Wed Oct 23, 2013 11:16 am
- Forum: Technical / Scripting
- Topic: Problems w/IE_Create
- Replies: 12
- Views: 18063
Hey Kev. I have also WaitWindowClosed and other attempts at stuff before the first IECreate call. I am now up to 35 seconds of waits currently :( I have disabled IE addons, such as Java etc, etc. When it does go, sometimes MSched gets into a terrible knot and I have to nuke it via task-manager as it...
- Wed Oct 23, 2013 10:30 am
- Forum: Technical / Scripting
- Topic: Problems w/IE_Create
- Replies: 12
- Views: 18063
Re: How to respond/ prevent the message ?
BUMP I really need to find a professional way to respond to this condition. If you are unlucky enough to encounter this, you are stuffed. There is no recovery procedure other than manually stopping the macro and then recovering from that mess. May I please request an MSched enhancement to at least a...
- Tue Oct 08, 2013 12:18 pm
- Forum: Technical / Scripting
- Topic: Problems w/IE_Create
- Replies: 12
- Views: 18063
How to respond/ prevent the message ?
Sorry to reawaken this ancient post ... This occurs because IE hasn't fully shut down and IEs COM object isn't yet ready for use again. I see this every now and then. After a short wait it is ready again. Either use a delay, or ... do you really need to close and reopen IE? I have changed code logic...
- Thu Oct 03, 2013 2:03 pm
- Forum: Technical / Scripting
- Topic: StringGrid fixed column events
- Replies: 2
- Views: 4529
Solved
Apologies - strike that request ... I found my problem.
I needed to add the goFixedCol option to enable fixed col click event.
A breakpoint in the SRT reveals the ACOL and AROW population.
I needed to add the goFixedCol option to enable fixed col click event.
A breakpoint in the SRT reveals the ACOL and AROW population.
- Thu Oct 03, 2013 1:32 pm
- Forum: Technical / Scripting
- Topic: StringGrid fixed column events
- Replies: 2
- Views: 4529
StringGrid fixed column events
Hey there. I was hoping to use a fixed column on each row to use as an action button (Save). I have been unable to get the onFixedCellClick event to fire at all and so tried to use the onDblClick event instead. From an example, I see {srtname}_Arow is populated on onSelectCell. Is there any equivale...
- Sun Sep 29, 2013 1:19 pm
- Forum: Technical / Scripting
- Topic: IEFormFill alpha chars in variable cause Inappropriate msg
- Replies: 1
- Views: 3285
IEFormFill alpha chars in variable cause Inappropriate msg
MSched 14.0.14 WebRecorder code produces statements encapsulated in braces and double quotes. Changing this when using variable values can cause issues. You may encounter the very helpful Line nnnn: ? is inappropriate where ? turns out to be the first character of the variable value . The IEFormFill...
- Wed Sep 18, 2013 12:57 pm
- Forum: Technical / Scripting
- Topic: IEFormFill for dynamic content ?
- Replies: 2
- Views: 3806
Yep, that'll do nicely, thank you. Example code for other forum users. IEExtractTag>%IE[0]%,{"frameMain"},{"SELECT"},2,1,SelString Let>pattern=(?<=<option).*?(?=</option>) RegEx>pattern,SelString,0,matches,numOpts,0 // Find the "Medium" option Let>k=0 Let>Offset=0 Repeat>k Let>k=k+1 Position>Medium,...
- Mon Sep 16, 2013 12:11 pm
- Forum: Technical / Scripting
- Topic: IEFormFill for dynamic content ?
- Replies: 2
- Views: 3806
IEFormFill for dynamic content ?
For reasons of reliability and stability, I am hoping to continue using the IE (webrecorder) functions, preferring them to "the other way" of mouse-moves and clicks. The website I am trying to automate contains dynamically generated selection options ... example data as shown here : 1. Small - Last ...
- Tue Apr 23, 2013 11:09 am
- Forum: Technical / Scripting
- Topic: Calendar drop-down box
- Replies: 25
- Views: 34714
Upgraded to V14
A recent system I worked on did not have Office, so I needed to revert to a Macro Scheduler only solution. This is the upgraded version based on earlier work of Msched forum members in this post. Changed to again work with Dialog Designer (for MSched version 14) Uses DateLocal to avoid errors in non...
- Sat Aug 25, 2007 8:21 pm
- Forum: General Discussion
- Topic: Macro Deleted
- Replies: 23
- Views: 32458
occasionally copy to MS Word . . . substitute all tabs for 4 spaces. It's not restricted to that, but I did have my worst time after importing macros I created externally - in another editor. highlighting the macro and pressing Ctrl+S. That's definitely from the main Msched interface. Standalone mo...
- Thu Aug 23, 2007 11:35 am
- Forum: General Discussion
- Topic: Macro Deleted
- Replies: 23
- Views: 32458
Thanks for the replies ;-) Stand-alone mode is when you access the .SCP file directly from Windows Explorer - right-click and select Edit. This still calls the MSched editor, but not from the normal scheduler interface. Also, I don't use keystrokes to invoke or save, so I don't think the trouble lie...
- Thu Aug 23, 2007 10:01 am
- Forum: General Discussion
- Topic: Macro Deleted
- Replies: 23
- Views: 32458
This sort of thing is a real swine to catch. In terms of patterns, here's some things I've noticed, perhaps we can add to it, confirming or refuting these :- 1. It only seems to happen when doing repeated editing-and-testing, i.e. make a small change, run the macro, go back in to make a change, save...
- Wed Jul 25, 2007 8:07 pm
- Forum: General Discussion
- Topic: Macro Deleted
- Replies: 23
- Views: 32458