Looks like the only thing you can do with perspectives from AS is print them.
I'm hoping that some day you can "activate" them.
-P
I'm hoping that some day you can "activate" them.
-P
|
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
| activate Perspectives | Thread Tools | Search this Thread | Display Modes |
|
Looks like the only thing you can do with perspectives from AS is print them.
I'm hoping that some day you can "activate" them. -P
Post 1
|
|
Perspective scripting is pretty clunky right now; that there is even a 'perspective' scripting class is relatively new. We'd like to do more, but it won't make it into 1.0.
One of the bits of cruft that is useful is that you can create new windows with a given perspective: Code:
tell application "OmniFocus"
tell default document
make new document window with properties {perspective name:"To Go"}
end tell
end tell
Code:
tell application "OmniFocus" tell default document set perspective name of front document window to "To Do" end tell end tell
__________________
VP of Software Development
Post 2
|
|
Member
2008-02-11, 01:01 PM
Is there any way to get a reference to the new window when using:
Code:
tell application "OmniFocus"
tell default document
make new document window with properties {perspective name:"To Go"}
end tell
end tell
Eric Last edited by umop; 2008-02-11 at 01:02 PM.. Reason: code tags
Post 3
|
|
Member
2008-02-11, 01:14 PM
Nevermind -- I got it:
Code:
set docTarget to make new ...
Post 4
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Activate broken in 92632 | curt.clifton | OmniFocus Extras | 18 | 2007-12-21 05:52 AM |
| Applescript - Activate Issue | geoffbarrall | OmniFocus Extras | 2 | 2007-11-02 11:19 AM |
| Can't activate browser window / crash on launch | neilio | OmniWeb General | 3 | 2006-08-17 07:55 PM |
| Window menu does not activate windows | Ward | OmniWeb Bug Reports | 2 | 2006-05-13 06:26 PM |
| Clicking in-browser does not activate. | danlurie | OmniWeb Bug Reports | 6 | 2006-04-14 11:08 AM |