Ask a Question related to Macromedia Director Lingo, Design and Development.
-
Bertil Flink #1
Re: 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
"Nomenclature" <webforumsuser@macromedia.com> skrev i meddelandet
news:bjl8c8$97e$1@forums.macromedia.com...destination on the users hard drive, using FileXtra4... What I can't seem to> I have a button, that when hit copies a folder from CD to the selected
do, is automatically open the folder that was copied to the HD after writing
has completed... is there a way to do this with FileXtra that I haven't been
able to find, or via straight lingo?>
>
Bertil Flink Guest
-
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 -
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... -
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... -
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... -
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... -
Bertil Flink #2
Re: Open folder?
Continued from my last post:
Here some more info from my code lib:
-------------------------------------------------------------
on openFolder theDir, theArgs
-- /n = new window
-- /e = explorer mode (split)
aSep = ""
if (theArgs.char[theArgs.length] <> ",") then aSep = ","
theString = "EXPLORER.EXE" && theArgs & aSep && theDir
baRunProgram(theString, "normal", false )
end
--Example Call:
--
--theDir = "C:\Documents and Settings\Bertil Flink\Desktop\BBC\"
--theArgs = "/n,/e,"
--openFolder theDir, theArgs
-----------------------------------------------------------------------
--Below, is an explanation of Explorer's command-line syntax originally
written by Greg Wolking [ZDNet]. Some examples contain spaces in order to
format properly on this page, so you may need to remove them if you copy and
paste.
--
--EXPLORER [/E, | /N,]pathspec[,/ROOT,rootspec] [,/SELECT,filespec]
--
--Note that _only_ commas, not spaces, separate all switches and arguments.
Therefore, it is not necessary to quote file or path names that include
"reserved" characters. Command line is not case-sensitive, and order of
arguments is not important.
--
--The pathspec and rootspec arguments must point to a folder. The filespec
argument can point to either a folder or a file.
--
--/E = Opens a new explorer view window.
--
--/N = Opens a new folder view window. Otherwise, if a folder view of the
specified folder is already open, simply activates that window. /E overrides
/N.
--
--pathspec = target path to open. Appears as the window caption in folder
view. In explorer view, tree in left hand pane is open to the specified
folder. This argument is ignored if the /SELECT,filespec option is used.
--
--/ROOT,rootspec = User cannot navigate any higher in the directory tree
than rootspec. When this option is used, pathspec or filespec must be
relative to rootspec.
--
--/SELECT,filespec = opens desired view with specified object (file or
folder) selected. If used, pathspec is ignored (it defaults to the parent
folder of filespec).
--
--Note that when /ROOT,rootspec is used, then both pathspec and filespec
must be relative to rootspec, regardless of the order in which the
parameters are specified. For example,:
--
--EXPLORER /E,SYSTEM,/ROOT, D:\WINDOWS,/SELECT,SYSTEM\SHELL32.DLL
--
--EXPLORER /E,/SELECT,SYSTEM\SHELL32.DLL,/ROOT, D:\WINDOWS
--
--both do exactly the same thing: Open an Explorer view with the tree
limited to D:\WINDOWS or below, the left pane opened to the
D:\WINDOWS\SYSTEM folder, and the file SHELL32.DLL selected in the right
pane. Changing /E, to /N, would open a new folder view of D:\WINDOWS\SYSTEM
with SHELL32.DLL selected, and the user could navigate no higher in the tree
than D:\WINDOWS.
--
--However,
--
--EXPLORER /ROOT,D:\WINDOWS,/SELECT, D:\WINDOWS\SYSTEM\SHELL32.DLL
--
--would fail because "D:\WINDOWS\SYSTEM\SHELL32.DLL" is an explicit path,
not a relative path.
--
Bertil Flink
Creative Media
"Nomenclature" <webforumsuser@macromedia.com> skrev i meddelandet
news:bjl8c8$97e$1@forums.macromedia.com...destination on the users hard drive, using FileXtra4... What I can't seem to> I have a button, that when hit copies a folder from CD to the selected
do, is automatically open the folder that was copied to the HD after writing
has completed... is there a way to do this with FileXtra that I haven't been
able to find, or via straight lingo?>
>
Bertil Flink Guest
-
Nomenclature webforumsuser@macromedia.com #3
Re: Open folder?
Also, would anyone know where I could find XAlwaysTOP?
[url]http://www.xtra-ucd.com/pages/page.php?product=xtra&language=en[/url], is dead, as is the link at [url]http://binbin.myrice.com/english/download.html[/url]
Nomenclature webforumsuser@macromedia.com Guest
-
vij010 #4
Re: Open folder?
Hi,
There's no need to use an xtra to open that folder(destination)...All you need is the destination path available to the command: gotonetpage(destination)...this will open up that folder in a window..no xtras required...
Vj
vij010 Guest
-
Bertil Flink #5
Re: Open folder?
That was neat! You learn something every day.
No 3:rd party Xtras needed, but don't forget to include Director's net
xtras.
BF
"vij010" <stamptube@hotmail.com> skrev i meddelandet
news:bjm17i$go3$1@forums.macromedia.com...need is the destination path available to the command:> Hi,
>
> There's no need to use an xtra to open that folder(destination)...All you
gotonetpage(destination)...this will open up that folder in a window..no
xtras required...>
> Vj
Bertil Flink Guest



Reply With Quote

