Locating items found in search

Since these scripts are cross-platform, you could put the Plug-In inside your OmniOutliner iCloud folder, perhaps. However, you could use any folder you like.

Hitting the green Code button, and then Download ZIP should do it. After decompressing the .zip file, you’ll find the file. That Plug-In should go inside one of your linked folders.

Several options, there.

  • Clicking on the Automation menu, and then the desired Plug-In.
  • Assign a keystroke to it.
  • Place the Plug-In.

Feel free to ask more question.

Gabriel,

Got it. I think I’m all set. Just - if I may:

1 - I don’t have an iCloud folder; so I created ‘Omni Automation’ in ~/Library/Application Support.

2 - I put everything in that folder; although it didn’t actually include a specific file, .omnioutlinerjs in that zip - even accounting for the fact that it begins with ‘.’… I used the command line. Am I missing something, please?

I can now see how to run an Automation; and yours to reveal the parent directory of the selected item works perfectly, and is much appreciated!

Thanks, Gabriel. I sent you a small Ko-fi donation. Am truly grateful :-)

I’m glad it was useful, Mark ! Thank you.

Just to clarify, in this partícular case, the file had .omnijs extension. It can target any Omni application. Files with .omnioutlinerjs extension are restricted to OmniOutliner.

That’s strange. An OmniFocus iCloud folder is automatically created in the installation of OmniFocus, I think.

In any case, feel free to ask more questions.

Gabriel,

As I say, I’m new to Omni Automation - so thanks for your patience :-) .

I ask that because the help text on your GitHub page says to:

*Locate the desired .omnijs, .omnifocusjs or .omnioutlinerjs file.

after I’ve unzipped the file in question. So I was looking for any one of those three - and found one - with the right extension. Am I correct?

I have OF as well as OO (love them both!); but can’t see a folder readily identifiable as ‘iCloud’ for either/any Omni app in my user hierarchy, or in iCloud drive etc.

But if the files you kindly supplied are OK where I’ve put them, that’s OK, isn’t it?

Thanks again, Gabriel!

Well, in this particular case, the file had .omnijs extension, as you can see in my repository (Focus Parent of First Selected Row.omnijs):

I should clarify that in the repository — thanks for the question. Plug-Ins for OmniOutliner can have .omnijs or .omnioutlinerjs extension; the ones for OmniFocus, .omnijs or .omnifocusjs… and so on.

That’s interesting. They were automatically created, in my case:

Yes, of course. However, as that isn’t a location synced with the cloud, those plug-ins aren’t going to be available on your iOS devices (in case you have any).

Please, Mark. Feel free to ask further questions. I’ll be glad to answer them.

Gabriel,

Thanks so much once again!

Thanks. Got it. To anyone familiar with Automation, that much is obvious - as it is to me, now :-)

My apologies for not looking more carefully. I think I was expecting an additional ‘base’ file which would allow all the others to work. But I understand completely now.

Maybe it was/is an option that I chose not to use?

I do have OF and OO on two macOS devices and OF on my iPhone.

Perhaps I should create it?

Any harm in doing so manually?

Can’t immediately see any documentation; this comes close.

So really it is an advantage! Can I just create a folder called something like ‘Omni’ in my iCloud Drive hierarchy, Gabriel?

Thanks for all your help!

You’re absolutely right — would be nearly impossible to guess, I think :-)

I don’t think that is an option.

Of course, you can create it. However, do note that the default OmniFocus iCloud folder has a particular feature: it is automatically a linked folder.

You’re very welcome !

Just by chance, do you have this checkbox ticked in your iCloud preferences ?

Gabriel,

No problem, though; I’ve got it now, thanks :-)

No? Hmmm. Now I think I’d really like to get to the bottom of this and fix it, please.

It does seem as though it should be there, doesn’t it?

Yes; it was/is there.

I in fact unticked and restocked it to see if I could provoke it into creating it:


But… maybe I’m still confused. Should the iCloud folder appear as a sub-directory of my iCloud Drive - or (from) within OF/OO, Gabriel, please?

I think I’ve made some progress: in each of OF and OO I went to Automation > Configure.

In each case there is a location (folder, pseudo folder?), ‘OmniOutliner in iCloud Drive’ and ‘OmniFocus in iCloud Drive’.

Significantly, I can see now only see a Finder folder in Locations > iCloud Drive for OF.

Then ‘Reveal in Finder’ showed the respective OF and OO folders where the plugins were expected.

So I dragged the scripts one by one from their locations in the filesystem into the ‘proper’, target (pseudo/virtual) folders as indicated in each of OO’s and OF’s Configuration dialogues.

It seemed to work.

Or have I committed a sin? :-)

1 Like

Fantastic ! Good job ! I was going to suggest that.

Those are the exact folders we were looking for.

Excellent. That’s the best option, I think.

Of course not. You chose the ideal option :-)

Thanks so much, Gabriel. I really appreciate your understanding and re-assurance!

The only odd thing (I think) is that I can only see the OmniFocus folder under iCloud Drive - and not an OmniOutliner one.

Yet in each case Automation > Configure > Reveal in Finder does show that the plugins are in the iCloud Drive hierarchy.

Although for OmniOutliner, they are in a parent directory, ‘Plug-ins’.

iCloud Drive > Plugins is not visible in the Finder.

So should I move Convert to Project (Here).omnijs and Focus Parent of First Selected Row.omnijs up into a new directory which I’d create in iCloud Drive, ‘Omni Outliner’? Do we have the ‘freedom of choice’ to make such changes in the filesystem outside the Omni Automation environment.

Currently this is what I see:

That’s strange. Could you show me a screenshot ? In case of OF/OO, plug-ins should be inside iCloud Drive/OmniFocus/Plug-Ins or `iCloud Drive/OmniOutliner/Plug-Ins, respectively.

I wouldn’t advise you to do that. The ‘OmniOutliner in iCloud Drive’ is automatically created by the software. If you do not have it, the easiest way to get OmniOutliner to re-create this folder would be to try installing an automation plug-in into the iCloud location.

Attempting to install a .omnioutlinerjs file should trigger a prompt to install it. Here, you can choose the iCloud location.

I made a dummy .omnioutlinerjs file, so you can try:

test.omnioutlinerjs (676 Bytes)

Tell me how that goes.

Note that Convert to Project (Here).omnijs is an OmniFocus Plug-In.

Gabriel,

Something a little strange going on - mainly, I now believe - about the visibility of my OO iCloud (Plug-Ins) folder!

Firstly, I moved the plugins into their respective ‘Plug-Ins’ folders manually. But I can only do this (navigate to the folder in question) by OO’s Automation > Configure > Reveal!

Here is a screenshot of your test file (thanks) being installed:

As you can see, there is a directory in my iCloud Drive, ‘OmniOutliner’.

And here it is at the command line (to the right) but nothing shows up in the Finder window for iCloud Drive:

Arranged by name (alphabetically) ‘OmniFocus’ is there preceded by ‘Numbers’ and immediately after comes ‘Pages’. But no sight of ‘OmniOutliner’ in iCloud Drive!

Yet such a directory does exist in:

~/Library/Mobile Documents/iCloud~com~omnigroup~OmniOutliner/Documents/Plug-Ins

And OmniOutliner can see it:

So I can explain the first puzzle about OO’s Plug-ins being in the wrong directory. I put them there because I cannot see an OmniOutliner directory in iCloud Drive.

And everything seems to be working. But there remain two anomalies:

  1. why didn’t/hasn’t OO created the folder in the right place?
  2. why can’t I see it in the Finder… ~/Library/Mobile Documents appears to be a pseudo directory of some sort: although I can open it - to reveal only OmniFocus (and its Plug-ins) - in the Finder it appears to have no subfolders

Thanks for any suggestions, Gabriel!

Hi, Mark ! Please, feel free to send me a DM, as this seems to be a very specific issue. I’ll gladly help you solve the problem.

@unlocked2412 Was this issue ever resolved? I have the exact same issue but in OmniFocus @MarkSealey

1 Like

Welcome, @kamransoomro84!

You do? The same issue? (Noted that it’s in OF, though.)

It would be really very helpful if you would open a support ticket with Omni (please message me if you need details).

They have tried but so far been unable to reproduce the bug. Nor has Apple.

Another case would really help us all, please!

Thanks :-)