Jon,
Thanks so much for this! Just what I needed last night :-)
-Chipp
Chipp Walters, Altuit.com
Sent from my Sidekick
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subsc
if
> -- else if the platform is "MacOS" then
> --if "appleScript" is not in the alternateLanguages then
> -- return "Error: AppleScript not installed"
> --end if
> --
en
-- return "Error: AppleScript not installed"
--end if
--do ("open location" && quote & pWhich & quote) as appleScript
-- else
-- if gREVWebBrowser is empty
--then launch "mozilla" && quo
Hi Jon,
In Rev just use the shell. The command would be "start
you_file_name_goes_here".
Brian
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
Windows has a facility built in that associates file extensions with
applications. Thus, you can tell Windows that the default application
for a JPG is FRED.EXE. Normally, any useful document has an associated
application. There are ways to ask windows to open a document using the
default app
On Jul 28, 2005, at 11:39 PM, Dan Shafer wrote:
Well, that's the secret, then.
Back to the drawing board. The shell solution is not acceptable. I
am amazed (and shouldn't be) that a feature Mac OS has had for a
long, long time is missing from the vastly more popular Windows OS.
Heh heh.
Dan-
Thursday, July 28, 2005, 10:03:22 PM, you wrote:
DS> Well, I should say that I tried it directly in the shell, not from
DS> Rev. There, I typed:
DS> start "blah\blah\doc.pdf"
Make sure you use a fully-qualified path:
"drive:\root\subdirectory\etc\document.ext"
--
-Mark Wieder
[EMAIL PR
Well, that's the secret, then.
Back to the drawing board. The shell solution is not acceptable. I am
amazed (and shouldn't be) that a feature Mac OS has had for a long,
long time is missing from the vastly more popular Windows OS.
Heh heh.
Dan
On Jul 28, 2005, at 11:17 PM, [EMAIL PROTECTE
Dan
if you type
echo %ProgramFiles%
you will get the path by default were apps are installed
you can do a find using the F3 or WindowKey+F and search for acrobat...
if the exe is not in your paths then, there's no way windows will go
looking for it...
I just tried it
D:\NBU 5.0\Doc>start Med
Dan,
I'm all MacOS here, but I did notice a couple of things which might
help you-
1) You may need the drive name, i.e.:
start "c:\blah\blah\doc.pdf"
2) When inside Rev, you can use the hideConsoleWindows property to hide
the nasty window (or something close to that, don't have my reference
Not on this end.
Well, I should say that I tried it directly in the shell, not from
Rev. There, I typed:
start "blah\blah\doc.pdf"
It opened a new command line window and stared at me.
I'll try it tomorrow from inside Rev.
Dan
On Jul 28, 2005, at 7:51 PM, Mark Wieder wrote:
get shell("s
The problem is I don't know the name or path of the app. On OS X,
this doesn't matter. But it appears I cannot ask Windows to launch a
document and expect it to figure out which app to use.
Great.
Dan
On Jul 28, 2005, at 6:24 PM, MisterX wrote:
Hi Dan
It's funny to see MacOS - no-to-CLIs
MisterX-
Thursday, July 28, 2005, 6:24:36 PM, you wrote:
M> It's funny to see MacOS - no-to-CLIs - crowd do it in Unix and not in DOS ;0
I agree. My first experience with a Mac in 1984 was something similar.
"Where's the command line?", "How do you delete a file?", etc. I had
to be shown step by
Hi Dan
It's funny to see MacOS - no-to-CLIs - crowd do it in Unix and not in DOS ;0
what you need is something like
c:\notepad
or notepad.exe should work...
BUT this will block Rev... :(
so shell("start" && quote && appspath && docpath && quote should work...)
cheers
Xavier
> -Origin
14 matches
Mail list logo