Jump to content

Recommended Posts

Posted

this is the code i've tried

$oIE = _IEAttach("iPower - Built by PwC, for PwC")
ControlSend ("iPower - Built by PwC, for PwC","", "WebEdit","wills",)
 
But my control name is "WebEdit" and I want to send "wills" to it but its not working
 
the attach works but I'm stumbling with the controlsend command
 
 
Can somebody correct it for me?
Posted

you don't use ControlSend. you use the IE UDF. the same place you took _IEAttach from has plenty of other function to retrieve data, populate controls and handle objects in IE.

Signature - my forum contributions:

Spoiler

UDF:

LFN - support for long file names (over 260 characters)

InputImpose - impose valid characters in an input control

TimeConvert - convert UTC to/from local time and/or reformat the string representation

AMF - accept multiple files from Windows Explorer context menu

DateDuration -  literal description of the difference between given dates

WinPose - simultaneous fluent move and resize

Apps:

Touch - set the "modified" timestamp of a file to current time

Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes

SPDiff - Single-Pane Text Diff

Magic Math - a math puzzle

Demos:

Title Bar Menu - click the window title to pop-up a menu

 

Posted

the only thing that works is this - how can I change it to use the object where the object is - $oInput = _IEGetObjByName($oIE, "WebEdit")

MouseClick("left",1217,742,1)

MouseClick("left",724,770,1)
Send("wills")
Posted (edited)

this is the html - <input class="select2-input select2-focused" type="text" autocomplete="off" spellcheck="false" autocapitalize="off" autocorrect="off" jQuery110208908035605971999="404"/>

And its wihin a frame.....

Edited by joeloyzaga

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...