search needlepoint, but no display attached

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
jpvanes
Newbie
Posts: 3
Joined: Wed Oct 06, 2010 5:50 pm

search needlepoint, but no display attached

Post by jpvanes » Wed Oct 06, 2010 5:59 pm

Hi,

i want to use a script to run a apllication when it pops up.
I use the waitwindowopen function and findimagepo a lot in this script because the program it has to operate has nog shortcut keys.

If got it all working on my laptop, but now when i install it on the PC where it needs to run, it won't work. This computer has no screen, keyboard, mouse attached, only a networkconnection and a serial link.

when i take over the machine with remote desktop, it works fine again. But when i disconnect my session, it sits and waits, until some other screen is connected.

The script should run on this machine, and there is physical no place to put a monitor. Also keeping the remote session open is no workable option.

is there any other way to solve this ?

love to hear something,
Jan-Paul

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 Oct 06, 2010 6:33 pm

When remote desktop is disconnected the session is locked. When locked no windows exist. No UI exists. Tis the way Windows works unfortunately. You cannot control a UI that does not exist. When Windows is locked or logged out there is no console. And Remote Desktop locks your session when you close it. See: http://www.mjtnet.com/msfaq171.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?

User avatar
JRL
Automation Wizard
Posts: 3532
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Wed Oct 06, 2010 6:42 pm

Try using TightVNC or some other VNC software rather than using remote desktop. When you log out of a TightVNC session the desktop does not close. Also be sure to disable any screen savers on the target computer. With no monitor, mouse or keyboard there's not much point in having a screen saver anyway.

jpvanes
Newbie
Posts: 3
Joined: Wed Oct 06, 2010 5:50 pm

Post by jpvanes » Wed Oct 13, 2010 7:36 am

Thanks for the replies.

i'll try the vnc option and post the results here.

jpvanes
Newbie
Posts: 3
Joined: Wed Oct 06, 2010 5:50 pm

Post by jpvanes » Sun Oct 17, 2010 9:07 pm

found the answer in a hardware solution. Google saved me 8) No monitor but the videocard still detects one by using a dummy load.

look at: http://soerennielsen.dk/mod/VGAdummy/index_en.php
on how to make one, this certainly worked for me.

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