Search found 11 matches

by Lorence
Thu Jul 03, 2014 2:47 pm
Forum: Technical / Scripting
Topic: VB macro works on XP, error on Win7
Replies: 5
Views: 5453

Re: VB macro works on XP, error on Win7

I think that you are correct - I'd forgotten that there were two recorders, I'll look at the Web recorder after my meetings.
Thanks for the guidance, Marcus.

Lorence
by Lorence
Thu Jul 03, 2014 12:07 pm
Forum: Technical / Scripting
Topic: VB macro works on XP, error on Win7
Replies: 5
Views: 5453

Re: VB macro works on XP, error on Win7

Good morning, Marcus. I've attached the .scp file that I'm using. I did try the recorder, but I was trying to avoid mouse positioning, I would much prefer the specificity and readability of the VB script, We can tell exactly what it is doing. The recorder's use of mouse movement is far too ambiguous...
by Lorence
Wed Jul 02, 2014 3:52 pm
Forum: Technical / Scripting
Topic: VB macro works on XP, error on Win7
Replies: 5
Views: 5453

Re: VB macro works on XP, error on Win7

Sorry, I forgot to include the error message that I get on Win7: the script appears to open IE, but give the following error 4 times: :-2147023179 Line 26, Column 2 Then gives the following error twice: :-2147023179 Line 17, Column 2 Then is seems to hang. Thanks again, Lorence Sing Nationwide Child...
by Lorence
Wed Jul 02, 2014 3:50 pm
Forum: Technical / Scripting
Topic: VB macro works on XP, error on Win7
Replies: 5
Views: 5453

VB macro works on XP, error on Win7

All, I am converting my Macro Scheduler installation from WinXP to Win7 and have one final macro to move, but it is failing. The macro uses VB code to open Internet Explorer, connect to an HP printer, change the paper Tray 1 paper size to Letter, the Tray 1 Type to Any, the Tray 2 Type to Letterhead...
by Lorence
Wed Jan 22, 2014 10:16 pm
Forum: Enhancement Suggestions
Topic: Printing a pdf without having to open it
Replies: 0
Views: 8609

Printing a pdf without having to open it

Part of our daily routine onteh Macro Scheduler is to print pdf files that are created and outputed from BOBI (SAP's latest "Crystal Enterprise" system). Our current install of Macro Scheduler is running on Windows XP and we've been using an old version of Acrobat Reader, v4.0, and exploiting an und...
by Lorence
Wed Sep 26, 2012 12:10 pm
Forum: The Water Cooler
Topic: Anyone tried Windows 8 yet?
Replies: 9
Views: 15871

I can't seriously see us moving to win8 ever. Our lab is just getting ready to move to win7, and that's only on some machines. We still have software that isn't validated to run on win7 yet, and since it is considered a "Medical Device" every version has to go through FDA approval processing (Food &...
by Lorence
Mon May 23, 2011 6:21 pm
Forum: Technical / Scripting
Topic: Grab telnet window text
Replies: 12
Views: 18011

So you could just loop through the last n lines: Separate>TELNET_SESSIONLOG,CRLF,lines_array Let>start_line=lines_array_count-25 If>start_line<1>start_line=0 Endif Let>output_text= Let>x=start_line Repeat>x Let>x=x+1 Let>this_line=lines_array_%x% Let>output_text=%output_text%%this_line%%CRLF% Until...
by Lorence
Mon May 23, 2011 5:53 pm
Forum: Technical / Scripting
Topic: Grab telnet window text
Replies: 12
Views: 18011

Thanks again for the input above. I've finally gotten a chance to get back to this and your suggestion looks like it could work well. One further question for you - the information that I need to review in the telnet output will be the tail end. Is there a way to display only the tail end of the tel...
by Lorence
Wed Apr 06, 2011 12:28 pm
Forum: Technical / Scripting
Topic: Grab telnet window text
Replies: 12
Views: 18011

I think the point of my example was missed. MessageModal>TELNET_SESSIONLOG Look at the help for the telnet stuff. Macro Scheduler already keeps a log of everything happening in the telnet session in the TELNET_SESSIONLOG variable. Why try to automate another external program when this capability is...
by Lorence
Tue Apr 05, 2011 8:29 pm
Forum: Technical / Scripting
Topic: Grab telnet window text
Replies: 12
Views: 18011

The idea is to keep the user locked out of the telnet session other than what the script allows them to enter. The securty that allows them to change passwords unfortunately allows them to do many other admin functions that the ehlp desk filks should NOT be doing and there's no way to split the pass...
by Lorence
Tue Apr 05, 2011 7:25 pm
Forum: Technical / Scripting
Topic: Grab telnet window text
Replies: 12
Views: 18011

Hi, That's easy: Press ALT Send> es Release ALT Wait>0.5 Press ALT Send> ey Release ALT ALT-space then e then s selects all the text. ALT-space then e then y copies it to the clipboard. Then use GetClipBoard to retrieve the text from the clipboard to a variable and manipulate. This could work for a...
Sign up to our newsletter for free automation tips, tricks & discounts