The Omni Group

Go Back   The Omni Group Forums > OmniFocus > OmniFocus Extras
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
AppleScript Requests Thread Tools Search this Thread Display Modes
I'm looking for a fairly simple applescript. I want to take the currently selected project (or the project of the currently selected task) and send its attached contents to an Evernote name with the same name of the project (appending if it already exists).
  Reply With Quote
Hi there.

I have a very very simple request. I just need an applescript that automatically sets the task that i am writing down in the QuickEntryWindow to repeat. How do I do that?

Sorry if the question is a bit dumb, but I can not find anything and my applescript knowledge is zero.

Many thanks, aeiou
  Reply With Quote
Since the clipper doesn't work properly in Evernote, I'm thinking it'd be nice to have an applescript to copy the note link, pull up the quick entry, and paste the link into the notes field. Then I could assign this to a keyboard shortcut.

Right now I've assigned the "Copy Note Link" menu icon to the same hotkey as the clipper, and then I have to pull up quick entry and paste it into the notes field manually. It seems like this could be done with an applescript and then used with fastscripts/Alfred/etc. but I know nothing how to write applescript.


Thanks!
  Reply With Quote
Here is my request for a potentially very useful script for just getting started on something when you don't know what to do:

Make an app or AppleScript that presents you one next action from OF at a time, where you either complete the action and check it off, or "next" it.

This would be at random, from any project or single action list.

Often times I'm afraid to look at my OmniFocus because those lists are so long and full that I'd love to have this tool to just get doing instead of having to pick the best thing to do next.

Last edited by ilhankudeki; 2012-11-12 at 04:24 PM..
  Reply With Quote
There used to be an OmniFocus dashboard widget called OmniFidget that did pretty much exactly what you ask. Unfortunately, it has joined the great software scrap heap in the sky...

Here's a radical suggestion: Put OmniFocus in context view. Close your eyes. Move the mouse somewhere on the sidebar and click on a context. Open your eyes. Do the first thing listed in that context, or pick another context in the same way. You don't really need software to do this for you, it just makes it more likely you'll play with the tool instead of actually doing something. I know all about this problem :-)
  Reply With Quote
Hey there,
I use Hazel to watch some Dropbox folders for changes.
Now Iīm looking for an applescript to add a new task to OmniFocus with specified context, project and an attachment of the altered document every time Hazel recognizes a change in a certain Dropbox folder.

I found snippets for either automatically adding a task to a specific project and context or to create an inbox task with an attached document. But so far I wasnīt able to fiddle them together to perform the action described above.
It canīt be that hard, but I just donīt get it.
  Reply With Quote
LeJoh, did you see this thread? http://forums.omnigroup.com/showthread.php?t=20161

I downloaded a demo copy of Hazel and did a bit of fiddling with the script from that thread. I was able to get it to watch a certain file in a folder and make a new OmniFocus action with that file attached and project and context set each time the file changed.

Here's the script I used:
Code:

tell application "OmniFocus"
	tell application "Finder" to set file_name to (name of theFile)
	tell front document
		set NewTask to make new inbox task with properties {name:file_name}
		tell the note of NewTask
			make new file attachment with properties {file name:theFile, embedded:true} -- embed file
		end tell
	end tell
	try
		set task_project to item 1 of (get flattened projects of front document whose name is "Test project")
		set assigned container of NewTask to task_project
		set context of NewTask to item 1 of (get flattened contexts of front document whose name is "Home")
		tell front document to compact
	end try
end tell
Obviously, you'll want to change it to have appropriate values of "Test project" and "Home" :-)

I set up the rule to run if the Date Modified of the watched file is after the Date Last Matched, and invoke the script above.

Better ask me any other Hazel-related questions quickly, before my 14 day demo runs out :-)
  Reply With Quote
whpalmer4, thank you so very much! Your script works exactly as I hoped my attempts would do. You made my day :-)
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Perspective Requests Stephen Brown OmniFocus for iPad 4 2012-02-12 08:01 AM
Two requests gshenaut OmniFocus 1 for Mac 3 2011-01-08 09:06 AM
Feature Requests specialmoves OmniGraffle General 1 2008-06-26 03:54 PM
Feature/UI Requests Jon Hicks OmniWeb General 88 2007-03-15 02:08 PM
Few requests... thestaton OmniWeb Feature Requests 2 2006-11-15 12:57 PM


All times are GMT -8. The time now is 03:23 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.