AutoIT

You need help to start using UVK? You have a doubt on a UVK feature? Post here!
Forum rules
We have no special rules for UVK forums. Just try to be polite and clear in your posts.
Please don't post spam in this forum. Spammers will be banned by IP, e-mail and username.
We reserve the right to delete all posts and ban all users we consider not having respected these rules without warning.
Post Reply
Charger440
Posts: 1529
Joined: Sun May 25, 2014 7:44 am
Location: Missouri

AutoIT

Post by Charger440 »

Fred

I sat down to embark on my biggest scripting idea yet and it turns out that UVK may not support the #include tag from AutoIT. Is this true or is there another work around I should be looking for? The script I have works perfectly fine in SciTE but not UVK.

Was really hoping it worked cause I was really wanting to try that project :)
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: AutoIT

Post by Fred »

Jim, as the documentation states,
@ScriptDir will be the UVK's install folder. AutoIt does not need to be installed to run the script. However, if you want to #include any of the AutoIt's builtin UDFs or Constants, you will need to install it, or copy the functions and Constants to the UVK script.
This is the current limitation. It may take you some time copying the constants and functions in order to make a compatible script.

To me, it doesn't make any difference, cause I never include any of the default files, anyway.

I once thought about using something like #Include %InstallSourceDir%\scriptname.au3, but it does not support environment variables in the #Include directive.
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
Charger440
Posts: 1529
Joined: Sun May 25, 2014 7:44 am
Location: Missouri

Re: AutoIT

Post by Charger440 »

Fred wrote:Jim, as the documentation states,
@ScriptDir will be the UVK's install folder. AutoIt does not need to be installed to run the script. However, if you want to #include any of the AutoIt's builtin UDFs or Constants, you will need to install it, or copy the functions and Constants to the UVK script.
Having AutoIT installed does not seem to help as it is installed on that computer but uvk still won't run it. I will t try copying I guess and see.
Jim

It is not "Can it be done?" but rather, "How can we do it?"
Post Reply