AutoHotkey Community

It is currently May 27th, 2012, 1:16 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: January 10th, 2010, 10:11 pm 
Offline

Joined: September 10th, 2009, 5:54 pm
Posts: 203
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 11th, 2010, 12:08 am 
Offline

Joined: November 28th, 2009, 4:45 am
Posts: 3089
Works fine in my XP SP3 Computer, what are you using?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 11th, 2010, 1:29 pm 
Offline

Joined: September 10th, 2009, 5:54 pm
Posts: 203
None wrote:
Works fine in my XP SP3 Computer, what are you using?


W7

The problem happens when trying to rename files or folders!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 11th, 2010, 11:30 pm 
Offline

Joined: September 10th, 2009, 5:54 pm
Posts: 203
Can anyone else with W7 test it and see if the result is any different?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 12th, 2010, 8:55 am 
Offline

Joined: June 6th, 2006, 3:19 pm
Posts: 1654
Location: Denmark
No problems on Windows 7 Ultimate 32 bit.

_________________
RegEx Powered Dynamic Hotstrings
COM
AutoHotkey 2


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot], iDrug, Ohnitiel and 20 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