SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Apr 2006
    Location
    Cork, Ireland
    Posts
    41
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Right clicking using Silktest???

    Can anybody tell me how to right click on something using silktest?

    I want to right click on an icon in the taskbar.
    You know you've achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away

  2. #2
    Senior Member
    Join Date
    Nov 1999
    Location
    Eagle, ID,USA
    Posts
    1,035
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Right clicking using Silktest???

    check out PopupSelect method
    Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.

  3. #3
    Member
    Join Date
    Dec 1999
    Location
    Santa Clara, CA
    Posts
    39
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Right clicking using Silktest???

    PopupSelect should work in majority of cases and you can also try using...

    RECT rtPoint = Object.GetRect()
    Object.Click (2, rtPoint.xPos, rtPoint.yPos)

    xPos and yPos get tricky as they get you top left corner coordinates of Object. Try it if PopupSelect doesn't work and you should be able to figure out.

  4. #4
    Member
    Join Date
    Feb 2006
    Location
    St. Petersburg, Fl
    Posts
    56
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Right clicking using Silktest???

    object.Click (2)

    From help:

    *********************

    Click method (AnyWin, PushButton)

    Class

    AnyWin class, PushButton class

    Action

    Clicks either a window or a pushbutton.

    Syntax

    object.Click ([iButton, iXpos, iYpos, bRawEvent])

    Variable Description
    iButton Optional. The number of the mouse button to click (1 for left, 2 for right, 3 for center).
    "Fox News gives you both sides of every story: the president's side, and the vice president's side."

  5. #5
    Member
    Join Date
    Apr 2006
    Location
    Cork, Ireland
    Posts
    41
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Right clicking using Silktest???

    Thanks for your help guys. This helped a lot.
    You know you've achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.00%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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 05:48 AM.

Copyright BetaSoft Inc.