| View previous topic :: View next topic |
| Author |
Message |
BMP
Joined: 07 Feb 2005 Posts: 14 Location: Germany
|
Posted: Mon Feb 21, 2005 11:23 pm Post subject: ~.* delete wont work. |
|
|
| Code: | | FileDelete, %OutputVar%\~.* |
In this Directory are many ~ABC.123 Files.
The only same think is the ~ as the first think.
But the FileDelete, ~.* dont kill them.
It is becouse :
| Quote: | | If the tilde (~) operator is used with a prefix key even once, that prefix will always be sent through to the active window. For example, in both of the below hotkeys, the active window will receive all right-clicks even though only one of the definitions contains a tilde: |
|
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Mon Feb 21, 2005 11:39 pm Post subject: |
|
|
tried this?
| Code: | | FileDelete, %OutputVar%\~*.* |
_________________
 |
|
| Back to top |
|
 |
savage
Joined: 02 Jul 2004 Posts: 206
|
Posted: Tue Feb 22, 2005 3:13 pm Post subject: |
|
|
| Rajat's right, ~.* will only match files called ~.123, ~.321, etc. ~*.* will match ~abc.123, ~blahblah.spoon, etc. |
|
| Back to top |
|
 |
BMP_ Guest
|
Posted: Thu Feb 24, 2005 8:39 am Post subject: |
|
|
| savage wrote: | | Rajat's right, ~.* will only match files called ~.123, ~.321, etc. ~*.* will match ~abc.123, ~blahblah.spoon, etc. |
Thank you,
after 5 hours of coding with AHK my brain whas burn out  |
|
| Back to top |
|
 |
|