by Murray | Oct 5, 2016 | AutoHotKey, Scripting
Managing Tasks and Projects I have used a number of productivity tools over the years from Thinking Rock to OmniFocus and have always been frustrated by not being able to access and edit my projects anywhere and on any device. For example, OmniFocus is probably my...
by Murray | Sep 20, 2016 | AutoHotKey, Scripting
I use a simple set of scripts that allow me to enter dates in a range of formats. Day.Month.Year, Month/Day/Year, Year-Month-Day with a range of separators. This is done using the standard script below and changing the <key> and Date/Time format String....
by Murray | Sep 19, 2016 | AutoHotKey, Scripting
Computers are very good at dull, repetitive tasks, humans less so. I am slightly less tolerant of the dull and repetitive than average so get great enjoyment from eliminating the dull where I can and enhancing the rest as much as possible with tricks, scripts and...
by Murray | Oct 9, 2010 | MSDOS
If you have a path and filename and you want to extract the filename from the path then you can use the following regex: %~NXf e.g. for %f in (c:\temp*.pdf) do copy %f c:\pdffiles\%~nxf This will append only the filename to the final path. This is a bit of a...
by Murray | May 3, 2010 | MSDOS
for /R %z in (*.zip) do unzip “%z” The DOS for command can simplify a lot. The above example will iterate over a file (you can specify delimeters & variables) and carry out an opertion of each item found. One I use a lot is; for %f in (.dll,.ocx) do...