Ask Different (Apple)
Q&A for power users of Apple hardware and software
Latest Questions
3
votes
0
answers
846
views
How to force a service shortcut to override an application one?
I want to have a global "send to omnifocus" shortcut. I have enabled it and set via `Keyboard -> Services`. Unfortunately, it seems to conflict with some default shortcut in the `Apple Mail`. Is there a way to force services shortcut to be globally overriding applications shortcuts? [
Almad
(131 rep)
Nov 13, 2021, 12:32 PM
• Last activity: Nov 13, 2021, 12:49 PM
2
votes
1
answers
69
views
How to add a New Action when viewing a Custom Perspective in OmniFocus 3?
I have created a custom perspective in OmniFocus 3.11.2 for macOS. How do I add a New Action when viewing this perspective? Trying several approaches, I always just get an audible signal and nothing else happens. Strategies that produce this: - menu bar File -> New Action - the keystroke shortcut fo...
I have created a custom perspective in OmniFocus 3.11.2 for macOS. How do I add a New Action when viewing this perspective? Trying several approaches, I always just get an audible signal and nothing else happens.
Strategies that produce this:
- menu bar File -> New Action
- the keystroke shortcut for File -> New Action
- the Return key
No combination of grouping or sorting has enabled me to add a New Action.
Background: my custom perspective filter rules only show actions that are
- Available
- In an active project
- Contained within a few projects or folders
Thanks!
RTM
(123 rep)
Jan 26, 2021, 07:31 PM
• Last activity: Jan 26, 2021, 08:24 PM
2
votes
1
answers
745
views
Triggering Launch Agents for path in sandboxed app using WatchPaths does not work
I am trying to create a user LaunchAgents that will trigger a script when a path managed by a sandbox app will change (in my case, when `/Library/Containers/com.omnigroup.OmniFocus3/Data/Library/Application\ Support/OmniFocus/OmniFocus.ofocus` will change). For this, I want to use the `WatchPaths` k...
I am trying to create a user LaunchAgents that will trigger a script when a path managed by a sandbox app will change (in my case, when
/Library/Containers/com.omnigroup.OmniFocus3/Data/Library/Application\ Support/OmniFocus/OmniFocus.ofocus
will change).
For this, I want to use the WatchPaths
key of launchd, I already tried with a Folder Action, but those are limited to file addition in a folder.
I have made a working test to listen on a file and folder in my home directory and trigger a notification. e.g.:
Label
me.mayeu.helloworld
ProgramArguments
/usr/local/bin/terminal-notifier
-message
Test
WatchPaths
/Users/me/watchtest/
This works well for whatever changes happen under the watchtest
folder.
But when I replace the WatchPaths
key with the OmniFocus database, this does not work anymore (no notification are triggered):
Label
me.mayeu.script.OmniListen
ProgramArguments
/usr/local/bin/terminal-notifier
-message
Test
WatchPaths
/Users/me/Library/Containers/com.omnigroup.OmniFocus3/Data/Library/Application\ Support/OmniFocus/OmniFocus.ofocus
I have a feeling that this is due to the sandboxing of the app. But I can't find any documentation about that.
I am using macOS Mojave 10.14.2.
Mayeu
(31 rep)
Jan 31, 2019, 09:33 AM
• Last activity: Jan 31, 2019, 10:38 AM
4
votes
1
answers
377
views
How to move my OmniFocus data from old Mac to new Mac?
How can I move my data entered into OmniFocus 2.12 on macOS from my old computer (or hard drive) to my new computer (or hard drive)? Should I just locate and move a data file? If so, where is that data file stored, in what folder? I am not using Apple’s *Migration Assistant*. I want to do this move...
How can I move my data entered into OmniFocus 2.12 on macOS from my old computer (or hard drive) to my new computer (or hard drive)?
Should I just locate and move a data file? If so, where is that data file stored, in what folder?
I am not using Apple’s *Migration Assistant*. I want to do this move manually.
Basil Bourque
(13982 rep)
Jul 21, 2018, 07:23 PM
• Last activity: Jul 21, 2018, 07:34 PM
2
votes
1
answers
189
views
New file/database in OmniFocus 2 for macOS
When first starting to use OmniFocus, it opens with some example data preloaded for practice. Am I supposed to delete that bogus data, and continue to use that existing file/database for my own data? Or am I supposed to create a new distinct file or database for my own real data? I’ve tried looking...
When first starting to use OmniFocus, it opens with some example data preloaded for practice.
Am I supposed to delete that bogus data, and continue to use that existing file/database for my own data? Or am I supposed to create a new distinct file or database for my own real data?
I’ve tried looking through the manual. But I do not see anything about new files or about backing up my database.
Basil Bourque
(13982 rep)
May 5, 2018, 08:29 PM
• Last activity: May 5, 2018, 09:18 PM
1
votes
1
answers
2798
views
What is the meaning of 'no acceptable variant' ERROR message?
I have a Mac mini Server with Mac OS X Server 10.6.8 (Snow Leopard), where I run a WebDAV Server for syncing my OmniFocus (Mac iPad). But I don't use the Web-Server itself (only WebDAV). When I do a sync in OmniFocus from my iPad, I can see the following ERROR message in the apache2 error_log file:...
I have a Mac mini Server with Mac OS X Server 10.6.8 (Snow Leopard), where I run a WebDAV Server for syncing my OmniFocus (Mac iPad). But I don't use the Web-Server itself (only WebDAV).
When I do a sync in OmniFocus from my iPad, I can see the following ERROR message in the apache2 error_log file:
[..14] [error] [client IP] no acceptable variant: /usr/share/httpd/error/HTTP_UNAUTHORIZED.html.var
----------
OmniFocus has no problem and **sync just works fine** (debug logfiles show clearly that WebDAV works as intended and the client has the needed User permissions & rights).
Only the Web-Server is making trouble.
I suppose that an **ERROR message** in my WebServer logfile **means that something is not configured as it should be**?!
I understand that it has something to do with '*Multi Language Custom Error Documents*' which is on by Default and is dependant on several Apache Modules. But even after reading several Readme files and studying online Tutorials it is far beyond my understanding of how this works together.
My Mac mini Server is still not in productive mode and turned off most the time. I only turn it on to resolve this last remaining ERROR message.
----------
What I tried so far:
• extensive Google search / even on SE sites
• read all possible (available) Apple Server manuals
• started reading the Apache Server manuals
• I spent several nights trying to fix the problem (fiddling with .conf files)
• I did reset to default settings for the Apache Server
• I talked with some hackers about 'Apache Modules' at the 30C3 Congress in Hamburg
• Installed a 2nd Mac OS X Server on another Volume to recover default conf files/values
----------
• Could someone please explain me the meaning of 'no acceptable variant' ?
• Why does this ERROR matter? What do I need to understand to fix this ERROR?
user71997
Mar 4, 2014, 06:18 AM
• Last activity: Mar 2, 2018, 11:49 AM
1
votes
1
answers
615
views
Copy/paste OmniFocus actions for iOS on iPhone?
Is there any way to copy/paste actions in OmniFocus for iOS on the iPhone? If I recall correctly, there used to be a beta feature you could enable in the settings which allowed you to press and hold on an action to show the "copy" option, but it's no longer there in the latest version. Is there any...
Is there any way to copy/paste actions in OmniFocus for iOS on the iPhone?
If I recall correctly, there used to be a beta feature you could enable in the settings which allowed you to press and hold on an action to show the "copy" option, but it's no longer there in the latest version.
Is there any other way to duplicate actions in OmniFocus without having to use another client?
Senseful
(24445 rep)
Feb 28, 2012, 08:25 PM
• Last activity: Jul 10, 2016, 09:42 PM
0
votes
1
answers
103
views
URL for Omnifocus Context
I would like to use a URL in Launch Pad Pro to open the "Home" context in OmniFocus whenever I get home. I know to get to a perspective you use: omnifocus:///perspective/PerspectiveName But I've tried this for contexts, and it isn't working. omnifocus:///context/Home
I would like to use a URL in Launch Pad Pro to open the "Home" context in OmniFocus whenever I get home.
I know to get to a perspective you use:
omnifocus:///perspective/PerspectiveName
But I've tried this for contexts, and it isn't working.
omnifocus:///context/Home
Aaron
(442 rep)
Jan 8, 2016, 07:52 PM
• Last activity: Feb 25, 2016, 08:24 PM
1
votes
2
answers
1213
views
Date calculation in AppleScript. Week numbers and their start date
I want to write an AppleScript that creates projects in OmniFocus where their defer date and due date is set to any weeks' start and end day. The result should look like this: weeknumber: day1. month1. year1 - day2. month2. year2 Where `weeknumber` is replaced with a weeks' week number. `day1`, `mon...
I want to write an AppleScript that creates projects in OmniFocus where their defer date and due date is set to any weeks' start and end day.
The result should look like this:
weeknumber: day1. month1. year1 - day2. month2. year2
Where
weeknumber
is replaced with a weeks' week number. day1
, month1
and year1
take weeknumber
s' week number and parse it to that days' date. So for week number 09 in 2016 that would be 29. 02. 2016
. The first week ends (day2
and so forth) end on 06. 02. 2016
. So the result for the first week of 2016 would look like this:
09: 29. 02. 2016 - 06. 02. 2016
From the shell it is possible to get the last day of a *month* like so:
date -v 1d -v 3m -v 16y -v -1d +'%V: %d. %m. %Y'
09: 29. 02. 2016
In AppleScript you can turn any string, e.g. returned from a shell script (date
) into a date object with the syntax:
set lastDayShell to do shell script "date -v 1d -v 3m -v 16y -v -1d +'%V: %d. %m. %Y'"
set lastDay to date lastDayShell
The command to add a new project to OmniFocus is this:
tell application "OmniFocus"
tell default document
set weekNumbers to folder "Week Numbers"
tell weekNumbers
set project1 to make new project with properties {name:"09: 29. 02. 2016", defer date:firstDay, due date:lastDay, singleton action holder:true}
end tell
end tell
end tel
I know all of that. I just can't find a resource that says how to get the first and last day of any week. I want to set the defer date of any weeks' start to the first of the week, and the due date to the last day.
Zettt
(307 rep)
Dec 28, 2015, 11:09 AM
• Last activity: Dec 28, 2015, 06:58 PM
0
votes
1
answers
163
views
OmniFocus adds note when capturing reminder
I have OmniFocus set up to capture reminders created in Reminders.app on my iPhone 6 running iOS 9. Starting with iOS 9, the following text is added to the task's notes field: "Original task available in the 'Captured by OmniFocus' list in Reminders." This text is unnecessary. In fact, it's annoying...
I have OmniFocus set up to capture reminders created in Reminders.app on my iPhone 6 running iOS 9. Starting with iOS 9, the following text is added to the task's notes field: "Original task available in the 'Captured by OmniFocus' list in Reminders." This text is unnecessary. In fact, it's annoying, because it adds cruft to OmniFocus. How can I stop OmniFocus from adding this note?
Crowder
(3974 rep)
Oct 21, 2015, 04:16 AM
• Last activity: Oct 23, 2015, 02:49 AM
1
votes
3
answers
3403
views
Are there any applications which integrate with OmniFocus?
Besides Siri, are there any applications which integrate with OmniFocus. For example, in my RSS reader or Twitter client, I would love to send items I wish to read later to OmniFocus instead of Instapaper or Readability.
Besides Siri, are there any applications which integrate with OmniFocus.
For example, in my RSS reader or Twitter client, I would love to send items I wish to read later to OmniFocus instead of Instapaper or Readability.
Nippysaurus
(3880 rep)
May 13, 2012, 09:59 PM
• Last activity: Apr 24, 2015, 09:15 PM
3
votes
1
answers
3403
views
Automatically forward "Starred in Gmail" messages to OmniFocus
**_Summary_: I would like to create some sort of an automated process where any messages that I 'star' in Gmail (aka 'flag' when using Gmail via IMAP) will automatically be added to OmniFocus, and then "unstarred" on Gmail and moved to another specific label called "OmniFocus".** I am quite sure tha...
**_Summary_: I would like to create some sort of an automated process where any messages that I 'star' in Gmail (aka 'flag' when using Gmail via IMAP) will automatically be added to OmniFocus, and then "unstarred" on Gmail and moved to another specific label called "OmniFocus".**
I am quite sure that this is possible with [Google Scripts] but I cannot figure out how to get it to work. I would like that solution because it would not require me to run anything else on my own Mac.
Also: I have an account with which means that I can add things to my OmniFocus Inbox by sending email to a specific email address.
My idea for a Google Script would go something like this:
* every ¿15? minutes or so, check for flagged messages in Gmail, and if found:
* forward to my Super Secret Spootnik Email Address
* Add label 'OmniFocus' to message
* unstar/unflag message in Gmail
Unfortunately I don't know to make this work in Google Scripts, so I'm wondering if someone else might know and be able to explain it to others who might want to do something similar.
### Alternatively
While I would *prefer* Google Scripts, I _do_ have a Mac which is usually on 24/7 anyway, so if that is the only way to do this, that would also be an option. Unfortunately I have even less of an idea how to do that. (I assume Mail.app + AppleScript?)
TJ Luoma
(21052 rep)
Apr 8, 2013, 08:00 PM
• Last activity: Apr 9, 2013, 02:24 AM
7
votes
1
answers
3765
views
How can I see what custom URI schemes are registered?
One of the neat things about OmniFocus is that you can add tasks to it by calling `omnifocus:///add?name={query}` from a browser, or launcher (like Alfred or LaunchBar). I'd like to know what other functions there are to call for it, and other apps as well. I poked through the `info.plist` of Packag...
One of the neat things about OmniFocus is that you can add tasks to it by calling
omnifocus:///add?name={query}
from a browser, or launcher (like Alfred or LaunchBar). I'd like to know what other functions there are to call for it, and other apps as well.
I poked through the info.plist
of Package Contents of the app, but it only detailed that omnifocus://
was indeed registered as a custom scheme. And I couldn't find any reference to it on Omni's site as well.
swilliams
(253 rep)
May 11, 2012, 05:36 AM
• Last activity: Nov 6, 2012, 03:59 PM
3
votes
2
answers
445
views
Fastest way to get an image from Skitch into OmniFocus?
What's the fastest way to get a screenshot from Skitch into OmniFocus? When you drag and drop an image into OmniFocus, it only creates a link to the image, rather than embedding it. One way to do this is to drag and drop the image from Skitch to finder, and then from finder to OmniFocus by holding d...
What's the fastest way to get a screenshot from Skitch into OmniFocus?
When you drag and drop an image into OmniFocus, it only creates a link to the image, rather than embedding it. One way to do this is to drag and drop the image from Skitch to finder, and then from finder to OmniFocus by holding down the command key, but this is tedious, especially when I need to do it many times. Another way is to drop onto finder, and then right-click and choose to attach and embed in OmniFocus, but this too is time consuming.
Is there any way to drag the image directly from Skitch into OmniFocus and have the image be embedded in the task?
Senseful
(24445 rep)
Nov 12, 2011, 03:01 AM
• Last activity: May 30, 2012, 08:28 AM
0
votes
1
answers
579
views
Attaching files to OmniFocus
If I drag a file into an OmniFocus task, it will create a link to that file. Is there a way to actually place the file inside the task instead of just creating a link?
If I drag a file into an OmniFocus task, it will create a link to that file. Is there a way to actually place the file inside the task instead of just creating a link?
Nippysaurus
(3880 rep)
May 28, 2012, 07:02 AM
• Last activity: May 28, 2012, 07:16 AM
Showing page 1 of 15 total questions