Is there a way to write a falsifiable if statement that can evaluate to true if run from the GUI and false if run in batch?
Something akin to
Code:
glob using_gui = T
if $using_gui == T {
glob dir "/mydir" } else {
glob dir "D:/mydir" }
0 Response to automatically detect if using GUI or batch mode
Post a Comment