running script in background

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
m1405
Newbie
Posts: 4
Joined: Wed Sep 20, 2006 9:13 pm

running script in background

Post by m1405 » Wed Sep 20, 2006 9:20 pm

Is it possible to run a Macro in background without disturbing me working on the PC?

E.g. I want to start a programm but no window pops up, no focus on another window etc, so Macro works hidden in the background?
If possible, what command or parameter to use?

Thanks!

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Sep 20, 2006 9:28 pm

What does your script do? If it focuses windows and sends keystrokes and mouse events, then, no. Macro Scheduler automates other applications by simulating what a user does. So it needs the same level of access. Keys can't be sent to windows without them being focused.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
pgriffin
Automation Wizard
Posts: 460
Joined: Wed Apr 06, 2005 5:56 pm
Location: US and Europe

Post by pgriffin » Wed Sep 20, 2006 9:32 pm

Depending on the program. If you want to open a MS Office file (Word, IE, , you could try opening the document with VBScript and setting the properties to hide the document. Without knowing the application it is impossible to say whether or not you could do the same.

m1405
Newbie
Posts: 4
Joined: Wed Sep 20, 2006 9:13 pm

Post by m1405 » Wed Sep 20, 2006 9:32 pm

Ok, thanks.

Programm should work with HTTPrequest and saves information from web page to a file c:/...
And it delete files and copy/paste files etc, what I normally do in Explorer.

Because this is without keys and mouse and does not necessarily needs a focus I guess this all is posssible in background automatically without user taking the focus off current window?

Thanks

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Sep 20, 2006 9:55 pm

Yes, all that can happen transparently.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts