KScript Timing: How to stagger the steps?
I have a script that queries the Win7 Eventlog and outputs the results to a file. I then want to use the "Upload a File" KScript functionality to get that file onto the K1000.
The problem is that the KScript proceeds past the file generating step, and then tries to upload the file that isn't there yet. Has anyone successfully pulled something like this off?
It would be nice if there was a "wait some number of seconds" step we could put in the KScript. It just seems to launch everything at the same time, which is frustrating.
I got it working (sorta) by switching to an online shell script. This calls Powershell -command with the powershell commands I want to run, and then once it finishes I have it set to upload the file. This seems to work well, but I still haven't figured out how to get it to work with KScript.