Jump to content

Help with textarea IE, no id and no name


Recommended Posts

Hello , I do not know how to fill the textarea : <textarea style="height: auto; overflow: hidden;" placeholder="Conversation dans general..." rows="1">

in :

<div class="channel-textarea"><div class="channel-textarea-inner"><div class="channel-textarea-upload"><input class="file-input" style="left: 0px; top: 0px; width: 100%; height: 100%; position: absolute; cursor: pointer; opacity: 0;" type="file" multiple=""></div><textarea style="height: auto; overflow: hidden;" placeholder="Conversation dans general..." rows="1"></textarea><div class="channel-textarea-emoji"><div class="sprite-item" style='background-image: url("/assets/f6c2b01391865c4cb06ab768a9f098c6.png"); background-size: 242px 110px;'></div></div></div></div><!-- react-empty: 260 --></form></div><div class="channel-members-wrap"><div class="scroller-wrap polyfill fade light"><div class="scroller channel-members"><div style="width: 100%; height: 0px; visibility: hidden;"></div>

I look at the IE functions but nothing helps.

Thank you for your help.

Link to comment
Share on other sites

Why are you trying to modify the textarea? To insert the file path?

Considering only this html sample i believe that you are trying to automate the "Input FileUpload" right? If so you cant, the only way to set the value of a file input is by the user to select a file. This is done for security reasons. Otherwise you would be able to create a Javascript that automatically uploads a specific file from the user computer.

That said, its possible to automate click in the input and them automate the window to select the file using ui automation for example.

Link to comment
Share on other sites

Try:

#include <IE.au3>

Local $sHtml = '<div class="channel-textarea"><div class="channel-textarea-inner"><div class="channel-textarea-upload"><input class="file-input" style="left: 0px; top: 0px; width: 100%; height: 100%; position: absolute; cursor: pointer; opacity: 0;" type="file" multiple=""></div>'
$sHtml &= '<textarea style="height: auto; overflow: hidden;" placeholder="Conversation dans general..." rows="1"></textarea>'
$sHtml &= '<div class="channel-textarea-emoji"><div class="sprite-item" style=''background-image: url("/assets/f6c2b01391865c4cb06ab768a9f098c6.png"); background-size: 242px 110px;''></div></div></div></div><!-- react-empty: 260 --></form></div>'
$sHtml &= '<div class="channel-members-wrap"><div class="scroller-wrap polyfill fade light"><div class="scroller channel-members"><div style="width: 100%; height: 0px; visibility: hidden;"></div>'

Local $oIE = _IECreate()
_IEDocWriteHTML($oIE, $sHTML)
Sleep(3000)

Local $oTagReturn = $oIE.document.getElementsByTagName("textarea")
If Not IsObj($oTagReturn) Then Exit ConsoleWrite("Error in $oTagReturn" & @CRLF)

ConsoleWrite("Nº of textareas: " & $oTagReturn.length & @CRLF)

$oTagReturn.Item(0).Value = "Hello!" ;if there is more than one textarea you need to change the .item(*). Its 0 based.

Exit

 

Link to comment
Share on other sites

  • 8 months later...

You should click on correct button on this page which you want to automate.
Post URL to this page or HTML snippet with this desired button.

 

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:

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST APIErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 *

 

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskSchedulerIE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related:How to get reference to PDF object embeded in IE * IE on Windows 11

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

I also encourage you to check awesome @trancexx code:  * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuffOnHungApp handlerAvoid "AutoIt Error" message box in unknown errors  * HTML editor

winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2023-04-24

Link to comment
Share on other sites

Here the code :

<html>
<head>
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no" name="viewport"><link rel="stylesheet" href="/assets/1742925a49b128c8ddd9.css" integrity="sha256-gbbUxZq/ZDW6Lyn1wXZBYIk8xJO4pB/vr5go4JrsqXY= sha512-MjNm7ek1wd80KIBUyd43iQhdA7RQq+t111By3YG7OoAkwB8I/92LBYHpGAVKWy/DeY8Wqp8dpucT9YTYwpYIvQ=="><link rel="icon" href="data:image/png;base64,0000" type="image/png">  <title>#testchan</title>
</head>
<body>
  <div id="app-mount"><div data-reactroot="" class=""><div class="titlebar"><div class="titlebar-edge"></div><!-- react-empty: 4 --></div><div class="app flex-vertical theme-light"><!-- react-empty: 275 --><div class="layers flex-vertical flex-spacer"><div class="layer"><section class="flex-horizontal flex-spacer"><div class="guilds-wrapper"><!-- react-empty: 58 --><div class="scroller-wrap"><div class="scroller guilds"><div class="guild"><div class="guild-inner" draggable="false" style="border-radius: 25px; background-color: rgb(46, 49, 54);"><a draggable="false" href="/channels/@me"><div class="friends-icon"></div></a></div></div><div class="friends-online">0 en ligne</div><span class="dms"></span><div class="guild-separator"></div><div class="guild unread"><div draggable="true"><div class="guild-inner" draggable="false" style="border-radius: 25px;"><a draggable="false" class="avatar-small" href="/channels/266140664310267906/266140664310267906" style="background-image: url("https://cdn.discordapp.com/icons/266140664310267906/e1e10838fd708c93d57e711907b706c9.png");"></a></div></div></div><div class="guild selected"><div draggable="true"><div class="guild-inner" draggable="false" style="border-radius: 15px; background-color: rgb(114, 137, 218);"><a draggable="false" class="avatar-small" href="/channels/282049246054842369/282049393673109505" style="font-size: 18px;">t</a></div></div></div><button class="guild guilds-add">+</button><button class="btn-download-apps"><svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><circle id="a" cx="25" cy="25" r="25"></circle><mask id="b" width="50" height="50" x="0" y="0" fill="#fff"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#a"></use></mask></defs><g fill="none" fill-rule="evenodd"><use class="download-app-fill" fill="#2E3136" stroke="#FFF" stroke-opacity=".1" stroke-width="4" mask="url(#b)" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#a"></use><path fill="#FFF" d="M17 35v2h16v-2" opacity=".30000001"></path><path fill="#43B581" d="M31.59 23.59L26 29.17V13h-2v16.17l-5.58-5.59L17 25l8 8 8-8"></path></g></svg><!-- react-text: 76 -->Télécharger les applications<!-- /react-text --></button></div></div><!-- react-empty: 77 --></div><div class="flex-vertical channels-wrap"><div class="flex-vertical flex-spacer guild-channels-wrapper"><div class="guild-header"><header><span>testau3</span><svg width="18" height="18" class="dropdown-button"><g fill="none" fill-rule="evenodd"><path d="M0 0h18v18H0"></path><path stroke="#FFF" d="M4.5 4.5l9 9" stroke-linecap="round"></path><path stroke="#FFF" d="M13.5 4.5l-9 9" stroke-linecap="round"></path></g></svg></header></div><!-- react-empty: 352 --><div class="channel-notices"></div><div class="scroller-wrap fade dark"><div class="scroller guild-channels"><div style="width: 100%; height: 0px; visibility: hidden;"></div><header><span>Salons textuels</span><button></button></header><div class="channel channel-text" draggable="true"><a draggable="false" href="/channels/282049246054842369/282049246054842369"><span class="channel-name">general</span><button class="icon icon-instant-invite"></button><button class="icon icon-settings"></button><!-- react-empty: 451 --></a></div><div class="channel channel-text selected" draggable="true"><a draggable="false" href="/channels/282049246054842369/282049393673109505"><span class="channel-name">testchan</span><button class="icon icon-instant-invite"></button><button class="icon icon-settings"></button><!-- react-empty: 723 --></a></div><header><span>Salons vocaux</span><button></button></header><div class="channel channel-voice" draggable="true"><a draggable="false"><span class="channel-arrow"></span><span class="channel-name">General</span><button class="icon icon-instant-invite"></button><button class="icon icon-settings"></button></a><!-- react-empty: 545 --></div><div style="width: 100%; height: 0px; visibility: hidden;"></div></div></div><!-- react-empty: 364 --></div><!-- react-empty: 544 --><div class="account"><div class="avatar-small stop-animation" style="background-image: url("/assets/322c936a8c8be1b803cd94861bdfa868.png");"><div class="status status-online"></div></div><div class="account-details"><span class="username">jresine</span><span class="discriminator"><!-- react-text: 190 -->#<!-- /react-text --><!-- react-text: 191 -->1111<!-- /react-text --></span></div><div class="btn-group"><button class="btn btn-mute disabled"></button><button class="btn btn-deafen"></button><button class="btn btn-settings"></button></div></div></div><div class="chat flex-vertical flex-spacer"><div class="title-wrap"><!-- react-empty: 367 --><div class="title"><span class="channel-name">testchan</span></div><div class="no-topic"></div><div class="header-toolbar"><button type="button" class=""><span style="background-image: url("data:image/svg+xml;base64,+=");"></span></button><button type="button" class=""><span style="background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0xIDFoMjR2MjRIMSIvPgogICAgPHBhdGggZmlsbD0iIzk5QUFCNSIgZD0iTTE1IDE1VjZoLTR2OWgtLjUwODk5NDgyQzEwLjIyNzg4MDQ4IDE1IDEwIDE1LjIyMzg1NzYgMTAgMTUuNWMwIC4yNjgwNjY0LjIxOTgzMDUuNS40OTEwMDUxOC41aDUuMDE3OTg5NjRDMTUuNzcyMTE5NTIgMTYgMTYgMTUuNzc2MTQyNCAxNiAxNS41YzAtLjI2ODA2NjQtLjIxOTgzMDUtLjUtLjQ5MTAwNTE4LS41SDE1em0yLTloMVY0SDh2MmgxdjhsLTIgMnYyaDUuMnY0aDEuNnYtNEgxOXYtMmwtMi0yVjZ6Ii8+CiAgPC9nPgo8L3N2Zz4=");"></span></button><button type="button" class="active"><span style="background-image: url("data:image/svg+xml;base64,0000;);"></span></button><div class="search"><div class="search-bar search-bar-light"><div class="DraftEditor-root"><div class="public-DraftEditorPlaceholder-root"><div class="public-DraftEditorPlaceholder-inner" id="placeholder-crof0">Rechercher</div></div><div class="DraftEditor-editorContainer"><div aria-describedby="placeholder-crof0" class="public-DraftEditor-content" contenteditable="true" role="textbox" spellcheck="false" style="outline: none; white-space: pre-wrap; word-wrap: break-word;"><div data-contents="true"><div class="" data-block="true" data-editor="crof0" data-offset-key="ajicu-0-0"><div data-offset-key="ajicu-0-0" class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr"><span data-offset-key="ajicu-0-0"><br data-text="true"></span></div></div></div></div></div></div><div class="search-bar-icon"><i class="icon icon-search-bar-eye-glass visible"></i><i class="icon icon-search-bar-clear"></i></div></div></div><div class="separator"></div><!-- react-empty: 394 --><button type="button" class=""><span style="background-image: url("/assets/7b76e009f7d10c9f76da336a7566db3b.svg");"></span></button><button type="button" class=""><span style="background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiI+CiAgPHBhdGggZmlsbD0iIzk5QUFCNSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOCA5LjMyNTg0MjdjMCAuNzQxNTczMDMuNjE2NDM4MzYgMS4zNTk1NTA1NiAxLjM1NjE2NDM4IDEuMzU5NTUwNTYuNzM5NzI2MDMgMCAxLjM1NjE2NDQtLjYxNzk3NzUzIDEuMzU2MTY0NC0xLjM1OTU1MDU2IDAtMS40ODMxNDYwNyAxLjYwMjczOTctMS41NDQ5NDM4MiAxLjc4NzY3MTIyLTEuNTQ0OTQzODIuMTg0OTMxNSAwIDEuNzg3NjcxMjMuMDYxNzk3NzUgMS43ODc2NzEyMyAxLjU0NDk0Mzgydi4zMDg5ODg3NmMwIC42MTc5Nzc1My0uMzA4MjE5MTggMS4xMTIzNTk1NS0uODYzMDEzNyAxLjQyMTM0ODMybC0xLjIzMjg3NjcuNjc5Nzc1MjhjLS42NzgwODIyLjM3MDc4NjUtMS4wNDc5NDUyIDEuMDUwNTYxOC0xLjA0Nzk0NTIgMS43OTIxMzQ4M3YxLjExMjM1OTUyQzExLjE0MzgzNTYzIDE1LjM4MjAyMjUgMTEuNzYwMjczOTYgMTYgMTIuNSAxNmMuNzM5NzI2MDMgMCAxLjM1NjE2NDM4LS42MTc5Nzc1IDEuMzU2MTY0MzgtMS4zNTk1NTA1NnYtLjY3OTc3NTI4bC44NjMwMTM3LS40MzI1ODQyN0MxNi4xMzY5ODYzIDEyLjc4NjUxNjgyIDE3IDExLjMwMzM3MDggMTcgOS42OTY2Mjkydi0uMzcwNzg2NUMxNyA2LjQ4MzE0NjA3IDE0LjcxOTE3ODA4IDUgMTIuNSA1IDEwLjIxOTE3ODA4IDUgOCA2LjQ4MzE0NjA3IDggOS4zMjU4NDI3ek0xMi41IDE3Yy0yIDAtMiAzIDAgM3MyLTMgMC0zeiIvPgo8L3N2Zz4=");"></span></button></div></div><div class="content flex-spacer flex-horizontal"><div class="flex-spacer flex-vertical"><div class="messages-wrapper"><div class="scroller-wrap"><div class="scroller messages"><div class="empty-message"><h1><!-- react-text: 743 -->Bienvenue au début de votre conversation du salon <!-- /react-text --><strong><!-- react-text: 745 -->#testchan<!-- /react-text --></strong><!-- react-text: 746 -->.<!-- /react-text --></h1></div><div class="message-group hide-overflow"><div class="avatar-large stop-animation" style="background-image: url("/assets/322c936a8c8be1b803cd94861bdfa868.png");"></div><div class="comment"><div class="message first"><div class="body"><h2><span class="username-wrapper"><strong class="user-name">Jresine</strong></span><span class="highlight-separator"> - </span><span class="timestamp">Aujourd'hui à 08:23</span></h2><div class="message-text"><div class="btn-option"></div><div class="btn-reaction"></div><div class="markup"><!-- react-text: 780 -->test<!-- /react-text --></div></div></div><div class="accessory"></div></div><div class="message"><div class="body"><div class="message-text"><div class="btn-option"></div><div class="btn-reaction"></div><div class="markup"><!-- react-text: 799 -->123<!-- /react-text --></div></div></div><div class="accessory"></div></div></div></div></div></div></div><form><div class="channel-textarea"><div class="channel-textarea-inner"><div class="channel-textarea-upload"><input type="file" class="file-input" multiple="" style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; opacity: 0; cursor: pointer;"></div><textarea rows="1" placeholder="Envoyer un message dans #testchan" style="height: auto; overflow: hidden;"></textarea><div class="channel-textarea-emoji"><div class="sprite-item" style="background-image: url("/assets/4e51af83c4879cf313ad553bdc20dcf7.png"); background-size: 242px 110px;"></div></div></div></div><!-- react-empty: 414 --></form></div><div class="channel-members-wrap"><div class="scroller-wrap fade light"><div class="scroller channel-members"><div style="width: 100%; height: 0px; visibility: hidden;"></div><h2><!-- react-text: 425 -->En ligne<!-- /react-text --><!-- react-text: 426 --><!-- /react-text --><!-- react-text: 427 -->1<!-- /react-text --></h2><div class="member member-status member-status-online"><div class="avatar-small stop-animation" style="background-image: url("/assets/322c936a8c8be1b803cd94861bdfa868.png");"><div class="status status-online"></div></div><div class="member-inner"><div class="member-username"><span class="member-username-inner">Jresine</span></div></div></div><div style="width: 100%; height: 0px; visibility: hidden;"></div></div></div><!-- react-empty: 420 --></div></div></div></section></div></div><div class="upload-area"><div class="upload-drop-modal"><div class="bgScale"></div><div class="inner"><div class="icons"><div class="wrap-one"><div class="icon one"></div></div><div class="wrap-three"><div class="icon three"></div></div><div class="wrap-two"><div class="icon two"></div></div></div><div class="title">Glisser-déposer</div><div class="instructions"><pre>Vous pouvez ajouter des commentaires avant le transfert.
Maintenez la touche Maj pour envoyer directement.</pre></div></div></div></div><!-- react-empty: 153 --><!-- react-empty: 154 --><!-- react-empty: 155 --></div><div class="tooltips"></div><div class="tutorial-indicators"></div><div class="theme-light"></div><div class="modal-container"></div><!-- react-empty: 643 --><span class="incoming-calls"></span><!-- react-empty: 271 --></div></div>
  <script>window.__require = window.require</script>
  <script>window.__OVERLAY__ = window.overlay != null</script><script>!function(){if(null!=window.WebSocket){var n=function(n){try{var e=localStorage.getItem(n);return null==e?null:JSON.parse(e)}catch(o){return null}},e=n("token"),o=n("gatewayURL");if(e&&o){var t=null!=window.__require?"etf":"json",a=6,r=o+"/?encoding="+t+"&v="+a;console.log("[FAST CONNECT] "+r+", encoding: "+t+", version: "+a);var s=new WebSocket(r);s.binaryType="arraybuffer";var l=Date.now(),c={open:!1,gateway:r,messages:[]};s.onopen=function(){console.log("[FAST CONNECT] connected in "+(Date.now()-l)+"ms"),c.open=!0},s.onclose=s.onerror=function(){window._ws=null},s.onmessage=function(n){c.messages.push(n)},window._ws={ws:s,state:c}}}}();</script><script src="//d2wy8f7a9ursnm.cloudfront.net/bugsnag-3.min.js" data-apikey="261992831938f41f01ac83576bec95da"></script>
<script src="/assets/c937210cb42522274117.js" integrity="sha256-WTHM1b6zI7Px64poo8Lu6JAWvrt+HKpTTaBwFGqgEuQ= sha512-/bJxX+5bsCloUEFgxBKp3Dx1u4pzEW6YFWryO84snOe1JY7tbu7Z0LaUEQka3d96Tn6RsOWRYdu3iaCsP7WbCw=="></script><script src="/assets/1742925a49b128c8ddd9.js" integrity="sha256-CVQXnE9/S80k7r6eI4ksXD7RWMB5cBL7H2rq2PbpGf4= sha512-6uM08CFRVUR96bKWOySZ4VvNciVOMI2p2CKjyXDkfBvf03Hr0SxVaR27NQTfi1dHyZRKbQ0PVxmt6XqP98oahw=="></script>

</body>
</html>

Thank you :)

Link to comment
Share on other sites

Thank you for your help. The text box is filled with '' new content ''  but this one is still not sent, the problem is that there is no button sent, it would require a function to send the text.

Edited by jresine
Link to comment
Share on other sites

5 hours ago, Subz said:

 

Local $oTextAreas = _IETagNameGetCollection($oIE, "textarea")
For $oTextArea In $oTextAreas
    If $oTextArea.GetAttribute("placeholder") = "Envoyer un message dans #testchan" Then _IEFormElementSetValue($oTextArea, "New Content")
    _IEFormSubmit($oTextArea)
Next

 

I have tested _IEFormSubmit($oTextAreas) but not work :/

IE.au3 T3.0-2 Error from function _IEFormSubmit, $_IESTATUS_InvalidObjectType

Link to comment
Share on other sites

I also try doing a controlsend {enter} and it works. The problem is that the window must be active and I have not found any other solution on the forum. There may be a UDF to send commands without the window being active but I have not found it by doing search.

The purpose of my script is to make a "responder" for discord, I can read the last messages and the automatic answer works with controlsend {enter}. The trick is that I would like to answer without the window being active, for example if I watch a movie or work.

Edited by jresine
Link to comment
Share on other sites

I think I understand now, you mean something like this:

Local $oTextAreas = _IETagNameGetCollection($oIE, "TextArea")
For $oTextArea In $oTextAreas
    If $oTextArea.GetAttribute("placeholder") = "Envoyer un message dans #testchan" Then _IEFormElementSetValue($oTextArea, "Something")
    _IEAction($oTextArea, 'click')
Next
Local $oInputs = _IETagNameGetCollection($oIE, "Input")
For $oInput In $oInputs
    If $oInput.ClassName = 'file-input' Then _IEAction($oInput, 'click')
Next

 

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...