Jump to content

Recommended Posts

Something simple enough, and I am sure it's an oversight, but I have not been able to track this down. The entire script is attached, but here is the point of failure.

Note: I am getting the "Error: subscript used on non-accessible variable" but I thought the initial line of:

AutoItSetOption('MouseCoordMode', 0)

Should address that issue? 

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

; Install updates (minimized and updating for many minutes)
; Updates Not Installed Screen
   ; Wait for updates to complete
WinWait("ProSeries Update")

   ; Wait just over 9 minutes to ensure popup is ready (test alternative to WinWait)
Sleep(550000)

   ; Set focus on Product Licenses window
WinActivate("ProSeries Update")

   ; Send Mouse Click to Install Now button

MouseClick ( "left" [, 581, 362 [, clicks = 1 [, speed = 10]]] )

; end Installing Updates screen

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

 

Thanks for any insights!

c1one

ProSeries2017_No_Customer_Info.au3

Link to comment
Share on other sites

Udpate, tried with simpler:

 

MouseClick("left", 580, 360, 50)

 

Now, not getting an error, but the installer is not advancing.

Notes: 

1. Verified the Window Information tool was set to "Window" and verified coordinates few times as I moved the window around the screen.

2. Verified I am looking at the mouse tab as well as the position information there.

Link to comment
Share on other sites

Why 50 clicks?

Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Link to comment
Share on other sites

3 hours ago, Earthshine said:

use silent install of installer instead of automation of installer

I wish, we typically do that, we have around 500 applications packaged for SCCM, but this is pretty much the only one that has to be done manually, partially because of the updater. 

Link to comment
Share on other sites

1 hour ago, Earthshine said:

you could use the Information Tool to capture the buttons and controls you want to control, and then talk direct to them maybe?

Typically I use:

Send("!N")

or a tab space or tab enter:

Send("{TAB}")
Send("{SPACE}")

But, this installer is a real nightmare. There is no "button" just a giant panel when attempting to get button info with the tool.

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

×
×
  • Create New...