I pained over whether to post this because it's probably very basic to most folks.
I took the timer that Peter had posted and trimmed it down smaller, no scroll bars, soft color, off to the upper left of screen and had it call a large display text window when done (so that I have to address it!).
It also captures the current system volume setting, turns it up to xx, then restores the volume when done.
I've been getting a lot of use out of it, thought maybe someone else could use it.
Oh, sorry it was disabled, i had to check "trigger by any of the following..."
Btw - how can i get another field text to the html?
I wanted to add a "What" input field in to the users input and set it as variable,
then add it to the html window so i will see the task i'm working on now above the
counter. i tried using %What% (What is my variable) but it didn't work. also tried and didn't.
Also - if you have a minute to explain how (and where in the macro) exactly the other macro is called. i thought of maybe tweaking it to prompt the user input again (cause i'm mostly cycling through tasks one after the other) and also would like to learn how to this generally.
I think we have to use javascript to get KM variables if we use "Custom prompt with HTML text".
If we use "Custom prompt with HTML file", we can first use KM to change the content of the HTML file, then use the "Custom prompt with HTML file" action to execute it.
I've made some modifications to @troy's macro.
I've made two macros, one stands alone, the other works with Alfred. Both can take timer duration arguments such as:
"5" means a 5 min timer.
"5s" means a 5 sec timer.
"1.5m" means a 1.5 min timer.
"0.5h" means a 0.5 hr timer.
The standalone macro can take an extra argument -- the task name. If no name needed, just leave it blank. If a task name is provided, the timer window is a little bit larger. If can show up to 7 letters long. If the task name is more than 7 letters, we can resize the timer window.
The Alfred workflow takes only one argument, i.e., the timer duration. It will not take a task name.
This forum does not accept .alfredworkflow extension file. I need to zip the workflow file and KM macro.
Thx so much this is exactly what I was looking for. What do I alter to get the timer to display in a different screen location? currently it appears in the center. also anyway to make it more transparent?
The numbers that I used above were percentages, which basically tell you the position (and size) of the screen in percentages that you want the window to be located at. In my case I said 0% for the first two lines, which means top left, and the second two numbers contain a minus sign which means the width and height are nearly full screen. Perhaps you just want to replace those last two numbers with something like 25%. You'll have to decide what you want.