The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

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

 
How I save a perspective with AppleScript? Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Hi,

I want to save a perspective with my (focused) active projects. How can I save a perspective with AppleScript? I got as far as focusing my active projects:

Code:
tell application "OmniFocus"
	set oDoc to default document
	tell default document
		set active_projects to flattened projects where its status is active
		tell front document window
			set perspective name to "Active Projects"
			set focus of front document window of oDoc to active_projects
			-- HERE--> save perspective name to "Project List"
		end tell
	end tell
end tell
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
Save Custom Perspective on Toolbar? rogbar OmniFocus 1 for Mac 6 2010-12-16 08:00 AM
Perspective-save viewbar status? sawxray OmniFocus 1 for Mac 1 2010-04-06 12:55 PM
AppleScript save as PDF - how can I get the whole page? jerremy OmniGraffle General 7 2009-03-14 03:17 PM
Applescript save? wblj OmniOutliner 3 for Mac 3 2008-07-02 11:30 AM
Applescript to save and export as pdf brab OmniGraffle General 0 2006-08-10 12:20 AM


All times are GMT -8. The time now is 04:06 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.