override the last location of the dw.browseForFolderURL

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

  1. #1

    Default override the last location of the dw.browseForFolderURL

    Hi all,

    Is it possible to override the last location of the dw.browseForFolderURL()?
    So that when I call the dw.browseForFileURL() function would the open select
    dialog box at the folder I set via ?myVar_Override?.
    So the user would not have to browse for the right folder it just opens in the
    right location set via my ?myVar_Override? they choose the file and its done.

    example ?
    ?MMLastFolderLocation? = myVar_Override



    webmouth Guest

  2. Similar Questions and Discussions

    1. Error: That location is controlled by another site.Please choose another location
      Hi, I was wondering if anybody came across this error before: "That location is controlled by another site. Please choose another location" I am...
    2. Why can't I override RenderBeginTag?
      I'm trying to make a custom control. I started off basing it on a ListBox, but because of the bug in that control that prevents it from rendering...
    3. <location> path authorization is not properly checked for override restrictions
      Hi, This is to make developers aware of a possible problem that shows up in the authentication mechanism in the Web.Config files. Here is the...
    4. override the url
      Hi I am working on a logo system for a site that uses jpg's and gif's i program in php and supply a count for each time an image is clicked on...
    5. Fscommand override
      I saw a year ago a post by someone, who said that not only the .exe files can be started from the projector. By using (as i can recall) a .bat file:...
  3. #2

    Default Re: override the last location of thedw.browseForFolderURL

    dreamweaver.browseForFolderURL('Title', 'Folder to Start In');

    envision3d Guest

  4. #3

    Default Re: override the last location of thedw.browseForFolderURL

    Hello envision3d,

    Thank your for the reply.
    It's not setting the "dreamweaver.browseForFolderURL()function I have an
    issue with.
    It's once someone selects a folder with the above function the
    dw.browseForFileURL() will start at the last location
    where the dreamweaver.browseForFolderURL() was called last and thats fine in
    most cases but I have a special need to be able to set the
    dw.browseForFileURL() starting point which does not have the parameter as does
    the "dreamweaver.browseForFolderURL()" function.

    But I know the DW has to have the Location store in memory or in a file
    somewhere. I'd like to write a new location to the variable holding that
    information.


    webmouth Guest

  5. #4

    Default Re: override the last location of thedw.browseForFolderURL

    I am a little confused on what you are saying, but you can do what you want
    with the function I supplied. It doesn't matter which folder they opened last,
    you set the starting point in the function. So everytime that function is run,
    it will start in the folder you specified. Don't use dw.browseForFileURL(),
    use the dreamweaver.browseForFolderURL('Title', 'Folder to Start In').

    Example:

    dreamweaver.browseForFolderURL('Select a Folder', dreamweaver.getSiteRoot());

    This will open the folder browser dialog with the default folder as the
    siteroot everytime no matter what folder they visited last.


    envision3d Guest

  6. #5

    Default Re: override the last location of thedw.browseForFolderURL

    HI envision3d,
    I found a hack set the var " fileURL" will the set the path location I like
    every time.
    it's not pretty but it gets the job done.

    browseForFileURL("select","",false,false,"","",tru e,fileURL)

    Thanks for your help.
    Cheers,
    Brian

    webmouth 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