Scripts

Do you know of a feature that UVK should have? Post it here!
Post Reply
Charger440
Posts: 1529
Joined: Sun May 25, 2014 7:44 am
Location: Missouri

Scripts

Post by Charger440 »

Fred

If there is a way to just run a script I have not found it and if so could you point it out? What I mean is. when I create a script that I would like to add to my 3rd party apps I have to add it as command line option to UVK it's self which runs another instance of UVK. Can you make it so the existing instance would just run the script? That way they could run like any other 3rd party app.

Let me know what you think.
I still intend to comment on your power scheme script, I have just been busy. :)

Jim
Jim

It is not "Can it be done?" but rather, "How can we do it?"
Fred
Site Admin
Posts: 2357
Joined: Sat Jul 30, 2011 12:05 pm
Location: Red coast, France
Contact:

Re: Scripts

Post by Fred »

Hi Jim. It is well documented. In fact each app can run up to four UVK scripts.

http://www.carifred.com/uvk/help/cmdswitches.php
http://www.carifred.com/uvk/help/custom ... _variables

Examples:

Code: Select all

"%UVKExe%" -ReadFile "%InstallSourceDir%\myscript.uvk" -Auto
"%UVKExe%" -ReadFile "%Desktop%\myscript.uvk" -Auto
Note the paths are enclosed with double quotes. This a very good practice, if you want to ensure the success of your command.
One thing we humans have in common is that we are all different. So, if you think you're weird because you're different from everyone else, then we are all weird.

Fred
Post Reply