SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 7 of 7
  1. #1
    Senior Member
    Join Date
    Sep 2002
    Location
    ONDlodnol
    Posts
    111
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    JavaDialogBox prints DeskTop

    Can some one HELP when I do this

    [ ] dclass = DialogBox1.ListView("#1").GetClass()
    [ ] lsvalue = DialogBox1.ListView("#1").GetEverything()
    [ ]
    [ ] print(dclass)//Prints ListView
    [ ] ListWrite (lsvalue, "C:\MyDialog.txt")//print see file attached.


    My desktop icons why?




    ------------------
    Goodness is a part of life just like the Devil

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: JavaDialogBox prints DeskTop

    What does the declaration look like for DialogBox1 ??


    John


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

  3. #3
    Senior Member
    Join Date
    Dec 2001
    Location
    San Jose, CA
    Posts
    102
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: JavaDialogBox prints DeskTop

    I bet you it is:
    Window DialogBox DialogBox1
    tag "#1"


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

  4. #4
    Senior Member
    Join Date
    Sep 2002
    Location
    ONDlodnol
    Posts
    111
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: JavaDialogBox prints DeskTop

    That is correct
    [-] window DialogBox DialogBox1
    [ ] tag "#1"


    Why?

    ------------------
    Goodness is a part of life just like the Devil

  5. #5
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: JavaDialogBox prints DeskTop

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by spaceraider:
    That is correct
    [-] window DialogBox DialogBox1
    [ ] tag "#1"
    Why?
    <HR></BLOCKQUOTE>

    Because the use of "#1" in the tag tells Silk to use the first instance of class DialogBox that it sees.

    When you run the first test, Silk either:

    1. releases input focus to the previously active application - as it you pressed Alt-Shift-Tab. In your case it saw the desktop.

    2. OR it will take your direction from a SetActive() command and place input focus there.

    #1 is too general an identifier to use in many cases because you've in essence indicated to Silk that your subsequent code will work with any instance it might encounter.


    John


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

  6. #6
    Senior Member
    Join Date
    Sep 2002
    Location
    ONDlodnol
    Posts
    111
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: JavaDialogBox prints DeskTop

    So how do i correct this problem?

    ------------------
    Goodness is a part of life just like the Devil

  7. #7
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: JavaDialogBox prints DeskTop

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by spaceraider:
    So how do i correct this problem?
    <HR></BLOCKQUOTE>

    1. Replace the tag "#1" with the text string that matches the caption of the dialogbox.

    2. Compile the code using Run/Compile All.

    3. Open Record/Identifier. Slowly move the mouse cursor over the dialogbox caption to make sure that Silk shows the name that you assigned to that dialogbox.

    Step 1 identifies a specific, unique instance of dialogbox. Step 2 tells Silk what to look for. Step 3, ensures that what you and Silk see are exactly the same thing.


    John




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

 

 

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.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:13 PM.

Copyright BetaSoft Inc.