comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » SKIP the window "press click to continue" using the VIRTUAL MACHINE
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
SKIP the window "press click to continue" using the VIRTUAL MACHINE [message #67743] Mon, 24 August 2009 07:09 Go to next message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
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 PRESS CLICK TO CONTINUE.

My question is if there is a way to skip this window. Anyone had this
problem before ?

Thanks in advance,
Bernat
Re: SKIP the window "press click to continue" using the VIRTUAL MACHINE [message #67842 is a reply to message #67743] Wed, 26 August 2009 06:42 Go to previous messageGo to next message
Mike[2] is currently offline  Mike[2]
Messages: 99
Registered: December 2005
Member
On Aug 24, 10:09 am, nata <bernat.puigdomen...@gmail.com> wrote:
> Hi people,
>
> 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.

This sort of thing is simple to do with a regular IDL process. The
virtual machine takes the "I" in IDL seriously, so it's not very handy
for non-I uses. All the stand-alone/non-interactive/embedded
applications that I've seen use runtime licenses.

Mike
Re: SKIP the window "press click to continue" using the VIRTUAL MACHINE [message #67910 is a reply to message #67743] Sun, 06 September 2009 16:26 Go to previous messageGo to next message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Aug 24, 11:09 am, 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.
Re: SKIP the window "press click to continue" using the VIRTUAL MACHINE [message #93927 is a reply to message #67743] Mon, 28 November 2016 12:34 Go to previous messageGo to next message
jenesaispas1990 is currently offline  jenesaispas1990
Messages: 1
Registered: November 2016
Junior Member
Hey,

I had a similar problem by integrating an IDL-based stand-alone program in an automatic procedure in R.

To confirm this disturbing window, I used the sendKeys.bat-file by npocmaka.
This IDL window was named "Runtime App" in my case, so I could address this window by the following system command: (PATH\)sendKeys.bat "Runtime APP" "{ENTER}".
Therefore, I created a new (.bat) file that, at first, opens the IDL-based program and then, confirmed the IDL window by sendKeys.bat.

Unfortunately, I do not know if it is possible to call system commands in IDL. In R it is easly done by system(...).

Hope that helps.



Here the link to the above mentioned file and forum talk (11-28-2016):
FILE:
https://github.com/npocmaka/batch.scripts/blob/master/hybrid s/jscript/sendKeys.bat

FORUM:
http://stackoverflow.com/questions/30406120/command-prompt-a uto-confirm-message-pop-up-window
Re: SKIP the window "press click to continue" using the VIRTUAL MACHINE [message #93928 is a reply to message #93927] Wed, 30 November 2016 03:17 Go to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
Hi,
I not sure that what you're trying to do is legal. The pop-up message disappears if you buy an IDL license. But this is none of my business :-)

That said, I think that what you're looking for is the spawn command in idl.
In your case, it would look something like this (not tested!):
spawn, myPath+'sendKeys.bat "Runtime APP" "{ENTER}"', res, errRes
You will find the result of the action in res and if an error occurred, it will pop up in errRes.

Enjoy.
Helder



On Monday, November 28, 2016 at 9:35:01 PM UTC+1, jenesai...@googlemail.com wrote:
> Hey,
>
> I had a similar problem by integrating an IDL-based stand-alone program in an automatic procedure in R.
>
> To confirm this disturbing window, I used the sendKeys.bat-file by npocmaka.
> This IDL window was named "Runtime App" in my case, so I could address this window by the following system command: (PATH\)sendKeys.bat "Runtime APP" "{ENTER}".
> Therefore, I created a new (.bat) file that, at first, opens the IDL-based program and then, confirmed the IDL window by sendKeys.bat.
>
> Unfortunately, I do not know if it is possible to call system commands in IDL. In R it is easly done by system(...).
>
> Hope that helps.
>
>
>
> Here the link to the above mentioned file and forum talk (11-28-2016):
> FILE:
> https://github.com/npocmaka/batch.scripts/blob/master/hybrid s/jscript/sendKeys.bat
>
> FORUM:
> http://stackoverflow.com/questions/30406120/command-prompt-a uto-confirm-message-pop-up-window
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Hardware suggestions for IDL/ENVI.
Next Topic: How to infer number of minor ticks?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:44:11 PDT 2025

Total time taken to generate the page: 0.00660 seconds