Jump to content
Sign in to follow this  
Skrip

IE.au3 Help

Recommended Posts

Skrip

I am making an auto-poster, for notifaction of a program on my computer.

I need it to post here http://z7.invisionfree.com/Logs/index.php?...CODE=00&f=1 But I can't get the form names. Can anybody retrive those for me, please?

For name - Title - Description - actual post box.

Thanks.


[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites
SmOke_N

Form Information - http://z7.invisionfree.com/Logs/index.php?...CODE=00&f=1

    * Collapse All
    * Expand All

http://z7.invisionfree.com/Logs/index.php?...CODE=00&f=1
1 form
Form
Id  Name    Method  Action
    REPLIER post    http://z7.invisionfree.com/Logs/index.php?

Elements
Index   Id  Name    Type    Value   Label   Size    Maximum Length  State
0       st  hidden  0               
1       act hidden  Post                
2       s   hidden  f0a63eb7a19b96ad17b8dfa0d45f8c50                
3       f   hidden  1               
4       auth_key    hidden  c2bb169fd3a327cdad37869cbb8d6c70                
5       CODE    hidden  01              
6       UserName    text            40  40  
7       TopicTitle  text            40  50  
8       TopicDesc   text            40  40  
9       bbmode  radio   ezmode              
10      bbmode  radio   normal              

Checked
11      B   button  B               
12      I   button  I               
13      U   button  U               
14      ffont   select                  
15      fsize   select                  
16      fcolor  select                  
17      url button  http://                 
18      img button  IMG                 
19      email   button  @               
20      QUOTE   button  QUOTE               
21      CODE    button  CODE                
22      LIST    button  LIST                
23      tagcount    text    0       3   3   

Readonly
24      helpbox text    Hint: Use Guided Mode for helpful prompts       50  120 

Readonly
25      Post    textarea                    
26      enableemo   checkbox    yes             

Checked
27      enablesig   checkbox    yes             

Checked
28      enabletrack checkbox    1               
29      iconid  radio   1               
30      iconid  radio   2               
31      iconid  radio   3               
32      iconid  radio   4               
33      iconid  radio   5               
34      iconid  radio   6               
35      iconid  radio   7               
36      iconid  radio   8               
37      iconid  radio   9               
38      iconid  radio   10              
39      iconid  radio   11              
40      iconid  radio   12              
41      iconid  radio   13              
42      iconid  radio   14              
43      iconid  radio   0               

Checked
44      submit  submit  Post New Topic              
45      preview submit  Preview Post                
http://pagead2.googlesyndication.com/pagea...amp;u_nmime=109
0 forms
http://pagead2.googlesyndication.com/pagea...amp;u_nmime=109
0 forms


            
                


    Edited  by SmOke_N
    
    

            
        

        
            
                
                    

        
        
            
                
                    
                
            
            
            
        
    


                
            
            
                
                    
                    
                    
                
                
                    
                
            
        

        
            




  
  
    
    Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

  


        
    

    
        
            Share this post
            
            Link to post
            
            
            

            
                Share on other sites
                

    
        
            

    

        
            

    

        
            

    

        
            

    

        
            

    

        
    

            
        
    

    

                    
                        
                    
                
                    
                    
                    






    

    
        
            
Gif
              

    
        
    
             1
    
        
    

        
        
            

    
        
    

        
    
    
        
Gif   

    
        
    
             1
    
        
    

        
        
            
                Laikon Kafekoption
            
            

            
                

    
        
    

            
            Active Members
            
            
                

    
        
    
             1
    
        
    

                1,068 posts
                
                

            
        
    
    
        


    

    
        
            
                
                
                
                    
                
                
            
        

        
            Posted 
            
                
                
            
        
    

    


    
        
        
            @SmOke_N 

How did you produced this listing? I am searching for such a tool. Thanks.
you can just open the source and press CTRL+F and type in "FORM"
then it will search for it and you will find the form

name='REPLIER'

Share this post


Link to post
Share on other sites
Skrip

Thanks alot Smoke_N! But one thing. I can't get it to submit the information. Why isn't this working?

$oIE = _IECreate ("http://z7.invisionfree.com/Logs/index.php?act=Post&CODE=00&f=1", 0, 1 )
$oForm = _IEFormGetCollection ($oIE, 0)
$oQuery = _IEFormElementGetCollection ($oForm, 44)
    _IEFormSubmit($oQuery)

[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites
DaleHohm

Are you running this in SciTe? If so, you should see a diagnostic message that should tell you that you have an invalid object type passed to _IEFormSubmit -- it takes a form reference, not a form element reference.

If $oQuery is a submit button, you can use _IEAction($oQuery, "click") -- see the remarks for _IEFormSubmit.

Dale

Edit: typos

Edited by DaleHohm

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites
Skrip

Awesome! Thanks Dale, I got it working.


[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

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  

×