Jump to content

Search the Community

Showing results for tags 'macros'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office


  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






Found 6 results

  1. How does @StartUpCommonDir identify the folder to which it points? On my system, it points to "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup", while for another user who is testing my script, it points to "C:\Users\{USERNAME}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup", even though the other directory also exists on his system. Can someone please explain the built-in logic that leads to these different results? Thanks in advance.
  2. Years ago I tried to put some functionality together to do some of this here. I started off in the right direction but it ended up getting out of control. Any new thing I learned along the way (as I was creating it), I kept trying to add in and it all became a mess. One of my primary goals with that was to make sure the code could always be pre-compiled and still run. That part did work and I was able create a couple of good projects with it, but still a lot of parts I wouldn't consider correct now and certainly not manageable. Here is a redo of what I was going for there only this time
  3. I recently upgraded my laptop to one with Windows 10 and higher screen resolution. In the process I found that some of my scripts did not work right when using Autoit's @DesktopWidth and @DesktopHeight macros. Insteat of 1920 x 1080 resolution Autoit detects 1536 x 864. Thus, GUIs designed to appear near the right edge of the screen displayed closer to the horizontal middle of the screen. I assume others may have the same problem. A search on this forum and Microsoft Script Center helped me to write the following script that gets the true screen width and height from WMI. MsgBox
  4. I am working at a script (thanks @Chimp for the help on my previous thread) operating on Firefox, based on two time-set loops that are doing the same operations with some differences. Now I need to execute a local video at a determinated hour (between 12 and 4). My question is What is the best way to determine a precise hour (hh:mm)? I tried While @Hour >= 12 & @MIN >= 00 And @HOUR <= 14 & @MIN < 30But the loop is being ignored, although in the moment I use only @Min for my tests everything works fine. This is the essential - and working - structure of the present script:
  5. Happy Friday everyone! I would like to ask a pretty basic question, precisly whats the different between @ScriptDir and @AppDataDir? I know that @ScriptDir is the path for where the script (compiled/uncompiled version) is. Just today I read around some of the codes posted, and to me they seem to be similar after I read the help file. I didn't want to ask it in PM from the poster of the code where I read it Sorry for the elemetary question, and thank you for the enlightenment!
  6. I apologize if I'm being stupid, but I could find no general explanation of how AutoIt's macros are implemented. For example, I can't tell if they're evaluated at compile/build time (i.e., while running Aut2Exe) or at run time? I've seen the documentation where the macros and their values are described, but nothing general about them. Thanks.
  • Create New...