TyutYu Posted May 24, 2021 Posted May 24, 2021 Hello! I'm new here. I can use much less functions can found on this page: https://www.autoitscript.com/autoit3/docs/functions.htm. How could I call for example the 'beep' command? I attach a picture what I get back when I call 'print(dir(autoit))' Thanx in advice!
Developers Jos Posted May 24, 2021 Developers Posted May 24, 2021 (edited) I have no clue what you are asking here! What does python have to do with AutoIt3 ? Jos EDIT: Don't crosspost question and guess you are asking which functions are available in AutoItX? if so, look at the appropriate helpfile AutoItX.chm!!! Edited May 24, 2021 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
water Posted May 24, 2021 Posted May 24, 2021 Use the search feature of the forum and you will find something like this: My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Skysnake Posted May 28, 2021 Posted May 28, 2021 https://www.autoitscript.com/autoit3/docs/functions/Beep.htm Try the Wiki and just browse the forum? Skysnake Why is the snake in the sky?
abberration Posted May 29, 2021 Posted May 29, 2021 Hello, TyuTu I think I know what you are asking. Why are there so many functions in AutoIt and how can you find what you are looking for? As mentioned earlier, AutoIt's functions make it easy to accomplish complicated tasks with one line of code. You used Python to browse the functions that AutoIt has, but a messy list is no way to browse. Go straight to the Help file! Here's a screenshot of your "Beep" example: Making your computer beep is this easy: Beep(500, 1000) The Help file is awesome. I have read it more than any book or magazine in my life. Hopefully, there is a version of the help file in your native language. Easy MP3 | Software Installer | Password Manager
JockoDundee Posted May 30, 2021 Posted May 30, 2021 4 hours ago, abberration said: Making your computer beep is this easy: Alas, Beep() does not appear to be a function that can be called from a python program using the AutoitX.dll. Code hard, but don’t hard code...
Jfish Posted May 30, 2021 Posted May 30, 2021 @JockoDundee - I think that is exactly what he was asking. When he views the available functions to be called from Python with AutoIt (the screen shot he provided) the list is a subset of what is otherwise available in AutoIt. The OP was asking why that is the case and was merely using beep as an example, his question now makes perfect sense. I don't know the answer ... but since many were trying to decipher the question I will see if that helps. Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt
JockoDundee Posted May 30, 2021 Posted May 30, 2021 19 minutes ago, Jfish said: The OP was asking why that is the case and was merely using beep as an example, his question now makes perfect sense. I don't know the answer ... but since many were trying to decipher the question I will see if that helps. I agree that’s what he’s asking. IMHO, the reason that Beep() is not included in AutoitX may be because it is a very standard function to be called in any language, so the demand for it is not like other Autoit specific functions. Code hard, but don’t hard code...
Earthshine Posted May 30, 2021 Posted May 30, 2021 What I don’t understand is why are you even want to use auto IT at all? There really isn’t anything you can do that python can’t with the available library’s My resources are limited. You must ask the right questions
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