Talk:AutoHotkey: Inplace rename facilities: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 13: Line 13:


[[User:Sheepdog|Sheepdog]] {2. May 2006 17:05 (GMT)}
[[User:Sheepdog|Sheepdog]] {2. May 2006 17:05 (GMT)}


Hey, Partner
Hey, Partner
Line 20: Line 22:
About your question. Consider this filename: '''Abc{Enter}.txt'''
About your question. Consider this filename: '''Abc{Enter}.txt'''


Convert it to lowercase. Send will send abc, then press enter, thus the filename will be cropped. I can think of even more dangerous scenarios with '''abc{Del}{Enter}.txt''' ;-)
Convert it to lowercase. Send will send abc, then press enter, thus the filename will be cropped. I can think of even more dangerous scenarios with '''abc{Enter}d{Del}.txt''' ;-)


Of course this would happen rarely, but we are perfectionists, arent we :-)
Of course this would happen rarely, but we are perfectionists, arent we :-)
SanskritFritz
Hello,
Thanks for the improvements I was hoping perfectionists SanskritFritz will do it. Next time I promise I will save and restore the clipboard and use sendraw as well ;-)
[[User:Gbo|Gbo]] 3 May 2006 22:20 (GMT)
You're welcome :-) Thanks again for the scripts, nice ideas!
SanskritFritz

Latest revision as of 21:33, 3 May 2006

Nice collection! I would save and restore the clipboard in every script. Do you want me to do it?

And one more important thing: use SendRaw instead of Send (the %variable% will be expanded)!

SanskritFritz


Hey Partner,

I think save and restore of the clipboard is an essential improvement, and you should adopt the scripts.

BTW what is the advantage of sendraw in this particular case?

Sheepdog {2. May 2006 17:05 (GMT)}


Hey, Partner

Ok, I will do it.

About your question. Consider this filename: Abc{Enter}.txt

Convert it to lowercase. Send will send abc, then press enter, thus the filename will be cropped. I can think of even more dangerous scenarios with abc{Enter}d{Del}.txt ;-)

Of course this would happen rarely, but we are perfectionists, arent we :-)

SanskritFritz


Hello,

Thanks for the improvements I was hoping perfectionists SanskritFritz will do it. Next time I promise I will save and restore the clipboard and use sendraw as well ;-)

Gbo 3 May 2006 22:20 (GMT)


You're welcome :-) Thanks again for the scripts, nice ideas!

SanskritFritz