Automatising tasks on an HTPC: displays manager

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
alexmestral
Newbie
Posts: 4
Joined: Fri Sep 21, 2007 9:46 am

Automatising tasks on an HTPC: displays manager

Post by alexmestral » Fri Sep 21, 2007 10:13 am

Hi!

I'm currently building a HTPC (Home Theatre PC), and I downloaded MS for trial because I'm looking for a specific feature I couldn't find anywhere. I hope you can tell me whether MS will be able to help me or not.

Just to give you a picture: my HTPC will be connected to both my TV and a small touchscreen. Normally, main desktop will be on the touchscreen, accessible from the sofa, where I would like to have some icons for automatising tasks and configurations. I would use this touchscreen as a control device, in order to open applications and send them to the TV.

Depending on what I want to do, I'll require different configurations and processes, which I would like to automatise. For example
  • if I want to watch TV (through my PC), I would like to set up the TV at max resolution as an extended desktop, open my TV viewer on the touchscreen and send the full window image to TV
  • if instead I want to work on documents on my TV, then main desktop would be the TV and resolution should change to a lower one
Ideally, I would have some icons on my main desktop (normally on the small touchscreen), like "Watch TV" and "Work on TV" for the previous examples, which should run scripts in order to reach different configurations and launch different programs.

My knowledge in programming and scripts is nil, so what I am looking for is an automatisation software like MS that allows me to easily create scripts for these functions. Initially, controlling Windows related things (displays resolution and config, launching applications, etc...) would be enough. I would dig into particular applications scripting, should I require to automatise these applications, but so far it's not my main interest.

Even sticking to Windows, I'm not able to find the scripts I am looking for (Desktop manager and multidisplay), and I can't find in built scripts on MS in order to achieve my purpose. Could somebody please tell me whether I am looking in the right direction, or whether MS is not able to help me with this? Tutorials, manuals, script lists, etc... would be very much appreciated.

Thanks a lot

Alex

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

Post by Marcus Tettmar » Fri Sep 21, 2007 10:29 am

Hi,

Macro Scheduler can definitely help you.

Here are a couple of tips on how to have it change screen resolution:

http://www.mjtnet.com/forum/viewtopic.php?t=1507
http://www.mjtnet.com/forum/viewtopic.php?t=934

To run programs look at the "Run Program" command in the help file.

Feel free to ask specific questions here and you will get some helpful replies.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

alexmestral
Newbie
Posts: 4
Joined: Fri Sep 21, 2007 9:46 am

Post by alexmestral » Fri Sep 21, 2007 11:00 am

Hey!

Thanks a lot! Reschanger is just what I was looking for. I made my first macro (actually I typed my very first command ever) for testing and it works. I'll do some more tests as soon as I'v got my HTPC working!

Cheers

Alex

alexmestral
Newbie
Posts: 4
Joined: Fri Sep 21, 2007 9:46 am

Post by alexmestral » Fri Sep 21, 2007 11:11 am

Actually, I just noticed one "missing" thing to this nice prog :twisted: : reschanger doesn't allow you to change which of the displays needs to be used as main desktop, or whether you want an extended or cloned desktop...

Any tip?

Cheers

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

Post by Marcus Tettmar » Fri Sep 21, 2007 11:21 am

Use the -monitor= switch. See:

http://www.12noon.com/reschange.htm
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

alexmestral
Newbie
Posts: 4
Joined: Fri Sep 21, 2007 9:46 am

Post by alexmestral » Fri Sep 21, 2007 12:54 pm

Hey Mtettmar!

Thanks for your reply. As far as I understood, the -monitor= switch allows to select resolution for each connected display, but doesn't allow neither to set the main desktop to one or the other, nor to choose between extended desktop or clone... does it?

Cheers

Alex

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