Showing posts with label hacks. Show all posts
Showing posts with label hacks. Show all posts

2009-04-29

Using Launchy to take quick notes

I've added an entry to Launchy's Runner plugin to take quick notes.
I just type tn someText and the someText gets appended with date and time stamp to the file c:\notes.txt.

The item is defined like this:
Name: tn
Program: cmd.exe
Arguments: /C "echo %Date% %Time%>> c:\notes.txt & echo $$ >> c:\notes.txt & echo_>> c:\notes.txt"

WinXP Batch for Exporting Balsamiq Mockups to Pngs

@echo off
rem Export all Balsamic Mockup files to pngs in the same directory.
setlocal
if not "%echo%"=="" echo %echo%
set prog="%ProgramFiles%\Balsamiq Mockups\Balsamiq Mockups.exe"

for %%m in (*.bmml) do call :ProcessFile "%%m"

exit /b

:ProcessFile
rem must provide fully qualified paths of balsamiq
%prog% export "%~f1" "%~d1%~p1%~n1.png"

Edit 29-Apr-2009 13:10 (EDST)
Peldi asked my to include a link to the Balsamiq support site
and I hereby oblige happily. I should have looked there first - I just enjoy to much writing shell scripts.

Whos.amung.us?

whos online

Ralf"s shared items