Sign in to follow this  
Followers 0
milkfish1227

Script for Windows Vista ?

9 posts in this topic

Hi there,

Did anyone try AutoIt3 script on Vista yet ? I seems to have problem to do ControlClick either using ControlID or "&Next >". Same program works fine for both WinXP and Win2K.

WinWait($strTitle, $strText)

ControlClick($strTitle, "Next >", 1) or ControlClick($strTitle, "Next >", "&Next >")

Thanks,

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

u r trying to test this out on vista??? um... vista is available for the Beta and Tech team only right now...... and it is only in the BETA state.

?? :o

Edited by CHRIS95219

Share this post


Link to post
Share on other sites

u r trying to test this out on vista??? um... vista is available for the Beta and Tech team only right now...... and they are in the BETA state.

?? :o

I have a need to make my C# program and a lot of automation script running on Vista in very short time.

Share this post


Link to post
Share on other sites

Sure. Current verison is beta 2 build 5308. You can find some info from following website.

http://www.computerperformance.co.uk/vista/index.htm

I have been tried 3 different script languages - WinBatch, AutoHotKey, and AutoIt3. None of them works in terms of ControlClick() or Buttonclick() or Send() function. Other functions seem work fine.

I know nothing about how the script language compiler works. Does anyone has idea what went wrong ? Does it sound like some function in Windows is not supproted yet ?

Is there any better way to debug this issue ?

Thanks,

Share this post


Link to post
Share on other sites

Well, IIRC, the GUI now uses DirectX, which might be an issue. I'd look at the publicly available source for AutoIt and check it against the WinFX MSDN code for that (if send/controlsend is in public source), or you might just have to right the code in C yourself


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

VBScript's SendKeys doesn't work either, so I wouldn't be too worried....

Samples http://www.rgagnon.com/pbdetails/pb-0125.html

Clarify: Either it's a Vista bug or a change to the API.

Edited by CyberSlug

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

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