473,785 Members | 2,858 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 15445
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
6218
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
11563
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
1067
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
9645
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
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10147
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
10090
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
9949
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7499
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
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.