On Mon, 2014-01-13 at 20:26 +0100, Thomas Mayer wrote:
> Hi,
> 
> is there a way to get information on whether Pd has been started with
> -batch or -nogui from inside a patch?

Though I consider Cyrille's approach the clean way for your specific
purpose, there is also a way to check for '-batch' without help from
outside. Measure [delay 1000] with [realtime] and if the result is
orders of magnitude smaller than '1000' (say 0.4), Pd has most likely
been started with '-batch' (assuming it didn't do much during the 1000ms
logical time). 

Roman





_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to