Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default just open a folder


    how can i open a folder with lingo...
    ....i mean just open and view from windows a specific folder
    thank you





    garwspeed Guest

  2. Similar Questions and Discussions

    1. pdf will open in a folder but not through IE Browser
      I have a pdf burned on a CD. It has a link in an html page. When the link is pressed I receive an acrobat.exe error message. If I explore the CD...
    2. open a zip file or folder from a CD
      I created a CD with an autorun file that launches a Director interface when the CD is inserted. On the Director interface I would like to have a...
    3. Open Folder (Mac & PC)
      Is there a way to have director open Windows Explorer and the equivelent on the Mac. I need to build a crossplatform disc that launches a simple...
    4. Open folder?
      Once the folder is copied OK, you can open it (Windows) with: open "path to folder" with "explorer.exe" -- Bertil Flink Creative Media
    5. Folder stays open?? Help!
      In my local site view, File listing, I have one folder which opens any time the view is refreshed. I close it, and it pops open again if I expand...
  3. #2

    Default Re: just open a folder

    I'm pretty sure you can do it with the Buddy API Xtra. I believe you can use the baOpenFile() command and give it a folder path instead of a file path. You can get the Buddy API Xtra at [url]www.buddyapi.com[/url]

    Nathan
    Nathan Friesen Guest

  4. #3

    Default Re: just open a folder

    It depends on what look you want to give. If you just want to get the
    contents of a folder and display it in your own way, you can use
    getNthFileNameInFolder () and loop through the folder to get each item and
    put it into a field. That way you don't need an xtra.

    If you want the user to be able to choose the folder whose contents you want
    displayed then you'll need either buddyAPI or fileXtra4 (there are others as
    well)

    I like both but fileXtra4 if freeware for all features and functions where
    buddyAPI only gives you 2 or 3 free functions before you have to buy it.

    With fileXtra4 you would use the FileSelectDialog call to give the user the
    choice of folder then use the folderToList call to get a list of file names
    in that folder.

    Of course even if you want to specify the folder yourself, you can use
    folderToList to get a list of files of your specified path.

    --
    Craig Wollman
    Word of Mouth Productions
    phone 212 724 8302
    fax 212 724 8151
    [url]www.wordofmouthpros.com[/url]


    "garwspeed" <info@garwspeed.com> wrote in message
    news:boo6sj$3tn$2@forums.macromedia.com...
    >
    > how can i open a folder with lingo...
    > ...i mean just open and view from windows a specific folder
    > thank you
    >
    >
    >
    >
    >

    Word of Mouth Productions Guest

  5. #4

    Default Re: just open a folder

    > I'm pretty sure you can do it with the Buddy API Xtra.

    Yes, you can.
    > I believe you can use the baOpenFile() command and give it a folder path
    instead of a file path.

    Exactly right.

    Andrew

    Andrew Morton Guest

  6. #5

    Default Re: just open a folder

    You mean something like this?

    open ("explorer c:\windows")


    "garwspeed" <info@garwspeed.com> wrote in message
    news:boo6sj$3tn$2@forums.macromedia.com...
    >
    > how can i open a folder with lingo...
    > ...i mean just open and view from windows a specific folder
    > thank you
    >
    >
    >
    >
    >

    alchemist Guest

  7. #6

    Default Re: just open a folder

    FTR, the buddyAPI method has the advantage of being cross-platform.

    Andrew
    Andrew Morton Guest

  8. #7

    Default Re: just open a folder

    Advantage over what? FileXtra4 is, right? getNthFilenameInFolder is
    internal to Lingo so it is.

    I also like the idea that FileXtra4 is completely free although there are
    functions in buddyAPI that aren't in FileXtra4.

    --
    Craig Wollman
    Word of Mouth Productions
    phone 212 724 8302
    fax 212 724 8151
    [url]www.wordofmouthpros.com[/url]


    "Andrew Morton" <akm@in-press.co.uk.invalid> wrote in message
    news:bosv6h$pcj$1@forums.macromedia.com...
    > FTR, the buddyAPI method has the advantage of being cross-platform.
    >
    > Andrew

    Word of Mouth Productions Guest

  9. #8

    Default Re: just open a folder

    > Advantage over what?

    The Lingo "open" command in conjunction with explorer.
    > FileXtra4 is, right? getNthFilenameInFolder is internal to Lingo so it is.
    </Yoda> ? :-)

    We're both going beyond the OP's question.
    > I also like the idea that FileXtra4 is completely free
    Me too, but I'd purchased buddyAPI long before fileXtra got past version 1.

    Andrew
    Andrew Morton Guest

  10. #9

    Default Re: just open a folder

    I use:
    global path_of_folder
    open path_of_folder with "explorer"
    and work fine

    Is it right?

    Cheers
    ________________________________________________

    Fernando Vallés "Feno"
    Programador Multimedia Freelance
    [email]feno@recover-dir.com[/email]
    ::: Recover-dir La esperanza es lo ultimo que se pierde :::
    [url]http://www.recover-dir.com[/url]
    _________________________________________________
    "Andrew Morton" <akm@in-press.co.uk.invalid> escribió en el mensaje
    news:bot8vn$bq2$1@forums.macromedia.com...
    > > Advantage over what?
    >
    > The Lingo "open" command in conjunction with explorer.
    >
    > > FileXtra4 is, right? getNthFilenameInFolder is internal to Lingo so it
    is.
    > </Yoda> ? :-)
    >
    > We're both going beyond the OP's question.
    >
    > > I also like the idea that FileXtra4 is completely free
    >
    > Me too, but I'd purchased buddyAPI long before fileXtra got past version
    1.
    >
    > Andrew

    feno Guest

  11. #10

    Default Re: just open a folder

    If it works, I have no argument.

    --
    Craig Wollman
    Word of Mouth Productions
    phone 212 724 8302
    fax 212 724 8151
    [url]www.wordofmouthpros.com[/url]


    "feno" <fenof@hotmail.com> wrote in message
    news:botagq$eik$1@forums.macromedia.com...
    > I use:
    > global path_of_folder
    > open path_of_folder with "explorer"
    > and work fine
    >
    > Is it right?
    >
    > Cheers
    > ________________________________________________
    >
    > Fernando Vallés "Feno"
    > Programador Multimedia Freelance
    > [email]feno@recover-dir.com[/email]
    > ::: Recover-dir La esperanza es lo ultimo que se pierde :::
    > [url]http://www.recover-dir.com[/url]
    > _________________________________________________
    > "Andrew Morton" <akm@in-press.co.uk.invalid> escribió en el mensaje
    > news:bot8vn$bq2$1@forums.macromedia.com...
    > > > Advantage over what?
    > >
    > > The Lingo "open" command in conjunction with explorer.
    > >
    > > > FileXtra4 is, right? getNthFilenameInFolder is internal to Lingo so
    it
    > is.
    > > </Yoda> ? :-)
    > >
    > > We're both going beyond the OP's question.
    > >
    > > > I also like the idea that FileXtra4 is completely free
    > >
    > > Me too, but I'd purchased buddyAPI long before fileXtra got past version
    > 1.
    > >
    > > Andrew
    >
    >

    Word of Mouth Productions Guest

  12. #11

    Default Re: just open a folder

    Im sure that work, in my last project make this
    ================================

    global nombre

    on mouseup me

    ruta = ("c\proyect_folder\"&nombre&"\")

    open ruta with "explorer"

    end

    ================================

    And works fine.





    "Word of Mouth Productions" <lingoboy@spamershaveforcedmetofakethisname.com>
    escribió en el mensaje news:botcau$hrs$1@forums.macromedia.com...
    > If it works, I have no argument.
    >
    > --
    > Craig Wollman
    > Word of Mouth Productions
    > phone 212 724 8302
    > fax 212 724 8151
    > [url]www.wordofmouthpros.com[/url]
    >
    >
    > "feno" <fenof@hotmail.com> wrote in message
    > news:botagq$eik$1@forums.macromedia.com...
    > > I use:
    > > global path_of_folder
    > > open path_of_folder with "explorer"
    > > and work fine
    > >
    > > Is it right?
    > >
    > > Cheers
    > > ________________________________________________
    > >
    > > Fernando Vallés "Feno"
    > > Programador Multimedia Freelance
    > > [email]feno@recover-dir.com[/email]
    > > ::: Recover-dir La esperanza es lo ultimo que se pierde :::
    > > [url]http://www.recover-dir.com[/url]
    > > _________________________________________________
    > > "Andrew Morton" <akm@in-press.co.uk.invalid> escribió en el mensaje
    > > news:bot8vn$bq2$1@forums.macromedia.com...
    > > > > Advantage over what?
    > > >
    > > > The Lingo "open" command in conjunction with explorer.
    > > >
    > > > > FileXtra4 is, right? getNthFilenameInFolder is internal to Lingo so
    > it
    > > is.
    > > > </Yoda> ? :-)
    > > >
    > > > We're both going beyond the OP's question.
    > > >
    > > > > I also like the idea that FileXtra4 is completely free
    > > >
    > > > Me too, but I'd purchased buddyAPI long before fileXtra got past
    version
    > > 1.
    > > >
    > > > Andrew
    > >
    > >
    >
    >

    feno Guest

  13. #12

    Default Re: just open a folder

    Sorry
    where wrotte:
    ruta = ("c\proyect_folder\"&nombre&"\")
    must be:
    ruta = ("c:\proyect_folder\"&nombre&"\")

    Cheers
    Feno.



    "feno" <fenof@hotmail.com> escribió en el mensaje
    news:bote6n$nbf$1@forums.macromedia.com...
    > Im sure that work, in my last project make this
    > ================================
    >
    > global nombre
    >
    > on mouseup me
    >
    > ruta = ("c\proyect_folder\"&nombre&"\")
    >
    > open ruta with "explorer"
    >
    > end
    >
    > ================================
    >
    > And works fine.
    >
    >
    >
    >
    >
    > "Word of Mouth Productions"
    <lingoboy@spamershaveforcedmetofakethisname.com>
    > escribió en el mensaje news:botcau$hrs$1@forums.macromedia.com...
    > > If it works, I have no argument.
    > >
    > > --
    > > Craig Wollman
    > > Word of Mouth Productions
    > > phone 212 724 8302
    > > fax 212 724 8151
    > > [url]www.wordofmouthpros.com[/url]
    > >
    > >
    > > "feno" <fenof@hotmail.com> wrote in message
    > > news:botagq$eik$1@forums.macromedia.com...
    > > > I use:
    > > > global path_of_folder
    > > > open path_of_folder with "explorer"
    > > > and work fine
    > > >
    > > > Is it right?
    > > >
    > > > Cheers
    > > > ________________________________________________
    > > >
    > > > Fernando Vallés "Feno"
    > > > Programador Multimedia Freelance
    > > > [email]feno@recover-dir.com[/email]
    > > > ::: Recover-dir La esperanza es lo ultimo que se pierde :::
    > > > [url]http://www.recover-dir.com[/url]
    > > > _________________________________________________
    > > > "Andrew Morton" <akm@in-press.co.uk.invalid> escribió en el mensaje
    > > > news:bot8vn$bq2$1@forums.macromedia.com...
    > > > > > Advantage over what?
    > > > >
    > > > > The Lingo "open" command in conjunction with explorer.
    > > > >
    > > > > > FileXtra4 is, right? getNthFilenameInFolder is internal to Lingo
    so
    > > it
    > > > is.
    > > > > </Yoda> ? :-)
    > > > >
    > > > > We're both going beyond the OP's question.
    > > > >
    > > > > > I also like the idea that FileXtra4 is completely free
    > > > >
    > > > > Me too, but I'd purchased buddyAPI long before fileXtra got past
    > version
    > > > 1.
    > > > >
    > > > > Andrew
    > > >
    > > >
    > >
    > >
    >
    >

    feno Guest

  14. #13

    Default Re: just open a folder

    Strangely, using open doesn't work for me. I have a legacy bit of code (originally written w/ macromedia director) which uses open _directory_ with "explorer" and it doesn't do anything. Does anyone have any ideas why that might be?

    Thanks so much!
    Unregistered Guest

  15. #14

    Default Re: just open a folder

    I've tracked it down a bit further - adding the absolute path works

    open "C:\windows\explorer"

    However this does not work

    open "%systemroot%\explorer"

    I'm not sure how to ensure explorer is called properly...

    Thanks again in advance!
    Unregistered Guest

  16. #15

    Default Re: just open a folder

    Quote Originally Posted by Unregistered View Post
    I've tracked it down a bit further - adding the absolute path works
    alchemist

    Re: just open a folder
    You mean something like this?

    open ("explorer c:\windows")


    .
    I followed this advice and it work perfectly
    Unregistered 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