Jump to content
Sign in to follow this  
diikee

setting a file name issue

Recommended Posts

diikee

<TD class=startsub>Firmware File <INPUT style="WIDTH: 240px" type=file size=31 name=firmware> </TD>

$ff = _IETagNameGetCollection($oIE, "INPUT")
    For $f in $ff 
        if ($f.name) = "firmware" Then
            _IEFormElementSetValue($f, "c:\fw\7.sys") ----->>>>>this path & file don't get set
            Sleep(1000)
            ExitLoop
        EndIf
        
    Next

--> IE.au3 V2.4-0 Error from function _IEFormElementSetValue, $_IEStatus_InvalidObjectType

(Browser securuty prevents SetValue of TYPE=FILE)

how to I handle such a case????

Share this post


Link to post
Share on other sites
diikee

Has anyone ran into this issue????

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.