Jump to content
Sign in to follow this  

2 questions

Recommended Posts

WinSetState("Aphrodite - Upgrade & Install", "OK")

WinWait("Aphrodite - Upgrade & Install")

ControlClick ( "Aphrodite - Upgrade & Install", "OK", 2)

WinSetState( "WinZip Self-Extractor - Persm050102-0008UI.exe", "Unzip")

WinWait("WinZip Self-Extractor - Persm050102-0008UI.exe")

ControlSend ( "WinZip Self-Extractor - Persm050102-0008UI.exe", "Unzip", 106, $pad6 )

ControlClick ( "WinZip Self-Extractor - Persm050102-0008UI.exe", "Unzip", 1)

WinSetState("WinZip Self-Extractor - Password", "password")

WinWait("WinZip Self-Extractor - Password")

ControlSend ( "WinZip Self-Extractor - Password", "password", 402, "xxxx" )

ControlClick ( "WinZip Self-Extractor - Password", "password", 1)

This script unzips Persm050102-0008UI.exe. It gives 3 screens. I have to fill in a path, press a few buttons and give in a password.

1) Is it possible to run this completely hidden. Can't get it done with @HIDE.

2) When 1) is solved, do you think it's possible to run this (as a service) on a server where NOBODY is logged on?

THX for helping me

Share this post

Link to post
Share on other sites

@SW_SHOWMINIMIZED gives it mimimized but @SW_HIDE does not work.

It gives the first screen, hides it... after hiding the script doesn't go further anymore...

Without 'winsetstate' the script works perfect (but than it's not hidden of course)

Share this post

Link to post
Share on other sites

I think it's not working because once you hide it, it's not active anymore. You would have to check the processes and select that one to continue it. I don't know if that would keep it hidden though.

Edited by BALA

[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com

Share this post

Link to post
Share on other sites


you're probably right, I don't think I can hide it...

P.S. I can select an application to continue but I don't think it's possible to select a process to continue...

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...