From: Eric B. <eri...@gm...> - 2014-10-10 14:52:45
|
Yes! Actually, in my Windows installer I add the registry changes: [Registry] Root: HKCR; Subkey: ".opi"; ValueType: String; ValueData: "BOY"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletevalue Root: HKCR; Subkey: "BOY"; ValueType: String; ValueData: "BOY"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletekey Root: HKCR; Subkey: "BOY\DefaultIcon"; ValueType: String; ValueData: "{app}\applicationIcons\OPIRunner.ico"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Root: HKCR; Subkey: "BOY\shell\open\command"; ValueType: String; ValueData: """{app}\cs-studio.exe"" --launcher.openFile ""%1 Position=Detached"""; Tasks: cssAssociation; MinVersion: 0.0,5.0; Root: HKCR; Subkey: ".css-pvtable"; ValueType: String; ValueData: "PVTable"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletevalue Root: HKCR; Subkey: ".pvs"; ValueType: String; ValueData: "PVTable"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletevalue Root: HKCR; Subkey: "PVTable"; ValueType: String; ValueData: "PVTable"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletekey Root: HKCR; Subkey: "PVTable\DefaultIcon"; ValueType: String; ValueData: "{app}\applicationIcons\pvtable.ico"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Root: HKCR; Subkey: "PVTable\shell\open\command"; ValueType: String; ValueData: """{app}\cs-studio.exe"" --launcher.openFile ""%1"""; Tasks: cssAssociation; MinVersion: 0.0,5.0; Root: HKCR; Subkey: ".plt"; ValueType: String; ValueData: "DataBrowser"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletevalue Root: HKCR; Subkey: "DataBrowser"; ValueType: String; ValueData: "DataBrowser"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletekey Root: HKCR; Subkey: "DataBrowser\DefaultIcon"; ValueType: String; ValueData: "{app}\applicationIcons\databrowser.ico"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Root: HKCR; Subkey: "DataBrowser\shell\open\command"; ValueType: String; ValueData: """{app}\cs-studio.exe"" --launcher.openFile ""%1"""; Tasks: cssAssociation; MinVersion: 0.0,5.0; On Oct 10, 2014 10:35 AM, <wil...@di...> wrote: > Hello all, > > It's possible to open a file in CS Studio from the command line using > --launcher.openFile > > Is it possible to pass macros when doing this? > > Cheers, > Will > > -- > This e-mail and any attachments may contain confidential, copyright and or > privileged material, and are for the use of the intended addressee only. If > you are not the intended addressee or an authorised recipient of the > addressee please notify us of receipt by returning the e-mail and do not > use, copy, retain, distribute or disclose the information in or attached to > the e-mail. > Any opinions expressed within this e-mail are those of the individual and > not necessarily of Diamond Light Source Ltd. > Diamond Light Source Ltd. cannot guarantee that this e-mail or any > attachments are free from viruses and we cannot accept liability for any > damage which you may sustain as a result of software viruses which may be > transmitted in or with the message. > Diamond Light Source Limited (company no. 4375679). Registered in England > and Wales with its registered office at Diamond House, Harwell Science and > Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom > > > > > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Cs-studio-users mailing list > Cs-...@li... > https://lists.sourceforge.net/lists/listinfo/cs-studio-users > |