Sign in to follow this  
Followers 0
Zwakele

AutoIt v3 Script : 3, 2, 12, 1 wont run on Windows 7

7 posts in this topic

AutoIt v3 Script: 3, 2, 12, 1 cant run automatically on windows 7 like it’s running on windows xp. When I ever I start the installation of software’s it run application on top of the list and stops. But on windows XP it does everything I just enter what I’m supposed to enter.

Thanks

Share this post


Link to post
Share on other sites



Sorry but my crystal ball is at the moment to polish unfortunately.

But you can try to post here your code and we will have a look on it. :mellow:

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Zwakele,

Welcome to the AutoIt forum. :mellow:

The AutoIt version you are using is seriously outdated - it was released in Nov 2007, nearly 4 years ago. :)

I would strongly recommend updating and using the newest version - no doubt your problem stems from some form of incompatibility with Win7. But, as UEZ suggests, post the script so we can see. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

I've attched my script. Thanks for the help

main2.au3

Share this post


Link to post
Share on other sites

Zwakele,

There appear to be no syntax errors in that script, not deprecated functions. However, it does rely heavily on the WinWait* and Send functions - my suspicion is that the titles of certain windows have changed in Win7 and/or the key sequences that are required to do what your script is intended to do.

Furthermore, I suspect that the higher security levels of Win7 are preventing certain functions (such as AdminRights) from running at all. You might try adding #requireadmin to the top of your script - this will force the entry of admin credentials at the beginning to the script and might help.

I am afraid I am about to leave on holiday, so I will bow out here. I wish you luck getting your script to work. :mellow:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

I am afraid I am about to leave on holiday, so I will bow out here. I wish you luck getting your script to work. :)

What? And who the hack authorized your absence :) ?

Have a good one :mellow::) !

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

1) Autoit 3.2.12.1 works on Win7 without any problems, I use this version too om WinXP ad also on Win7

2) Your script is bad, at top is absolutely bad this

GUICtrlCreateLabel("00:00:00", 10, 10)
GUISetState()

3) What function in your script doesn't work? There are too many functions

4) Use some better logic for running CPL files - search forum for examples

this may be problem Windows' Run command and executing CPL files may be different on Win7

just verify all information (texts of windows/controls) by Au3Info on Win7

EDIT:

also try to switch-off UAC in Win7

Edited by Zedna

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