Jump to content
Sign in to follow this  
benydc

Var Button='' cannot click it inside JavaScript

Recommended Posts

benydc

I tried using the _IETagGetNameCollection for button and then this:

If $oTag.value = "submitform" Then
    ;If _IEPropertyGet($oTag, "innertext") = "submitform(" Then
        _IEAction($oTag, "click")

I tried both of them and didnt worked. Here is the Javascript code button:

<script language="javascript">...var button='';button+='<table border="0"id="table1"cellspacing="0"cellpadding="2">button+='<tr><td>';button+='<button type="submit" name="B5"style="height: 20; background-color: #6600FF; width:20" onclick="submitform(1);"></button></td>';var button2='<button type="submit"  name="B6" style="height: 20; background-color: #6600FF; width:20" disabled></button>';function incrCount(){window.status="Please Wait...";loaded++;....</script>

The error I get in the console:

C:\VastHitsBot\scipts\TEST2.au3 (29) : ==> Variable must be of type "Object".:
For $oTag In $colTags
For $oTag In $colTags^ ERROR

How do I get the javascript language so AutoIT can read whats inside the script as well?

One more inquire:

At the end of this month I get paid at work and I want to donate to AutoIT, is there any subscription that I can get more support?

Share this post


Link to post
Share on other sites
Melba23

benydc,

This looks as if you are trying to spam a manual traffic exchange site - VastHits. Your very first post on this forum said:

Ok, I am trying to attack to an url I opening

and mentioned the same site.

Have you read their T&Cs? If not, here is an extract:

In Brief, you are NOT allowed to:

Use robot/auto surf software of any kind.

which seems pretty definitive to me. :oops:

And as to your second point, you get as much support here as your questions deserve - which in your case is very little - and we certainly do not offer more help for cash. :doh:

To add to the fun, I see from reviewing your topics that in this one you slip up and use both your accounts in the same thread. Guess what - multiple accounts are not allowed here, and as you seem to add very little to the AutoIt community in either guise, they will both be permanently blocked. Now go away and find another forum to annoy. :bye:

M23


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

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×