1. calling a file that runs in a separate application

I have found the "Call It" program.  But, apparently it only calls files that
end with an .exe extension.
Does anyone know of a way to call a file that runs in a separate application.

For example, I have a program that I use in my classroom.  At a specific time
(which is no problem, already have a timer installed)..
I want my Euphoria program to run a power point show.  Can someone tell me how
to do this?  It is a file that ends with .pps , which I want it to open in
Microsoft Power Point (perhaps Microsoft Power Point Viewer)

Michelle Rogers

new topic     » topic index » view message » categorize

2. Re: calling a file that runs in a separate application

Michelle Rogers wrote:
> 
> 
> I have found the "Call It" program.  But, apparently it only calls files that
> end with
> an .exe extension.
> Does anyone know of a way to call a file that runs in a separate application.
> 
> For example, I have a program that I use in my classroom.  At a specific time
> (which
> is no problem, already have a timer installed)..
> I want my Euphoria program to run a power point show.  Can someone tell me how
> to do
> this?  It is a file that ends with .pps , which I want it to open in Microsoft
> Power
> Point (perhaps Microsoft Power Point Viewer)
> 
> Michelle Rogers
> 
Michelle,

Would the shellExecute() function in Win32Lib work?  You could specify the
"open" verb and then supply the .pps file name.  If PowerPoint is intalled
correctly on your machine, it should open the file automatically and begin
the slide show.

HTH,

Jonas

new topic     » goto parent     » topic index » view message » categorize

3. Re: calling a file that runs in a separate application

Michelle Rogers wrote:
> 
> 
> I have found the "Call It" program.  But, apparently it only calls files that
> end with
> an .exe extension.
> Does anyone know of a way to call a file that runs in a separate application.
> 
> For example, I have a program that I use in my classroom.  At a specific time
> (which
> is no problem, already have a timer installed)..
> I want my Euphoria program to run a power point show.  Can someone tell me how
> to do
> this?  It is a file that ends with .pps , which I want it to open in Microsoft
> Power
> Point (perhaps Microsoft Power Point Viewer)
> 
 Michelle

The following command line (as an example) runs on my PC, so it should
also be possible to start it via: system("D:\\progran Files\\....,2) .

"d:\program Files\Microsoft Office\Office\Powerpnt" H:\PCaPAC00\FitAlgor.ppt

Have a nice day, Rolf


----------------------------------------------------
| Dr.Rolf Schröder |    E                     B    |
| DESY MST-1       |                C              |
| Notkestraße 85   |          D                    |
| D-22603 Hamburg  |                      A        |
| Earth            |-------------------------------|
| Solar System     | Phone : +49-40-8998-2628      |
| Milky Way        | Fax   : +49-40-8994-2628      |
| Local Group      | mailto:Rolf.Schroeder at DESY.de |
| Known Universe   | http://adweb.desy.de/~rolf    |
----------------------------------------------------

new topic     » goto parent     » topic index » view message » categorize

4. Re: calling a file that runs in a separate application

Sorry, didn't notice *.pps . Whatfor is PPS?!

Rolf

new topic     » goto parent     » topic index » view message » categorize

5. Re: calling a file that runs in a separate application

----- Original Message -----
From: "Michelle Rogers" <guest at RapidEuphoria.com>
To: <EUforum at topica.com>
Sent: Thursday, August 19, 2004 7:51 AM
Subject: calling a file that runs in a separate application


>
> posted by: Michelle Rogers <mrogers at ccs.bia.edu>
>
>
> I have found the "Call It" program.  But, apparently it only calls files
that end with an .exe extension.
> Does anyone know of a way to call a file that runs in a separate
application.
>
> For example, I have a program that I use in my classroom.  At a specific
time (which is no problem, already have a timer installed)..
> I want my Euphoria program to run a power point show.  Can someone tell me
how to do this?  It is a file that ends with .pps , which I want it to open
in Microsoft Power Point (perhaps Microsoft Power Point Viewer)
>
> Michelle Rogers


Do not take this as a recommendation.
Just as a note of completion about the subject.
You can't launch execute data files from the command prompt.
Such as: .txt .html or .pps
This means you can't launch them from batch files either.
However.  You can run the start.exe program and pass it a parameter.
Try this (without the quotes) at a dos prompt
"start http://www.google.com/"
"start myfile.txt"
"start myfile.pps"
So, if you wanted to, you could launch them like you do the executables.
I use this frequently to keep access the windows path environment.
start msconfig

    unkmar

new topic     » goto parent     » topic index » view message » categorize

6. Re: calling a file that runs in a separate application

.pps is a power point show.  It runs automatically when you open it, instead of
it opening inside Power Point and then you having to click F5 to make it run.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu