Re: Opening other applications from within Revolution

2006-02-08 Thread Phil Davis

Hi Steve!

You can use the launch command for this. Here's a basic script I just 
put together and used to open a PDF file with Acrobat Reader:


on mouseUp
  answer file file?
  if it = empty then exit mouseUp
  put it into tFile

  answer file app?
  if it = empty then exit mouseUp
  put it into tApp

  launch tFile with tApp
end mouseUp

Phil Davis



[EMAIL PROTECTED] wrote:
I have an Excel file on my hard drive that I would like to access from within 
revolution (just like I can access the Internet through RevGoUrl).   What 
command can issue to open and see the file?   I am having some trouble trying to 
do this through the open or open file commands.   Thanks.

Steve Goldberg
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Opening other applications from within Revolution

2006-02-08 Thread Phil Davis
After reading Mathewson's post and re-reading yours, Steve, I'm guessing 
I mis-answered earlier. You would rather get spreadsheet data out of the 
spreadsheet and into Rev, right?


It might be possible to write a vbscript that reaches out and asks Excel 
to give it the tab-delimited text of some selected spreadsheet, but I 
haven't tried it. Ken Ray may have a related tip on his web site. 
(Looking...) I see this one there, related but not spot-on:


  http://www.sonsothunder.com/devres/revolution/tips/iac001.htm

All the best -
Phil


[EMAIL PROTECTED] wrote:
I have an Excel file on my hard drive that I would like to access from within 
revolution (just like I can access the Internet through RevGoUrl).   What 
command can issue to open and see the file?   I am having some trouble trying to 
do this through the open or open file commands.   Thanks.

Steve Goldberg


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Opening other applications from within Revolution

2006-02-08 Thread Jim Ault
On 2/8/06 6:24 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 I have an Excel file on my hard drive that I would like to access from within
 revolution (just like I can access the Internet through RevGoUrl).   What
 command can issue to open and see the file?   I am having some trouble trying
 to 
 do this through the open or open file commands.

I assume you are referring to a spreadsheet (.xls, since there are several
types of Excel files).  This is a very complex format that would really
require the Excel app to work with.  You do have options.

Save the data as a tab delimited text file and read it directly in Rev.
Open the workbook xls file in Excel and communicate with Excel to
send/retrieve cell values/update formulas, etc.

The communicate with Excel is done via VB on Windows and Applescript on Mac.

Ken has a great starting point on his site and Microsoft has very good PDF
documentation of the object model and use on their web site.

Let me know if you want a few primitive examples of Mac stuff, since I use
it for one of my projects.

Jim Ault
Las Vegas


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Opening other applications from within Revolution

2006-02-08 Thread Scott Rossi
Recently, [EMAIL PROTECTED] wrote:

 I'm not interested in importing data from the Excel sheet into Rev, just
 opening an existing Excel application from a command in Rev.   I still can't
 seem to do this.   I've put the Excel file (and also the Excel application)
 into the same folder as the Revolution stack and just issued the command
 (let's 
 say the Excel file is titled Sample.xls):
 
 launch Sample.xls with Microsoft Excel
 or
 launch Sample.xls with Excel
 but nothing happens


It sounds like you're missing the path to Excel.  Try using the full path to
the app in your launch script.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Opening other applications from within Revolution

2006-02-08 Thread Alex Shaw

hi

Had the same problem in the past..

Found the best solution (so far) is to use an external command launcher, 
at the mo i use..


on Windows: runfile.exe
http://www.winsite.com/bin/Info?50001891

on OS X: launch
http://web.sabi.net/nriley/software/

.. and use rev's shell command to launch.

regards
alex

Recently, [EMAIL PROTECTED] wrote:

 I'm not interested in importing data from the Excel sheet into Rev, just
 opening an existing Excel application from a command in Rev.   I 
still can't
 seem to do this.   I've put the Excel file (and also the Excel 
application)

 into the same folder as the Revolution stack and just issued the command
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution