Jump to content

2 questions


 Share

Recommended Posts

CODE
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

Link to comment
Share on other sites

Link to comment
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)

Link to comment
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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...