AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

~.* delete wont work.

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
BMP



Joined: 07 Feb 2005
Posts: 14
Location: Germany

PostPosted: Mon Feb 21, 2005 11:23 pm    Post subject: ~.* delete wont work. Reply with quote

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
View user's profile Send private message Visit poster's website
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Mon Feb 21, 2005 11:39 pm    Post subject: Reply with quote

tried this?

Code:
FileDelete, %OutputVar%\~*.*

_________________
Back to top
View user's profile Send private message
savage



Joined: 02 Jul 2004
Posts: 206

PostPosted: Tue Feb 22, 2005 3:13 pm    Post subject: Reply with quote

Rajat's right, ~.* will only match files called ~.123, ~.321, etc. ~*.* will match ~abc.123, ~blahblah.spoon, etc.
Back to top
View user's profile Send private message AIM Address
BMP_
Guest





PostPosted: Thu Feb 24, 2005 8:39 am    Post subject: Reply with quote

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 Twisted Evil
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group