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 

Title case in folder/file name

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



Joined: 10 Sep 2009
Posts: 203

PostPosted: Sun Jan 10, 2010 9:11 pm    Post subject: Title case in folder/file name Reply with quote

I'm trying to make a script that will change selected file/folder name to title case

Code:
7::
Send,^x
ClipWait,1
string=%clipboard%
StringLower,string,string,T
clipboard=%string%
Send,^v
Clipboard := ""
Return


Select folder/file, hit F2 to rename, hit 7 to title case it, everything is ok, hit enter and changes are gone, hit F2 again then you see the changes are there.
Isn't that weird?
What I'm I doing wrong?

It works fine on normal text though
Back to top
View user's profile Send private message
None



Joined: 28 Nov 2009
Posts: 3086

PostPosted: Sun Jan 10, 2010 11:08 pm    Post subject: Reply with quote

Works fine in my XP SP3 Computer, what are you using?
Back to top
View user's profile Send private message
Gauss



Joined: 10 Sep 2009
Posts: 203

PostPosted: Mon Jan 11, 2010 12:29 pm    Post subject: Reply with quote

None wrote:
Works fine in my XP SP3 Computer, what are you using?


W7

The problem happens when trying to rename files or folders!
Back to top
View user's profile Send private message
Gauss



Joined: 10 Sep 2009
Posts: 203

PostPosted: Mon Jan 11, 2010 10:30 pm    Post subject: Reply with quote

Can anyone else with W7 test it and see if the result is any different?
Back to top
View user's profile Send private message
tonne



Joined: 06 Jun 2006
Posts: 1651
Location: Denmark

PostPosted: Tue Jan 12, 2010 7:55 am    Post subject: Reply with quote

No problems on Windows 7 Ultimate 32 bit.
_________________
RegEx Powered Dynamic Hotstrings
COM
AutoHotkey 2
Back to top
View user's profile Send private message
Display posts from previous:   
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