#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. RUN,Regsvr32 /s %1% RUN,Properties %2% SetTitleMatchMode RegEx WinWait, "*Properties",, WinWaitClose RUN,Regsvr32 /u /s %1% ExitApp
The above code I have written.
I have a dll and it is registrable. After registration we can see some extra tab is file properties dialog.
for this purpose. I have written the script like this
1. Pass the file to ahk file
2. register the dll
3. open properties
4. unregister the dll
How to achieve this. because above code is not working.(means it is registering , able to see the properties . but not unregistering...
could you help me in this regard.