Message from discussion
SKIP the window "press click to continue" using the VIRTUAL MACHINE
Path: g2news2.google.com!postnews.google.com!e8g2000yqo.googlegroups.com!not-for-mail
From: pp <pp.pente...@gmail.com>
Newsgroups: comp.lang.idl-pvwave
Subject: Re: SKIP the window "press click to continue" using the VIRTUAL
MACHINE
Date: Sun, 6 Sep 2009 16:26:25 -0700 (PDT)
Organization: http://groups.google.com
Lines: 30
Message-ID: <9a1c1dc2-370f-489a-838b-6a626892e39c@e8g2000yqo.googlegroups.com>
References: <dfabec4c-e78c-4785-adb7-7409b48d75c1@w41g2000yqb.googlegroups.com>
NNTP-Posting-Host: 189.62.150.52
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1252279740 11146 127.0.0.1 (6 Sep 2009 23:29:00 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 6 Sep 2009 23:29:00 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: e8g2000yqo.googlegroups.com; posting-host=189.62.150.52;
posting-account=2uMBkQoAAADZzrws8AtihIK9kCG_PRnr
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.2)
Gecko/20090803 Fedora/3.5.2-2.fc11 Firefox/3.5.2,gzip(gfe),gzip(gfe)
On Aug 24, 11:09=A0am, nata <bernat.puigdomen...@gmail.com> wrote:
> Hi people,
>
> I think this is an old question but I didn't find anything to solve my
> problem.
> I'm trying to write a routine in IDL that I want to use like a script.
> So, in scheduled tasks I want to execute this routine 1 time per day
> USING the virtual machine of IDL.
>
> The problem is that the virtual machine opens a window with the cover
> of IDL with the message PRESSCLICKTO CONTINUE.
>
> My question is if there is a way to skip this window. Anyone had this
> problem before ?
>
> Thanks in advance,
> Bernat
In Linux, I have done it using xautomation. More specifically, for
console applications I use Xvfb to create a virtual X server of the
size of the splash screen, then xte (from xautomation) to make a click
on the proper coordinates. The Xvfb server is made the size of the
splash screen so that the button always is at the same coordinates,
and it is not necessary to search for it with visgrep.
I put everything in a script to launch Xvfb, set the display variable,
launch the runtime application, call xte to click, then kill the Xvfb
server at the end. I copy the Xvfb and xte binaries into the
distribution directory, so that it does not depend on those being
installed where the program is used.