Aborting a trigger script
Posted: Thu Jul 11, 2013 2:39 am
I'm creating a trigger on file open that checks to see if the file exists before opening it, and asks the user if they want to create the file.
Is there a way of stopping the trigger from completing the file open if the user response is to not create the file?
I'm using python for scripting, and have tried 'return' which didn't do anything (the file still got created). And sys.exit() closed zeus (not the result I wanted!
)
Thanks
Grant
Is there a way of stopping the trigger from completing the file open if the user response is to not create the file?
I'm using python for scripting, and have tried 'return' which didn't do anything (the file still got created). And sys.exit() closed zeus (not the result I wanted!

Thanks
Grant