Jump to content

Recommended Posts

Posted

I am trying to use IE.au3 UDF to auto fill a webpage. All goes well until I get to an editbox that appears to be a javascript. I am attaching a pic of the editbox. (I would be glad to add any other information needed to help me past this last hurdle in my script. I'm just not sure what questions you have to help me with this.)

Edit Box.png

Posted

Hi Robdog1955,
 

  On 8/6/2016 at 4:54 PM, Robdog1955 said:

I am trying to use IE.au3 UDF to auto fill a webpage. All goes well until I get to an editbox that appears to be a javascript.

Expand  

What is the exact problem you encounter?
Do you get an error message or just unexpected results?
What have you tried so far?
Can you share your code?

  On 8/6/2016 at 4:54 PM, Robdog1955 said:

I would be glad to add any other information needed to help me past this last hurdle in my script. I'm just not sure what questions you have to help me with this.

Expand  

Ideally you would provide us a link to the webpage in question. If that is not option, post the (redacted) source or at least see if you can identify the editor.


Regards,
Rob

Posted (edited)

I do not think that this is Java Just HTML editor. 

From Where you have this ?

Edited by mLipok

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

Posted (edited)
  Quote

I do not think that this is Java Just HTML editor. 
From Where you have this ?

Expand  

I meant that this is not Java aplet, but I just realize that you  are talking about JavaScript, so please look again in the following answer:

Try to look for similar cases here, as I think this looks like normal HTML RTE (HTML RichText Editor).

Edited by mLipok

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

Posted

Well I am using a modified script I found in the forum to search for all the input locations of the webpage in question. I have attached that script.  The webpage I am using is internal to our facility so you cannot access it.  I think this is the part of the page that I'm interested and my script finds LADD but I can't enter anything into it using AutoIt.

<textarea name=LADD title="Description"  cols=85 id="descrpt" TABINDEX=52 onKeypress=addAutoSpell(document.regform.LADD) style="height: 170px; width: 702px;" class="wysiwyg"></textarea>
 

I guess I thought it must be a javascript since I could not enter anything into it with AutoIt...

Does this help you answer my problem?

FoundYou.au3

Posted

Maybe like this:

_IETextArea_SetInnerHtml($oIE, '<strong>TESTING</strong>')
Func _IETextArea_SetInnerHtml(ByRef $oIE, $sData)
    Local $oIE_TextArea = _IEGetObjById($oIE, 'descrpt')
    $oIE_TextArea.innerHtml = $sData
EndFunc

 

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