AutoHotkey Community

It is currently May 27th, 2012, 11:32 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: December 7th, 2011, 7:33 pm 
Offline

Joined: May 26th, 2011, 7:53 am
Posts: 237
Location: uk
Anonymous wrote:
Code:
If Searchtext<>
   {   
      Loop, %Favorites%\%SearchText%*, 0
   ; and similar...


See how %SearchText% starts straight after the backslash then is followed by an asterisk, that means it must search at the beginning of the filenames. Try putting an asterisk between the backslash and %SearchText% as well. Or removing %SearchText%* from the loop line and underneath (withiin the loop) do a If InStr(A_LoopFileName, SearchText). You could even do regex searches.


So far I tried the extra asterisk but it had no effect, I am still puzzeld why it works fine with pdf lnk etc etc just not txt or ahk


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: MSN [Bot], nomissenrojb and 66 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group