06-20-2012 05:18 AM
Hello,
I try to autmatically open a file with my application under Mac OS X. I use the application argument.
In my build specification I used "Pass all command line arguments to application"
But the property app.args don't return argument, exept the app path, even if I try to open the file with Command line in the terminal.
How I can solve this?
06-22-2012 03:00 AM
Hello SimonD
Could you tell me which version of LabVIEW you are using ?
I suggest you to check an example, the one that you will find in this location : "labview\examples\viserver\cmdline.llb"
Regards,
Vincent.O
National Instruments France
Été de LabVIEW 2014
12 présentations en ligne, du 30 juin au 18 juillet
06-22-2012 07:56 AM
I use LV2011 pro SP1.
I try this exemple but I dont try to create a command line just to intercept argument create by the OS when it call my app. I want to associate my custom extension to my app (it's done) and then we I open a file, it's automatically open in my app (so I need to have the path of this file, which should be the second argument).
But I just have the first argument