Search found 7 matches

by dathan_neal
15 Jul 2019, 10:25
Forum: Ask for Help (v1)
Topic: Limit script to ACAD but exclude dialog boxes Topic is solved
Replies: 2
Views: 875

Re: Limit script to ACAD but exclude dialog boxes Topic is solved

If you use #if you can combine more than one condition.With "WinSpy" you can find the title or class of the dialog box and use it for a second condition. I do not have AutoCad so I cannot check the windows but here is an example using my editor PSPad that has a dialog box for opening a file.It will...
by dathan_neal
12 Jul 2019, 15:01
Forum: Ask for Help (v1)
Topic: Limit script to ACAD but exclude dialog boxes Topic is solved
Replies: 2
Views: 875

Limit script to ACAD but exclude dialog boxes Topic is solved

Hi, still new to AHK. This may be a long shot but here goes. I want my AHK script to only run in ACAD and no other program (I think I got this part). Also, I want the script to be disabled when I am in a dialog box. For example, if I am creating a PDF in CAD, I want to be able to type a file name wi...
by dathan_neal
12 Jul 2019, 12:31
Forum: Ask for Help (v1)
Topic: If, Else Statement - Help Please Topic is solved
Replies: 5
Views: 1164

Re: If, Else Statement - Help Please Topic is solved

Hallo, your note makes no sense. What does a letter W in a command have to do with a letter W in a hotkey? Test this snippet first inside a notepad window! $^d:: Send dim al _nea{enter} ;with space, right? Sleep, 100 KeyWait, Lbutton, D ;Wait for Lbutton to be pushed down KeyWait, Lbutton ;Wait for...
by dathan_neal
12 Jul 2019, 12:11
Forum: Ask for Help (v1)
Topic: If, Else Statement - Help Please Topic is solved
Replies: 5
Views: 1164

Re: If, Else Statement - Help Please Topic is solved

Hello! You're using CAD, why not use COM?? like this #Persistent #SingleInstance, Force #NoEnv acad:= ComObjActive("AutoCAD.Application") $F1:: acad.ActiveDocument.SendCommand("Polyline`n") Return $End:: exitApp Return i do not know what dim al_nea command is, sorry While searching for AHK and CAD,...
by dathan_neal
12 Jul 2019, 12:09
Forum: Ask for Help (v1)
Topic: If, Else Statement - Help Please Topic is solved
Replies: 5
Views: 1164

Re: If, Else Statement - Help Please Topic is solved

Hallo, your note makes no sense. What does a letter W in a command have to do with a letter W in a hotkey? Test this snippet first inside a notepad window! $^d:: Send dim al _nea{enter} ;with space, right? Sleep, 100 KeyWait, Lbutton, D ;Wait for Lbutton to be pushed down KeyWait, Lbutton ;Wait for...
by dathan_neal
10 Jul 2019, 18:24
Forum: Ask for Help (v1)
Topic: If, Else Statement - Help Please Topic is solved
Replies: 5
Views: 1164

If, Else Statement - Help Please Topic is solved

I am new to AHK and still learning. I have a script that I could use help on. Here is my script as it is: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scr...
by dathan_neal
19 Apr 2019, 13:20
Forum: Scripts and Functions (v1)
Topic: Hotkey Help - Display Active AHK Hotkeys and Hotstrings
Replies: 88
Views: 60519

Re: Hotkey Help - Display Active AHK Hotkeys and Hotstrings

Thank you! New to AHK and this tool is exactly what I was hoping for. Now to just see if I can get these hotkeys to respond a little quicker....

Go to advanced search