Wanted: Growl-style bubble for current action
iGTD has a feature called "pin" IIRC that puts a bubble in the corner of the screen with info on an action, which was a nice way to look at the notes about the action without flipping back to the full app. I looked at scripting this with Growl notifications, but they don't seem to have an option to make the notification persistent.
Anyone with more AppleScript-fu have suggestions for creating a bubble that will display info on the current action? |
1 Attachment(s)
This script should do the trick: [ATTACH]304[/ATTACH] Run it once and you'll get a normal notification. But after that, you can go to the Growl system preference pane, Applications tab, and select Curt's Scripts in the top list. In the bottom list, make the Sticky Notifications actually sticky by making sure the Sticky column has a checkmark.
|
Curt, I am getting the following error when I try to run your script:
AppleScript reported the following error: OmniFocus got an error: NSReceiverEvaluationScriptError: 3 I am using yesterday's build. Any thoughts? George |
[QUOTE=gcrump;21686]Curt, I am getting the following error when I try to run your script:
AppleScript reported the following error: OmniFocus got an error: NSReceiverEvaluationScriptError: 3 I am using yesterday's build. Any thoughts? George[/QUOTE] same error AppleScript reported the following error: OmniFocus got an error: NSReceiverEvaluationScriptError: 3 |
Works fine for me in the latest build, 91773. I'm using Growl 0.7.4.
Try opening the script in Script Editor and running it from there. It should highlight where the error is occurring. Let me know what you find. |
This worked for me, no problem. It seems like a good idea, but do you have to run or invoke the script each time you want growl to run the notification?
|
[QUOTE=steve;21724]This worked for me, no problem. It seems like a good idea, but do you have to run or invoke the script each time you want growl to run the notification?[/QUOTE]
OK, running it from script editor worked. Not sure what this is supposed to do though. I was under the impression that as I moved from task to task it would but a growl bubble up. Was I mistaken? I am using GROWL 0.76 Thanks, George |
[QUOTE=gcrump;21733]OK, running it from script editor worked. Not sure what this is supposed to do though. I was under the impression that as I moved from task to task it would but a growl bubble up. Was I mistaken? I am using GROWL 0.76
[/QUOTE] You run the script, it posts a notification. There is no way to make the notification track OF. You just have to run the script again when you want to post a reminder of what you are working on. The script really was just a quick one-off to demonstrate how to post sticky reminders with Growl. I don't plan to support the script and won't be posting it to my scripts page as I don't have a need for it. I don't think I understand what you all are wanting to do with such a script. I was thinking you just wanted to keep track of what you were working on, so when you finished dealing with an interruption you could return to what you were doing. Are you looking for something that shows your top-most next action and allows clicking to complete and then show the next next action? That an interesting idea, but isn't something that Growl would be useful for. |
This works for me, too. If anyone has done anything more with this, or would like to, I hope you see my request for development [URL="http://forums.omnigroup.com/showpost.php?p=22901&postcount=9"]here[/URL].
|
Error when I run the script
Unfortunately, I'm getting this error message when I run the script
[url]http://img.skitch.com/20080506-dx7ub42ma1pupw45nba62emt4d.jpg[/url] Does anybody knows how to fix this? |
Thankyou!
This is perfect for what I need - thanks so much!
It would be great if the script could link back to the item if the growl notification is clicked, just like OmniFocus does when something becomes due. Otherwise, perfect script! Very handy. |
Is this working for anyone in OmniFocus-1.6?
Thanks, Steve |
I don't normally use it, but I was able to download it and run the script with OF 1.6.1 just now without any problem. What are you seeing (or not)?
|
whpalmer4,
Thanks for checking for me. I haven't used this in a quite awhile, but I've been drawn back as a possible focusing agent. Nothing seems to happen when I run the script. Growl 1.1.4 is turned on and works with other applications, curt's script is checked . . . |
You [b]do[/b] have an action selected when you run it, right?
For troubleshooting, I would suggest opening the Script Editor (double-clicking on the script file should do that) and using the Run button there to invoke the script. If you have the Event Log History window open when you run the script, you can see the output, which will look something like this: [code] tell application "OmniFocus" get every selected tree of content of document window 1 of document 1 whose index = 1 {tree 3 of tree 243 of content of document window id 613 of document id "n3_4uuu0hr2"} get value of tree 3 of tree 243 of content of document window id 613 of document id "n3_4uuu0hr2" task id "nRjKLG1N3U7" of document id "n3_4uuu0hr2" get name of task id "nRjKLG1N3U7" of document id "n3_4uuu0hr2" "RE: Book Fair contest" end tell tell application "GrowlHelperApp" register as application "Curt's Scripts" all notifications {"Script Completed", "Script Began", "Sticky Notifications"} default notifications {"Script Completed"} icon of application "OmniFocus.app" notify with name "Sticky Notifications" title "What am I doing?" application name "Curt's Scripts" description "RE: Book Fair contest" end tell [/code] Posting that here might give us a clue as to what is going wrong. |
I'm having the same issue, nothing happens. Here is the results from the event log:
tell application "OmniFocus" get every selected tree of content of document window 1 of document 1 whose index = 1 {tree 2 of tree 2 of content of document window id 719661 of document id "lHm3rTww0mR"} get value of tree 2 of tree 2 of content of document window id 719661 of document id "lHm3rTww0mR" task id "k0ZToWJYA9C" of document id "lHm3rTww0mR" get name of task id "k0ZToWJYA9C" of document id "lHm3rTww0mR" "Take Macbook in for repair" end tell tell application "GrowlHelperApp" register as application "Curt's Scripts" all notifications {"Script Completed", "Script Began", "Sticky Notifications"} default notifications {"Script Completed"} icon of application "OmniFocus.app" notify with name "Sticky Notifications" title "What am I doing?" application name "Curt's Scripts" description "Take Macbook in for repair" end tell |
And here is mine. . . It correctly identifies the action that I was on but nothing displays in growl. It is turned on, checked for curt's scripts, and is working for other apps.. . hmmm!
tell application "OmniFocus" get every selected tree of content of document window 1 of document 1 whose index = 1 {tree 1 of tree 1 of tree 3 of content of document window id 7094 of document id "p69_IWY9YHf"} get value of tree 1 of tree 1 of tree 3 of content of document window id 7094 of document id "p69_IWY9YHf" task id "pVc3LIJyiae" of document id "p69_IWY9YHf" get name of task id "pVc3LIJyiae" of document id "p69_IWY9YHf" "research online quizzes" end tell tell application "GrowlHelperApp" register as application "Curt's Scripts" all notifications {"Script Completed", "Script Began", "Sticky Notifications"} default notifications {"Script Completed"} icon of application "OmniFocus.app" notify with name "Sticky Notifications" title "What am I doing?" application name "Curt's Scripts" description "research online quizzes" end tell |
1 Attachment(s)
Here is an updated version of the script that I've been using: [ATTACH]942[/ATTACH]
This one is simpler than the original and uses a different application name in Growl. After you run the script once, you can go to Growl preferences and set notifications from "OmniFocus Stickies" to always Stay on Screen. I also set them to appear is every Space. Those of you having trouble, please let me know if the new version works. If so, I'll post it to my software page. (I have a spiffy/cheesy icon for the script, but with the icon it's too large to post to the forums.) |
This is working perfectly now, Thanks Curt
|
All times are GMT -8. The time now is 05:52 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.