What is the error message that the die produces?
I've noticed with one script I run regularly that uses OLE that I often get a failure the first time I run it and it succeeds the second time. Maybe you could test the result from CreateObject and rety if it fails?
In reply to Re: Win32::OLE and Windows Scheduled Tasks
by GrandFather
in thread Win32::OLE and Windows Scheduled Tasks
by mdamazon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |