Set focus to document window / Bookmark extension

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default Set focus to document window / Bookmark extension

    Does anyone know of a way to set focus to a document window?

    I've written an extension for Dreamweaver coders. It saves the current
    line/document so you can return to it later ("bookmark it"). It's a floater
    and I will be making it available shortly (unless someone's already written a
    decent one -- please let me know if that's the case). I wrote it to keep
    myself from getting lost when coding large files.

    The issue is that when someone clicks the Go button on my floater, it returns
    the document to the correct position, but the focus is still on the floater.
    Does anyone know how I can set focus to either the code view or document
    windows?

    ThoughtProc Guest

  2. Similar Questions and Discussions

    1. Determine window focus
      I'm trying to write a Perl script that will watch for an IE window to get the focus, grab the COM2 input and output it as if it were from the...
    2. Jump to specific bookmark upon opening PDF document
      Here's the bone that you wanted thrown....Try using a "Named Destination" See the PDF Open Parameters documentation and/or Acrobat Help for more...
    3. Layer Focus Issues in Extension
      I'm having a very weird issue with the Dreamweaver Extension I am building. The page consists of several overlapping LAYER tags that are swapped by...
    4. document tabs vanished / can't maximize document window
      I am having the same problem & it also appears & disapears at random. I tried maximizing the document window to no avail. Any ideas will be...
    5. Window Focus
      I have a problem with opening external files from a Fullscreen Director-Movie. I have to open Powerpoint Files from Director and am using the...
  3. #2

    Default Re: Set focus to document window / Bookmark extension

    > Does anyone know how I can set focus to either the code view or document
    > windows?
    dreamweaver.setActiveWindow() ?
    or dom.setView() ?

    Have a look in the JS API , Workspace > Window functions.

    Good luck.



    Phil Guest

  4. #3

    Default Re: Set focus to document window / Bookmark extension

    I tried setActiveWindow, but focus still remains on the button in my
    Floater - i.e. I still have to click on the code window to make it active
    again.

    "Phil" <nomail@nospam.com> wrote in message
    news:en6fjo$7vu$1@forums.macromedia.com...
    >> Does anyone know how I can set focus to either the code view or document
    >> windows?
    >
    > dreamweaver.setActiveWindow() ?
    > or dom.setView() ?
    >
    > Have a look in the JS API , Workspace > Window functions.
    >
    > Good luck.
    >
    >
    >

    Seth Rubin Guest

  5. #4

    Default Re: Set focus to document window / Bookmark extension


    Hey did you ever release this extension? I have been hoping for something like this in dw because I really used it in homesite+ with the ctrl+k shortcut. Please let me know.
    Andrew (Webworld) Guest

  6. #5

    Default Re: Set focus to document window / Bookmark extension

    Well, this is my request for a similar extension ... I used Textpad and live and die by the bookmark-this-line when editing code.
    tobysimmons Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139