g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: RE: CSS app Launcher
From: "Kasemir, Kay" <kasemirk@ornl.gov>
To: "'Patard Charles Henri'" <patard@ganil.fr>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Tue, 10 Jan 2012 23:53:00 -0500

Hello:

 

Internally, the application launcher uses the Eclipse/SWT

  Program.launch()

 

command.

 

This is supposed to launch “the operating system executable associated with the file or URL”.

On Windows or OS X this means for example that your “command” can be

/Path/to/some/spreadsheet.xls

and it will open in Excel.

 

So I would look for the association of your executable file with in this case firefox somewhere in the operating system, outside of CSS.

What happens when you double click the file in some other file navigator?

I’m not even sure what OS you are using. Linux? Try the gnome or KDE file browser?

 

If all fails, you might have to create a shell script/batch file that opens your actual file in the desired tool,

and then enter the path to that shell script in the CSS app launcher.

 

Thanks,

Kay

 

From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of Patard Charles Henri
Sent: Tuesday, January 10, 2012 5:27 AM
To: tech-talk@aps.anl.gov
Subject: CSS app Launcher

 

Hello All,

I'm trying to launch an executable file ada (bin file) with Application Launcher of CSS. I create a .app in a project and configure the .app like this :

<application>
      <command>./ctrol/execs/applications/choix/exec/choix</command>
      <icon>icon:work</icon>
</application>

When I run the .app file with the Application Launcher the Firefox Navigator open with this question :

" You have chosen to open choix which is a file type : bin file. Would you like to save it ? "

If I try the same thing with a .jar file, it's working good.

Thanks. Best regards.


Replies:
Re: CSS app Launcher Patard Charles Henri
References:
CSS app Launcher Patard Charles Henri

Navigate by Date:
Prev: Announce: sequencer release 2.1.4 Benjamin Franksen
Next: Re: CSS app Launcher Patard Charles Henri
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
Navigate by Thread:
Prev: CSS app Launcher Patard Charles Henri
Next: Re: CSS app Launcher Patard Charles Henri
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·