Search found 2 matches
- Monday 15 October 2018 16:47
- Forum: Bash / PowerShell / Batch etc.
- Topic: Trigger script with arguments
- Replies: 3
- Views: 5095
Re: Trigger script with arguments
This should work with arguments. Wow, kudos to you my friend! Full path followed by script:/// (three slashes) did the trick :) Thanks! And 256 could be, because I have condition to "exit 1" when parameters are not within limits. But thats not so important to focus on that value I guess.
- Sunday 14 October 2018 23:06
- Forum: Bash / PowerShell / Batch etc.
- Topic: Trigger script with arguments
- Replies: 3
- Views: 5095
Trigger script with arguments
Hello, I wrote a simple script to control my foscam cameras motion. However there are plenty of commands available and I have two cameras of that type, so I tried to do it all in one script. As arguments I'm passing camera number and command number, it is simple and works from executing from the ...