Jump to content
Sign in to follow this  
lionfaggot

text disappears in form

Recommended Posts

lionfaggot

#NoTrayIcon
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_icon=c:\users\marshall\desktop\coolico.ico
#AutoIt3Wrapper_Compression=3
#AutoIt3Wrapper_UseUpx=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <GUIConstants.au3>
#include <IE.au3>
Opt("GUIOnEventMode" , 1)
Opt("TrayAutoPause",0)
global $go = 0
global $rand = Random(0, 9999, 1) & Random(0, 9999, 1) & Random(0, 9999, 1)
$GUI = GUICreate($rand, 900, 800)
$object = ObjCreate("Shell.Explorer.2")
$object_ctrl = GUICtrlCreateObj($object, 0, 0, 900, 800)
GUISetOnEvent($GUI_EVENT_CLOSE, "_quit")
GUISetState()
func _quit()
    Exit
EndFunc
global $rand2 = "poop" & Random(0, 9999, 1) & Random(0, 9999, 1) & Random(0, 9999, 1)
        _IENavigate($object, "http://vampirefreaks.com/edituser.php")
    _IELoadWait($object)
    $oform = _IEFormGetObjByName($object, "status_form_home")
    $post = _IEFormElementGetCollection($oform, 0)
    $submit = _IEFormElementGetCollection($oform, 1)
        _IEFormElementSetValue($post, $rand2)
    ;_IEAction($submit, "click")
    ;_IELoadWait($object)
while 1
sleep(100)
WEnd

when ie inputs the change into said form using _ieformelementsetvalue, value changes then goes blank an instant later. im highly confused at this point

(need a vf account or this wont do anything)

Edited by lionfaggot

Share this post


Link to post
Share on other sites
wakillon

Error to $oform = _IEFormGetObjByName($object, "status_form_home") --> IE.au3 V2.4-0 Warning from function _IEFormGetObjByName, $_IEStatus_NoMatch

I don't find any reference to "status_form_home", where did you find it ?

and _IELoadWait is not needed after a _IENavigate.


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
lionfaggot

<form name="status_form_home" action="/profiles/update_status.php"

method="post" onsubmit="updateStatus(1); return false;" >

and i dont get any error, the text just disappears. never happened to me before with ie lol

Share this post


Link to post
Share on other sites
lionfaggot

also, youd need a vf account to use this, perhaps makes it more annoying to help me :mellow:

Share this post


Link to post
Share on other sites
lionfaggot

knock

Share this post


Link to post
Share on other sites
lionfaggot

anyone? :\

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  

×