Recent

Author Topic: UniqueInstance: need event OnParamAdd  (Read 458 times)

Alextp

  • Hero Member
  • *****
  • Posts: 1167
    • UVviewsoft
UniqueInstance: need event OnParamAdd
« on: June 08, 2020, 02:32:58 pm »
For CudaText I need the event which can change contents of cmd-line params before sending to first instance from 2nd instance (2nd instance gets params from cmd-line)

- for params beginning with '-' it does nothing
- for other params it will appeend current dir path (if it's file mask) but only if it's not full path name like "c:\dd\dd" or "\\unc\dir"

So event must be like
procedure (Sender: TObject; var AParam: string) of object;
 
« Last Edit: June 08, 2020, 02:35:33 pm by Alextp »

Alextp

  • Hero Member
  • *****
  • Posts: 1167
    • UVviewsoft
Re: UniqueInstance: need event OnParamAdd
« Reply #1 on: June 19, 2020, 12:25:49 am »
Done in Github.

 

TinyPortal © 2005-2018