boshi Posted January 10, 2012 Posted January 10, 2012 (edited) Hello Autoit fella..I made a script to fill in form but the problem is, the script cannot detect the text area because it is inside the Facebook Iframe [as the screenshot attached]the url usually like this: https://www.facebook.com/thefanpagename?sk=app_163706647070644meaning it is an apps inside facebook. the source code of the form as below:expandcollapse popup<div id="header_promotion" class="ss_box_header ss_promotion_header"> <h3>Promotion</h3> </div> <div id="content_promotion" class="ss_box_content ss_promotion_content"> <div id="header_msg_promotion" class="ss_promotion_header_msg"></div> <form id="form_promotion" class="ss_promotion_form" method="post" action="/facebook/form/3355393" novalidate="novalidate"><div style="margin: 0px; padding: 0px; display: inline;"><input name="authenticity_token" value="ZjE2tDCq2bCItnxLf79QXqtjkaZ2YI5pgl+DrIfPtb0=" type="hidden"></div> <input id="simulated" name="simulated" value="137101329662830" type="hidden"> <div id="promotion_email_block" class="field_block email_field_block"> <label for="promotion_email"><span class="main_field_label">Emel Anda</span><span class="required">*</span></label> <input id="promotion_email" name="promotion[email]" type="text"> </div> <div id="promotion_name_block" class="horizontal_container name_field_block"> <label for="promotion_name"><span class="main_field_label">Nama Anda</span><span class="required">*</span></label> <div id="promotion_first_name_block" class="field_block first_child first_name_field_block"> <input id="promotion_first_name" name="promotion[first_name]" type="text"> <label class="sublabel" for="promotion_first_name">First</label> </div> <div id="promotion_last_name_block" class="field_block last_name_field_block"> <input id="promotion_last_name" name="promotion[last_name]" type="text"> <label class="sublabel" for="promotion_last_name">Last</label> </div> <div class="clear"></div> </div> <div id="promotion_phone_block" class="field_block phone_field_block"> <label for="promotion_phone"><span class="main_field_label">Nombor HP</span><span class="required">*</span></label> <input id="promotion_phone" name="promotion[phone]" type="text"> </div> <div id="promotion_custom_field_1_block" class="field_block custom_field_1_field_block select_field_type_block"> <label for="promotion_custom_field_1"><span class="main_field_label">Negeri</span><span class="required">*</span></label> <select id="promotion_custom_field_1" size="0" name="promotion[custom_field_1]"><option value="WP Kuala Lumpur">WP Kuala Lumpur</option> <option value="Selangor">Selangor</option> <option value="Negeri Sembilan">Negeri Sembilan</option> <option value="Melaka">Melaka</option> <option value="Johor">Johor</option> <option value="Pahang">Pahang</option> <option value="Terengganu">Terengganu</option> <option value="Perak">Perak</option> <option value="Pulau Pinang">Pulau Pinang</option> <option value="Kedah">Kedah</option> <option value="Kelantan">Kelantan</option> <option value="Sabah">Sabah</option> <option value="Sarawak">Sarawak</option> <option value="WP Labuan">WP Labuan</option></select> </div> <div id="promotion_submit_block" class="field_block submit_field_block"> <a class="form_submit ss_btn" onclick="return SST.form_submit(widget_3355393);" href="#">Daftar</a> </div> <div id="message_promotion" class="ss_promotion_message ajax_message"></div> </form> <a style="display: none;" id="on_success_promotion" onclick="ss_gift_popup(gift_popup, widget_3355392, null, this); return false;" href="#"></a> </div> <div id="footer_promotion" class="ss_box_footer ss_promotion_footer"> </div>My autoit code goes like this<snip> Edited January 10, 2012 by Melba23 Spam code removed
Moderators Melba23 Posted January 10, 2012 Moderators Posted January 10, 2012 boshi,Looks to me as if you are trying to spam a social media promotion page. Please read the Forum Rules and you will understand why this thread is now locked. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Recommended Posts