473,769 Members | 8,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is it possible to switch the monitor input (analog/digital) programmaticall y?

7 New Member
Hi,

i have the following constellation:
I have two PCs an only one Monitor.

Earlier i had two monitors and used "Synergy" to use my single Mouse & Keyboard for both PCs.
This worked fine.

But now i gave one of the monitors away, so only one is left.

What i am trying to now is:
I want to add a command to synergy that tells the monitor to switch between its both inputs (analog & digital).

With this i could easily use the functionality of Synergy and the performance of a directly connected monitor (instead of using RDP or something similar which tunnels the output over LAN).

So again in short:
Is it possible to tell the monitor from inside windows to switch its input?

---------------
I just got an idea:
Maybe the monitor switches its input by itself when i tell windows to disable the video output (energy-save mode for the monitor).
---------------

Greetings Finomosec;
Jul 26 '07 #1
1 15443
Finomosec
7 New Member
I found a solution.

Ugly but working:
I found the tool http://www.skynergy.com/hotkeyz.html .
And i am using http://synergy2.sourceforge.net .

I installed Synergy-Server on prometheus and Synergy-Client on andromeda and configured it like this:
Expand|Select|Wrap|Line Numbers
  1. section: screens
  2.     andromeda:
  3.     prometheus:
  4. end
  5. section: options
  6.     keystroke(Control+Alt+3) = switchToScreen(andromeda) ; keystroke(Control, andromeda)
  7.     keystroke(Control+Alt+2) = switchToScreen(prometheus) ; keystroke(Control, prometheus) ; keystroke(Control+Alt+2, andromeda)
  8. end
Then i installed HotKeyz on both PCs and configured it like this:
PC: prometheus
name: Switch to Andromeda
hotkey: Control + Alt + 1
command: Multiple Commands
command 1: Remap
params 1: [ControlD][AltD][3][AltU][ControlU]
command 2: Monitor Off

PC: andromeda
name: Switch to Prometheus
hotkey: Control + Alt + 2
command: Monitor Off

How it works ...
When i hit Control+Alt+1 on prometheus
1.) HotKeyz executes Control+Alt+3
2.) [1.] triggers Synergy to send a keystroke to andromeda to wake it up
3.) [1.] triggers Synergy to switchToScreen( andromeda), which sends all following keyboard an mouse activity to andromeda
4.) HotKeyz turns the monitor off
5.) Now the monitor notices, that there is no signal from prometheus anymore and switches to andromeda

When i hit Control+Alt+2 on andromeda
1.) Synergy calls switchToScreen( prometheus)
2.) Synergy sends a keystroke to prometheus to wake it up
3.) Synergy sends Control+Alt+2 to andromeda
4.) [3.] triggers HotKeyz on andromeda which turns of the monitor
5.) Now the monitor notices, that there is no signal from andromeda anymore and switches to prometheus

voilà ...

Tipp:
Hold the mouse still while switching. Otherwise it may happen, that the switch doesn't work as expected. (Instead the focus switches, but the monitor does not.)

Greetings Finomosec;
Jul 26 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
3237
by: kjm | last post by:
Hi everyone, I have recently acquired a Logitech Rumble pad to use as an input device. I have been having trouble getting the event que to respond that a button or hat arrow has been pressed. This is on a system running OS 10.3.9. I have modified/written a small piece of code that initializes the joystick, and pygame does recognize it. I was wondering if someone has a small snippet of code to get me going? I have posted the code...
13
6217
by: webzila | last post by:
Hello, I have to write a program for an 8051 micro-controller using micro-C to monitor Switch 1 and if the switch in pushed the message "switch 1 pushed" should be displayed in the LCD. Also the microcontroller should display in the LCD the value of the voltage applied to the input of the ADC. The above procedure should only execute once the user has entered "1234" using a keypad that is attached to the 8051 microprocessor.
4
1577
by: simchajoy2000 | last post by:
Hi, Is it possible to programmatically detect what display settings the user has on their monitor with ASP.NET? I need to be able to resize some of the things on my webpage if the user has their monitor set to 800 x 600. Any help would be greatly appreciated! Thanks! Joy
6
11562
by: Matt Frame | last post by:
I have a client that has asked us to get a digital signature certificate and start digitally signing all files we pass between each other. I have heard of the subject and know about the certs but I have no idea how to do something like this with VB.Net. Has anyone done something like this or know where I can find out information how to perform the process of signing a document when sending it then checking one on receipt? Your help is...
0
1276
by: Neji | last post by:
Is it possible to switch between dual monitors with the keyboard? For example, if I am on the left-hand monitor, can I press a keyboard combination to teleport the mouse cursor to the middle of the right-hand monitor? And if I am on the right-hand monitor, can I press a keyboard combination to teleport the mouse cursor to the middle of the left-hand monitor? Is this something that can be done in .NET and/or VB?
2
2921
by: cj | last post by:
Any body know a neat trick to put a analog clock on a form that would be updated by a timer? Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the Galaxy lies a small unregarded yellow sun. Orbiting this at a distance of roughly ninety-eight million miles is an utterly insignificant little blue-green planet whose ape-descended life forms are so amazingly primitive that they still think digital...
1
2456
by: ziamughal | last post by:
sir tell me briefly that what is the analog and digital signal.the digital signal can be defined as the signal that will in the 0 and 1 format. but do the zeros and ones travel in the wires.and also tell me how computer converts the text that we enter by the keyboard in the binary.why computer convert the text in binary why not in the decimal number system.
1
1065
by: mynkow | last post by:
I want to switch monitor Analog/Digital mode with c# code. How can I do this? 10x in advance!
7
3363
by: Rohit | last post by:
Hi, I am working on a switch module which after reading voltage through a port pin and caterogizing it into three ranges(open,low or high), passes this range to a function switch_status() with parameters value and signal ID. Signal Id is used to get a user configurable parameter inside a configuration file, which depends on the type of switch. I have implemented it as under. Please ignore those magic numbers as I have mimized logic to...
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10049
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9998
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8876
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3567
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.