SPONSORS:






User Tag List

Results 1 to 8 of 8
  1. #1
    Moderator
    Join Date
    May 2001
    Location
    SanJose,CA,USA
    Posts
    363
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Clicking End of HTMLTEXT

    Hi

    I need to click at end of the text (Here).

    To completely shut down your account, deleting all lists you own and unsubscribing you Click Here.


    If i do this i doesn't work.

    YourPreferences.HtmlText("To completely shut down your account, deleting all lists you own and unsubscribing you Click Here.").Click ()


    Any solutions

    thanks

  2. #2
    Senior Member
    Join Date
    Aug 1999
    Location
    San Diego, CA USA
    Posts
    219
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Clicking End of HTMLTEXT

    Change the Click () to TypeKeys ("<END>"). You also might have to do a SetFocus to that control first.

    ------------------

  3. #3
    Senior Member
    Join Date
    Sep 2000
    Location
    Twin Cities, MN, USA
    Posts
    653
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Clicking End of HTMLTEXT

    Judging from your post, it looks like the "Here" may be a link that may be accessible another way, by excluding the text. Am I right?

    YourPreferences.HtmlLink("Here").Click ()
    -or-
    YourPreferences.HtmlLink("Click Here").Click ()

    ------------------

  4. #4
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Clicking End of HTMLTEXT

    What does window declaration show to you??

    Use whatever tag it tells you and use it as the tag. The most useful tag is certainly the window tag.


    ------------------

  5. #5
    Moderator
    Join Date
    May 2001
    Location
    SanJose,CA,USA
    Posts
    363
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Clicking End of HTMLTEXT

    Hi

    pcostigan : I tried Setfocus with Type it doesn't work.

    SteveC : YourPreferences.HtmlLink("Here").Click () works fine for Netscape with My problems is it doesn't work in IE DOM.

    GodKnows: I attach the window declaration.


    [+] window BrowserChild YourPreferences
    [ ] tag "Your Preferences"
    [ ] parent Browser
    [ ]
    [+] HtmlText ClickHere
    [ ] tag "To completely shut down your account, deleting all lists you own and unsubscribing you from all lists you currently sub*"
    [ ] netscape4 tag "[HtmlLink]here"
    [ ]


    [ ] //IE 5.5 Tags
    [ ] //YourPreferences.HtmlText("To completely shut down your account, deleting all lists you own and unsubscribing you from all lists you currently sub*").Click ()


    [ ] //netscape 4.77 & 6.0 tags
    [ ] //YourPreferences.HtmlLink("here").Click ()

    I found a work around but its not good becuase it uses this.
    YourPreferences.HtmlText("To completely shut down your account, deleting all lists you own and unsubscribing you from all lists you currently sub*").Click (1,32,10)

    Advance thanks


  6. #6
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Clicking End of HTMLTEXT

    It is understood that you don't want to hard code those coordinates in your script. Can you do a "get" on that specific text to establish the coordinates at runtime and then pass those coordinates to your click method?

    ------------------

  7. #7
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Clicking End of HTMLTEXT

    Let me clarify something here. The myth of coordinates.

    If you ever traced your code, the default Click function does a (1,xSize/2,ySize/2) or(1,1,1)
    on the object of the browser(maybe other stuff too). When you say object.Click() the coordinate are relative to the object. If your object=BrowserPage.HtmlLink("Here") then your coordinate is relative to the link 'Here'. If your object=BrowserPage, then your coordinate is relative to your browser.

    Once again Automateordie has the correct code, unless proved wrong.

    2 tests to do to prove my point:

    BrowserPage.Click(1,1,1)
    BrowserPage.HtmlTextField("somewhere").Click(1,1,1 )

    You will see your mouse 'Click' on different places.


    [This message has been edited by GodKnows (edited 06-26-2001).]

  8. #8
    Member
    Join Date
    Dec 2000
    Location
    San Francisco, CA
    Posts
    51
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Clicking End of HTMLTEXT

    ...The myth of coordinates. ...

    What's the myth here? Isn't this documented in Silk's Help?

    ...2 tests to do to prove my point:...
    Shouldn't this is how it's is supposed to work in an OO way?

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:15 AM.

Copyright BetaSoft Inc.