Frequently Asked Questions (FAQ)
There is an updated FAQ online at this address:
The ADLIB section.
Check, Dialog, and Input Boxes
- Does anybody have a way of finding out whether a checkbox is currently selected?
- Is it possible to have a message window pop up, type a value, then have that value re-typed when called?
- How do I take a user ID and password from Input Boxes and later send it to another application?
Directory Management
- How do I create a directory from within AutoIt?
- How do I delete a directory from within AutoIt?
- How do I delete all of the files in a directory?
Disk Management
- How do I format a bootable system diskette from within AutoIt?
- How can I defrag my hard drive on a nightly basis using a W2K scheduler?
Display Manipulation
- How do I run an external command dependent on the display resolution?
- How do I save a screen or single window for later scrutiny?
General AutoIt Questions
- Does AutoIt record keystrokes/mouse clicks and create a script or do I need to write it manually?
- Is there a way to have autoIt randomly select a file out of a directory or list of files?
- How do I empty the recycle bin from within AutoIt?
- What exactly does "Reveal mode" do?
- How can I schedule the running of an AutoIt script?
- Does anyone know if an AutoIt archive exists?
- Has anyone used AutoItX within a Visual Basic Application?
General Windows Questions
- Is there a sure way to command my Windows to reboot?
- What do I do if other users are connected to the system as well?
- How do I shutdown a server down when users are connected?
- How do I shutdown all PC's on a local network by running a script from a Windows 98 "server"?
- Is it possible to send keystrokes to invisible windows with AutoIt?
- Is their anyway to have AutoIt hold a mouse click down (for a second or so)?
- Is it possible to bring the cursor back to a predefined position after a mouse movement command?
- Is there a way to determine that Windows has finished booting?
- How do I create a shortcut from within AutoIt?
- How can I detect a window with varying titles ?
Networking
- Is there an easy way to change the Gateway IP (in TCP/IP) for a network card using AutoIt?
- How do I run an AutoIt script at or before the logon screen in Windows NT?
- Can I use AutoIt to login a user on Windows NT or 2000
Registry Manipulation
- How do I save an uninstall string value in a variable, and run it?
- How can I read/write default entries to/from the registry?
- How do I delete a registry key?
- How do I delete a registry key without using an external command? What can I write in a .REG file?
- Is there a way from AutoIt to secure a Registry key?
The RUN and RUNWAIT commands and the COMSPEC variable
- How do I run an external command?
- Is there a way to activate the Run box (Winkey-R) dialogue quickly?
- How do I play a WAV file from within AutoIt?
- Why doesn't the DOS command window close automatically?
The Send Command
- How do I output spaces that are at the beginning of a line?
- With AutoIT can I work with excel cells?
Special Characters
The SplashText Command
The String Manipulation Commands
- How do I remove spaces from a string?
- What am I doing wrong with the StringLeft command?
- Is there a way to return the position of a substring within a string?
- Is there a difference between reading a line with a blank space and carriage return vs. just a carriage return?
Variable Resolution