joeloyzaga Posted February 23, 2015 Posted February 23, 2015 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?
orbs Posted February 23, 2015 Posted February 23, 2015 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
joeloyzaga Posted February 23, 2015 Author Posted February 23, 2015 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")
joeloyzaga Posted February 23, 2015 Author Posted February 23, 2015 (edited) can you mouseclick on an object? Edited February 23, 2015 by joeloyzaga
Developers Jos Posted February 23, 2015 Developers Posted February 23, 2015 (edited) Let's stick to one topic. Jos Edited February 23, 2015 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
joeloyzaga Posted February 23, 2015 Author Posted February 23, 2015 (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 February 23, 2015 by joeloyzaga
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now