Sign in to follow this  
Followers 0
smallbit

FF.au3 put html code into site

4 posts in this topic

<tr>

    <td class="ok"></td>
    <td class="eV">
        <div id=":91" class="oj">
            <div class="wO nr l1">
                <input class="wA" aria-hidden="true" tabindex="-1"></input>
        """""--I want put her HTML CODE------""""""
                <textarea id=":9c" class="vO" aria-label="Do" dir="ltr" tabindex="1" autocorrect="off" autocapitalize="off" autocomplete="false" spellcheck="false" name="to" rows="1" aria-haspopup="true" style="width: 0px;"></textarea>
                <div class="aA6"></div>
            </div>
        </div>
    </td>

</tr>

I want put html code into site.

PUT CODE

<div class="vR">

    <span class="vN vQ a3q" email="">
        <div class="vT">

            MyFriends@gmail.com

        </div>
        <div class="vM"></div>
    </span>
    <input type="hidden" value="MyFriends@gmail.com" name="to"></input>

</div>

So how to do it???

Share this post


Link to post
Share on other sites



<tr>

    <td class="ok"></td>
    <td class="eV">
        <div id=":91" class="oj">
            <div class="wO nr l1">
                <input class="wA" aria-hidden="true" tabindex="-1"></input>
        """""--I want put her HTML CODE------""""""
                <textarea id=":9c" class="vO" aria-label="Do" dir="ltr" tabindex="1" autocorrect="off" autocapitalize="off" autocomplete="false" spellcheck="false" name="to" rows="1" aria-haspopup="true" style="width: 0px;"></textarea>
                <div class="aA6"></div>
            </div>
        </div>
    </td>

</tr>

I want put html code into site.

PUT CODE

<div class="vR">

    <span class="vN vQ a3q" email="">
        <div class="vT">

            MyFriends@gmail.com

        </div>
        <div class="vM"></div>
    </span>
    <input type="hidden" value="MyFriends@gmail.com" name="to"></input>

</div>

So how to do it???

Trying write exe on gmail. Application to do send email for several recipients.

If write in space Addressees and put enter. In html code site create "PUT CODE", so I think how i can make put code into html.

Now i do code to send email.

#include <FF.au3>
Func gmailON($login,$pass,$logxpath,$passxpath,$clickxpath)
   $a=_FFXPath( $logxpath, "", 9)
   _FFObj($a, "value", $login)

  ; $cField = "Passwd"
   ;_FFXPath("//form//input[@name='" & $cField & "']")
   ;_FFCmd("FFau3.xpath.value='" & $pass & "'")

   $b=_FFXPath( $passxpath, "", 9)
   _FFObj($b,"value", $pass)

   $c=_FFXPath( $clickxpath, "", 9)
   _FFClick($c)
EndFunc
Func email($URL)
   _FFOpenURL($URL) ; open URL to send email and analyze the field code for text recipients
  ;Her I write code now
EndFunc
$log="putlogin"
$passwd="putpassword"
$xpath1="//input[@id='Email']"
$xpath2="//input[@id='Passwd']"
$xpath3="//input[@id='signIn']"
_FFConnect(Default, Default, 3000)
_FFOpenURL("https://accounts.google.com/ServiceLogin?service=mail&continue=https://mail.google.com/mail/&hl=pl")
gmailON($log,$passwd,$xpath1,$xpath2,$xpath3)
$URLnewEmail="https://mail.google.com/mail/#inbox?compose=new"
email($URLnewEmail)

Share this post


Link to post
Share on other sites

What's wrong with just sending carbon copies (cc field in your email)? That's what it's for.

Share this post


Link to post
Share on other sites

smallbit.

I am with czardas here - why do you need to inject HTML into a site to send emails to "several recipients" rather than just copying it to them? :huh:

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

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  
Followers 0