Hi,
I have file "test.csv" where I am writting some values.
And I have one button that opens this file "test.csv" when
I press on.
Code for button:
IF InfoAppActive( InfoAppTitle("notepad C:\test.csv")) == 1 THEN
ActivateApp InfoAppTitle("notepad C:\test.csv");
ELSE
StartApp ("notepad C:\test.csv");
ENDIF;
I would like to check if this file is already opened, in case if it is than I'd like to close it!
How can I do that - check if the file is already opened?
Thanks, M.
I have file "test.csv" where I am writting some values.
And I have one button that opens this file "test.csv" when
I press on.
Code for button:
IF InfoAppActive( InfoAppTitle("notepad C:\test.csv")) == 1 THEN
ActivateApp InfoAppTitle("notepad C:\test.csv");
ELSE
StartApp ("notepad C:\test.csv");
ENDIF;
I would like to check if this file is already opened, in case if it is than I'd like to close it!
How can I do that - check if the file is already opened?
Thanks, M.