Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Windows 8.1 + AutoIt = Fail!

- - - - -

  • Please log in to reply
2 replies to this topic

#1
Orsi

Orsi

    Hasta la Windows Vista, baby

  • Member
  • PipPip
  • 270 posts
  • Joined 09-October 03
  • OS:Windows 7 x64
  • Country: Country Flag

Hello.

 

Can anybody teach me how to properly use AutoIt to install a few softwares in Windows 8.1 x64?

 

Looks like AutoIt doesn't recognize, can't or don't even try to send the commands I need and sometimes not even MouseClick or MouseMove works. :(




How to remove advertisement from MSFN

#2
aphelion

aphelion

    Junior

  • Member
  • Pip
  • 74 posts
  • Joined 19-January 14
  • OS:Windows 8.1 x64
  • Country: Country Flag

I haven't tried AutoIt but have had no such issues with AutoHotkey



#3
MHz

MHz

    Just simple

  • Member
  • PipPipPipPipPipPipPip
  • 1,664 posts
  • Joined 02-August 04
  • OS:Windows 7 x64
  • Country: Country Flag

If the installer is running as admin and your AutoIt script is running as a standard user then automation issues may occur.

 

Add this directive to the top of the script to run the script as admin.

#RequireAdmin

Add this directive to the top of the script to run a compiled script as admin. This adds the require admin to the resources of the executable.

#pragma compile(ExecLevel, requireAdministrator)

Have a look in the AutoIt help file for Tutorials > WinZip Installation. If you can follow that tutorial then perhaps you can progress to using the Control* functions. Looks like the latest WinZip is about 10 versions higher then the tutorial version so some subtle differences may exist. If you have further issues with your attempts, then post your attempts and help may follow.

 

Also have a look at the pinned topic of AutoIT Script Collection for some examples.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users