CraigLomas Posted August 8, 2018 Posted August 8, 2018 Hi everyone, Is it possible to run AutoIT code from the press of a button on a HTML page? I'm currently using <input type="button" onclick="[some instructions]" value="Run Script"/> As this was suggested to me but struggling to get any basic script to run. It was suggested that I save the script in a .txt file and then referencing it there. I've also tried putting the script in the <head> section of the page and also compiling as a .exe but nonw of these are working. Sorry if this has been covered before I did do a search but turned up nothing really helpful. I'm using Google Chrome. Thanks in advance Craig
faustf Posted August 8, 2018 Posted August 8, 2018 (edited) send a example script .au3 and html page if you want help , is much easy for comunity find a solution thankz Edited August 8, 2018 by faustf
Developers Jos Posted August 8, 2018 Developers Posted August 8, 2018 @CraigLomas, Are you talking about serverside or clientside scripts? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
CraigLomas Posted August 9, 2018 Author Posted August 9, 2018 It would be client-side script as I would be using it to automate actions on the users PC. @faustf I didn't post any code as my query isn't about anything specific at this point. I just was looking for a yes/no and a pointer in the right direction as to the syntax to use to get the script running from a button. Many thanks Craig
Danp2 Posted August 9, 2018 Posted August 9, 2018 I have done this by creating my own custom web protocol. Can't find the thread where I previously discussed this, but here's one by another forum user. Latest Webdriver UDF Release Webdriver Wiki FAQs
CraigLomas Posted August 10, 2018 Author Posted August 10, 2018 Thanks for the link Danp2 I'll check that out.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now