Jump to content

Recommended Posts

Posted

Hey Guys - I am trying to write a very simple script that just types a value into ONE field and presses and next

That's it!

Here is what I am trying to do:

I have a software product that used Installshield to package it - I wrote a response file per installshield directions /  for the software and it automated almost everything except one window... sadly the company that makes the software doesn't want to help, installshield won't help since I don't have a license . So I am trying to write and autoit script to fill in the one window that doesn't get recorded in the response file to finish the installation

My write activated the window but when I follow it with a send() it doesn't work

 

here is what I have

WinActivate("Server Information")
Send("xx-xxx-xx")
Send("!n")
Send("{SPACE}")

any ideas ?

Posted

Did you try the AutoIt WIndow Info Tool to retrieve the Control-ID so ControlSend can be used?

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

What is the return value of ControlSend?

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted
WinActivate("Server Information")
Local $iReturnValue = ControlSend("Server Information","",1302,"xx-xxx-xx")
MsgBox(0,"", "Returnvalue of ControlSend: " & $iReturnValue)

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

This is the only window with title "Server Information" when you install the software?

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

I wonder why the AutoIt Window Info Tool does not display "Enter Server Name or IP Here" for the text of the Control.

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted
  On 8/9/2016 at 8:30 PM, water said:

I wonder why the AutoIt Window Info Tool does not display "Enter Server Name or IP Here" for the text of the Control.

Expand  

I think this is not normal text but "cue hint" , maybe this is the case.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

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
×
×
  • Create New...