kriisig
September 4, 2022, 6:29pm
1
I´m trying to move a project(s) to a specific folder with scripting
I have seen a few threats but with the scripts I can´t seem to move projects to a sub foler with theese script (see links) has anyone found a solution to that ?
There are two ways that I know.
With the project selected, use the movement keys in Organize>Move>Move (Down/Right/Up/Left), e.g. ^⌘↓, ^⌘→, ^⌘↑, and ^⌘←. Outdent the project first if it is nested in a folder, then move it underneath the destination folder, then indent it.
A faster way would be to use this script that I cooked up using some tips from this thread . It asks you for the exact name of the folder (empty or populated) and then moves the project to the top of that folder. Change “begin…
I want to create an apple script to use via Alfred.app and Keyboard Maestro which takes the currently selected action, converts it to a project and moves the project into a particular folder.
Goole resulted in several scripts but I did not manage to get any of them to work.
I was able to hack some pieces together but I can not make it work as a whole.
Below are the pieces I have:
Getting the selected project:
tell application "OmniFocus"
tell front document
tell front document window
…
Hi folks,
Short Version: What’s the syntax for moving a project into a folder in JXA?
Background: I have to do a lot of one type of project, and I keep them all in a folder. When I receive new assignments, I use the quick entry window to create the projects, but i dont want to type in the whole folder path, so they end up on the top hierarchical level of my omnifocus document. I want to write some JXA that says "if this word is in the title of the project and the container of the project is ‘O…
Once upon a time (OmniFocus 1) there was an Applescript to move a project to a folder. That script worked by accessing the OmniFocus SQLite cache, and no longer works for OF2.
Anyone have or know of a script for moving a project to a folder?
My use-case is Kanban-style folders (Backlog, Queue, Active, Done) for projects. My daily review puts the projects I’m focusing on in the Active folder and moves the rest into either Queue or Backlog. Being able to assign shortcut keys to this would greatl…
An example using OmniJS (paste in the console), assuming you would like to move selected projects to a folder named Checklists
.
(() => {
const
win = document.windows[0],
projs = win.selection.projects,
folder = flattenedFolders.byName("Checklists");
return moveSections(projs, folder)
})();
1 Like
kriisig
September 5, 2022, 10:54pm
3
Thank you for your response, I tried your script but I don´t get it to work
Paste it to console
Create checklist folder
Nothing happens
(see picture)
But Ideally I think it would be better to see a list of the folders and check to folder to move the project to in my case…instead of having multuple script action for each folder…
But thanks for the help 🙏
kriisig:
Paste it to console
Create checklist folder
Nothing happens
(see picture)
The script assumes you already have a folder named “Checklists”. Could you upload the screenshot ?
1 Like
kriisig
September 6, 2022, 1:31am
5
Sorry I wasnt clear enough
I had created it before I ran the script
It’s not ready to become a Plug-in. Did you paste it in the Console and run it ?
We could do a Plug-In out of it if it’s useful for you. Not today, since I do not have the time.
kriisig
September 8, 2022, 7:06pm
7
The thing is I´m searching for a way to move new projects quickly to it´s place
I prefer to have the folders collapsed (like in the previous picture)
My only other solution is to have the Folders expanded and drag and drop the project to it´s destination.
Oh, I understand what you’re looking for. Unfortunately, I am just doing pre-boarding and leaving my city.
If you didn’t find another solution, remind me in 10 days (I’ll be back) and I’ll try to help you out.
system
Closed
October 8, 2022, 8:02pm
9
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.