$ getclip | gawk '{ print "convert.vbs /profile:" $1 ".cvt\ndaily.vbs /profile:" $1 ".dly\n" }' | putclip
It gets the word I put in the clipboard (selected and copied out of SciTe) and puts back on the clipboard the word as commands and filenames to be pasted back in. For example, I put
Marble_Bar
on the clipboard, reissue the command, and get
convert.vbs /profile:Marble_Bar.cvt
daily.vbs /profile:Marble_Bar.dly
No comments:
Post a Comment