DV22 Posted March 25, 2010 Posted March 25, 2010 Is it possible to call a javascript function from within AutoIt?
Fulano Posted March 25, 2010 Posted March 25, 2010 Well, I would imagine that you could run it from the address bar like a bookmarklet, but I'm not familiar enough with the IE UDF to know off the top of my head how to implement it. #fgpkerw4kcmnq2mns1ax7ilndopen (Q, $0); while ($l = <Q>){if ($l =~ m/^#.*/){$l =~ tr/a-z1-9#/Huh, Junketeer's Alternate Pro Ace /; print $l;}}close (Q);[code] tag ninja!
bo8ster Posted March 25, 2010 Posted March 25, 2010 I understand it is however I do not know off the top of my head. I know that there are 3 or 4 threads that deal with this have a search for them. Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic]
Tvern Posted March 26, 2010 Posted March 26, 2010 I understand it is however I do not know off the top of my head. I know that there are 3 or 4 threads that deal with this have a search for them.Might not be as straightforward as expected:"The following search terms are not allowed and were removed from your query: javascript"Made me rofl
MHz Posted March 26, 2010 Posted March 26, 2010 Use the ScriptControl object. It supports VBScript and JScript. Look here for a topic on the concept. Some more topics maybe found if "ScriptControl" was searched for.
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