Search found 17 matches

by jpalic
Fri Jun 21, 2013 3:08 pm
Forum: Technical / Scripting
Topic: Automate GoToMyPC Host in Systray
Replies: 5
Views: 6245

Turning off User Account Control (UAC) does permit - at least when logged in with an administrative account - scripts to pass keystrokes to the GoToMyPC process running as Local System. We're trying to automate the setup of host systems for our training classes. WIM files are deployed using imagex/d...
by jpalic
Thu Jun 20, 2013 3:27 pm
Forum: Technical / Scripting
Topic: Automate GoToMyPC Host in Systray
Replies: 5
Views: 6245

Turns out that the GoToMyPC host processes run as the Local System account (SYSTEM in task manager). Windows Vista and up User Account Control prevents sending keystrokes from lower privilege accounts into higher privilege accounts. Administrator is lower privilege than Local System so even running ...
by jpalic
Wed Jun 19, 2013 7:35 pm
Forum: Technical / Scripting
Topic: Automate GoToMyPC Host in Systray
Replies: 5
Views: 6245

Automate GoToMyPC Host in Systray

Looking for some advice on whether or not what I'm attempting is even possible... We would like to automate setting nicknames for GoToMyPC hosts. On Windows XP, I can automate the GoToMyPC host process from the systray and populate the information. On Windows 7 I cannot - even if I run the macro wit...
by jpalic
Wed Nov 07, 2012 7:06 pm
Forum: The Water Cooler
Topic: My favourite RegEx
Replies: 3
Views: 8366

My favourite Regex

Marcus, I use something similar to yours although I never quite understood the meaning of the zero-width positive lookbehind (?<=regex) or the zero-width positive lookahead (?=regex) modifiers. What issues do you avoid by using those modifiers in this regex? Jim PS - There is a good regex reference ...
by jpalic
Fri Oct 21, 2011 12:37 pm
Forum: Technical / Scripting
Topic: Webrecorder/IEAuto ClickTag stopped by Javascript Alert
Replies: 1
Views: 3307

I was trying to solve this issue by catching the Javascript Alert popup in the main script. Since I don't really care about the content of the alert popups and just want to clear them so that the main script can continue, it occurred to me that I could run a separate helper script that would look fo...
by jpalic
Thu Sep 29, 2011 3:00 pm
Forum: Technical / Scripting
Topic: FTP (v12.1.10) with Windows Firewall
Replies: 8
Views: 11559

Just as a follow up - the resolution to this was: I extracted the FTP functionality to a separate macro, compiled that with MacroScheduler version 10, called the v10 EXE when I need to FTP and have no more application errors as was the case when using the FTP functions in v12. FWIW, it also seems li...
by jpalic
Thu Sep 29, 2011 2:52 pm
Forum: Technical / Scripting
Topic: Webrecorder/IEAuto ClickTag stopped by Javascript Alert
Replies: 1
Views: 3307

Webrecorder/IEAuto ClickTag stopped by Javascript Alert

After executing a ClickTag, if the web page pops a Javascript alert window, it seems to halt script execution. I created a test web page to illustrate. The web page is shown below. Just a form with a button that will submit the form after an alert button is pressed: function bp(but) { alert("Button ...
by jpalic
Tue Sep 13, 2011 9:26 pm
Forum: Technical / Scripting
Topic: FTP (v12.1.10) with Windows Firewall
Replies: 8
Views: 11559

I distributed an updated version of this script that uses the netsh firewall command to disable the firewall before running FTP commands. This solved the problem of the software exception 0x0eedfade occuring on the FTPGetDir command. But the same exception occurs now - with the firewall off - when t...
by jpalic
Fri Sep 09, 2011 1:38 pm
Forum: Technical / Scripting
Topic: FTP (v12.1.10) with Windows Firewall
Replies: 8
Views: 11559

My point in posting was to suggest that FTP in v12 have different behavior than pre v12 and possibly would merit a closer look. - The FTP in this script worked - Windows firewall on or off - compliled under versions of Macro Scheduler prior to v12. The script sets the FTP mode to passive which shoul...
by jpalic
Thu Sep 08, 2011 3:13 pm
Forum: Technical / Scripting
Topic: FTP (v12.1.10) with Windows Firewall
Replies: 8
Views: 11559

Another piece of data is that, when logging the script, the error seems to be in the FTPGetDirList call. I get the START: logged but no matching END: 9/8/2011 11:22:58:250 - START: FTPGetDirList>www.onlc.com,user,secret,21,C:\ms\ftp.txt,/mssrc/,*,D Weird thing is that the ftp.txt file actually gets ...
by jpalic
Thu Sep 08, 2011 2:42 pm
Forum: Technical / Scripting
Topic: FTP (v12.1.10) with Windows Firewall
Replies: 8
Views: 11559

MSupdate.exe is the name of the script compiled with Macro Scheduler 12. I'm struggling to pin this down. The compiiled script is used on hundreds of systems and it doesn't error on all of them. And the exact same script code didn't error at all when compiled under v11. On the systems that it errors...
by jpalic
Tue Sep 06, 2011 2:45 pm
Forum: Technical / Scripting
Topic: FTP (v12.1.10) with Windows Firewall
Replies: 8
Views: 11559

FTP (v12.1.10) with Windows Firewall

I have a script compiled using MS v12.1.10 that generates Application Errors when running on Windows XP (with up to date service packs and updates). The issue seems to originate with an attempt to FTP through the Windows Firewall when the Firewall wants to block the connection. With Windows Firewall...
by jpalic
Thu Oct 16, 2008 7:03 pm
Forum: Technical / Scripting
Topic: Error trying to create dialog
Replies: 1
Views: 2847

Error trying to create dialog

Every once in a while, one of our compiled scripts gives a "Error trying to create dialog" error.

I've not been able to discern what might be causing this. Are there any general hints as to what might generate this sort of occasional error?

TIA,

Jim Palic
by jpalic
Tue Sep 16, 2008 7:18 pm
Forum: Technical / Scripting
Topic: Multiple Monitor Info using EnumDisplaySettings
Replies: 4
Views: 9163

Marcus, I'd be interested to know if you have two video cards or a single card with two video outputs? I'm trying to get this to work across a couple of types of laptops with different video cards. There is a single video card that has two outputs in the laptop. I've not succeeded getting the WMI ca...
by jpalic
Tue Sep 16, 2008 3:12 pm
Forum: Technical / Scripting
Topic: Multiple Monitor Info using EnumDisplaySettings
Replies: 4
Views: 9163

Multiple Monitor Info using EnumDisplaySettings

We have a need to detect multiple monitors connected to a laptop and take appropriate action. It would seem that the GetSystemMetrics "number of monitors" function would do the trick but: // Number of monitors Let>SM_CMONITORS = 80 // Virtual Width Let>SM_CXVIRTUALSCREEN = 78 // Virtual Height Let>S...
cron
Sign up to our newsletter for free automation tips, tricks & discounts