Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is it possible to Send Text/Button Clicks to Hidden

Status
Not open for further replies.

C5Driver

Programmer
Feb 10, 2011
1
US
Hello,

Is there any way that I can send Text or click a button on a form that is hidden and running in the System context?

We have a software installation that is pushed via Altiris and it cannot be deployed silently as it calls another embeded installation that requires user input. The parent install will run with the /s, or silent switch, but there is no suppressing the child install.

All software installs run in System context and not as the current logged on user, this is our company policy. And, everything runs in a hidden state. This is fine and a good practice until something like this shows up.

Anywho...here's what i'm trying to figure out how to do:

Create a vbscript that will run and wait for a specific form to be loaded, it will not be visible, and push text and button clicks to the form.

Any help will be greatly appreciate!!!!

BTW - Great Site!!!
 
Embedded? In an Altiris job? It would be ideal to use any arugments theat are available to the embedded app - unless, of course, they are unavailable.

make sure the hidden object has an 'id="myHiddenField"'

assign the objects value proterty using vbs

Code:
    myHiddenField.value = "some input"

OR

Code:
   set objElement = document.getObjectByID("myHiddenField")
   objElement.value = "some input"

... I think :)

-Geates

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
- Martin Golding
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top