Message 1 of 3
ilogic scripts are triggered too early when the new or opened document not has fully loaded and led to error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
The triggers "New document" and "after open document" run the scripts before the documents load. some of the codes has been solved with delay loops but in some cases it does not work and it comes fatal error message for ilogic. The Code works absolutly fine when the code has fully loaded so it is not the problem with the code. is there a code feature in ilogic that one can use to check if the part has load and then the code start?
Example:
I would like to trigger a script that deletes the triggers and then recreate the triggers with updated codes. but it becomes fatal error because I think it do not feels the event triggers and _iLogicEventsRules property since it is not fully loaded yet