Sign in to follow this  
Followers 0
PeterSwiss

AutoItX3 and JScript + wish list

4 posts in this topic

1) may I suggest someone more experienced

- mentions that AutoItX3 works generally with JScript (or are there catches?)

2) I'm missing the WinList method, as it would be helpful for education.

3) I'm wondering whether the timeouts in WinWait etc. are seconds, or rather milliseconds? msec would be more sensible?

I really appreciate AutoItX, as I got the job done with it.

Peter :P

Share this post


Link to post
Share on other sites



Sorry, if there was a question in there somewhere, I missed it.

Dale


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites

1) works with Wsh, which includes JScript. The helpfile should explain of any catches, if any.

2) time will tell :P .

3) seconds, as helpfile states. It is a standard for AutoIt3 Win* functions also. I vote for seconds.

Glad you like AutoItX.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Sorry, if there was a question in there somewhere, I missed it.

Dale

Regarding WinList functionality, there is somewhere in scriptland an ActiveX that returns a window title list. However it is declared for VBScript and returns the result in a parameter vTitles:

status = GetWindowTitles (vTitles as variant)

The question, how to make said vTitles work in JScript (or VBS return params in general). The possibilities that are at my fingertips from JScript, namely VBArray, toArray, Enumerator did not help.

--

PS Thanks to MHz for the positive reaction.

Edited by PeterSwiss

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