Zwakele Posted August 30, 2011 Share Posted August 30, 2011 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 Link to comment Share on other sites More sharing options...
UEZ Posted August 30, 2011 Share Posted August 30, 2011 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. 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!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 30, 2011 Moderators Share Posted August 30, 2011 Zwakele, Welcome to the AutoIt forum. 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 Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Zwakele Posted August 31, 2011 Author Share Posted August 31, 2011 I've attched my script. Thanks for the helpmain2.au3 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 31, 2011 Moderators Share Posted August 31, 2011 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. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
KaFu Posted August 31, 2011 Share Posted August 31, 2011 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 ! OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2022-Nov-26) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Feb-16) HMW - Hide my Windows (2018-Sep-16) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2023-Jun-03) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
Zedna Posted August 31, 2011 Share Posted August 31, 2011 (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 August 31, 2011 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now