Sign in to follow this  
Followers 0
DV22

Call Javascript function from Autoit?

6 posts in this topic

Is it possible to call a javascript function from within AutoIt?

Share this post


Link to post
Share on other sites



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!

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Indeed,

try java script instead.

;-))

Stefan

Share this post


Link to post
Share on other sites

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. :(

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0