Multiple Scripts and running them at the same time?

I have an ASS project and one of the subroutines involves a command that waits for 3 seconds before sending a command to an application. This subroutine is triggered by a button, and that all works fine, but I would like to be able to have this subroutine run a different script in the background for the delayed command, and finish the rest of it’s commands without waiting for the other script to finish. I compiled a seperate application script for the delayed part of the code and I am issuing a run command from the ASS project but it seems to wait until that application script has finished running before running the rest of the commands in that subroutine. Is there a way to get it to just continue on after issuing the run command for the application script? I don’t need any feedback from the command, I just need it to run in the background. Thanks SO much. I searched for 3 hours and could not find a good answer.

-Evan

I got it to work by making a separate script application and running it with ignoring. I wish I could figure out how to do the same with a script inside the ASS project.

I don’t think you’ll be able to do it with just applescript. The problem, I think, is that the scripts are run within the same process and as soon as you issue a delay command, the process itself will delay for that amount of time. As you’ve already discovered yourself, the only way around this is to hand the waiting task to some other process (or app).
What springs to mind is cron, which is a Darwin shell script. Configuring and running cron is no easy task however , as I saw when I consulted the manual pages http://developer.apple.com/documentation/Darwin/Reference/ManPages/index.html#//apple_ref/doc/framework/manpages

Basically, you’d need applescript’s do shell script command to issue the right commands. If you have no experience with shell scripting I’d suggest you’d start with some easier commands first.