Re: [OT] Windows Command Help

2005-07-29 Thread Chipp Walters
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

RE: [OT] Windows Command Help

2005-07-29 Thread xbury . cs
if > -- else if the platform is "MacOS" then > --if "appleScript" is not in the alternateLanguages then > -- return "Error: AppleScript not installed" > --end if > --

RE: [OT] Windows Command Help

2005-07-29 Thread Lynch, Jonathan
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

Re: [OT] Windows Command Help

2005-07-29 Thread Brian K. Maher
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:

Re: [OT] Windows Command Help

2005-07-29 Thread Jon
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

Re: [OT] Windows Command Help

2005-07-29 Thread Trevor DeVore
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.

Re: [OT] Windows Command Help

2005-07-28 Thread Mark Wieder
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

Re: [OT] Windows Command Help

2005-07-28 Thread Dan Shafer
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

Re: [OT] Windows Command Help

2005-07-28 Thread xbury . cs
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

Re: [OT] Windows Command Help

2005-07-28 Thread Brian Yennie
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

Re: [OT] Windows Command Help

2005-07-28 Thread Dan Shafer
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

Re: [OT] Windows Command Help

2005-07-28 Thread Dan Shafer
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

Re: [OT] Windows Command Help

2005-07-28 Thread Mark Wieder
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

RE: [OT] Windows Command Help

2005-07-28 Thread MisterX
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