I found my error...I changed the Dropbox part but not the home part....Thanks for the quick response and help.
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!
|
|
FAQ | Members List | Calendar | Today's Posts | Search |
Scripts to open project folders and notes files | Thread Tools | Search this Thread | Display Modes |
Member
2010-12-21, 12:43 PM
I found my error...I changed the Dropbox part but not the home part....Thanks for the quick response and help.
Post 41
|
Member
2011-01-05, 06:54 AM
Quote:
So I've read this thread, tried things on my own but I'm still stuck. I cannot get the two scripts (Folder and Notes) to point to a Dropbox folder. I can only successfully point it to my Documents folder and that's because I do nothing to alter the original script. I suspect it's the syntax I'm using when trying to add in my new file path. So I'll show you what I'm doing. Original: set projectsFolderName to "Projects" -- name for main projects folderI tried this: set projectsFolderName to "OmniFocus Projects" -- name for main projects folder... but this does not work. Nothing happens. So again, I think it's because it's the syntax I'm using to put the file path name in is not correct. I know nothing about Applescript so forgive me for being a dummy. So in it's simplest form: what am I doing wrong? Thanks for your time.
Post 42
|
Guest
2011-01-05, 08:50 AM
~/Users/*myname*/Dropbox/Documents
doesn't work as a path because ~ is automatically expanded by the system to /Users/[username] You need either: /Users/[username]/Dropbox/Documentsor the standard abbreviation: ~/Dropbox/Documents--
Post 43
|
Member
2011-01-05, 09:18 AM
Hey thanks. So I tried that variation and I get the first dialog saying that the folder doesn't exist and would I like to create it, but then the script goes no further after I say yes. The folder is not created at all.
All I changed was the file path but now the script doesn't work at all?
Post 44
|
Guest
2011-01-24, 03:10 AM
Quote:
-- Last edited by RobTrew; 2011-01-24 at 03:17 AM..
Post 46
|
Member
2011-01-30, 04:28 AM
Great scripts which will be very useful to me, being a long term OmniFocus user I can't believe I haven't seen these until now :(
I downloaded the scripts directly from http://jhh.med.virginia.edu/main/OmniFocusScripts earlier today so I should have the latest versions, although the page does say it was last edited two years ago. I'm not familar with AppleScript so I initially implemented the two scripts using the default locations however I've still come across an issue. The scripts appear to work at first. Clicking on the Project Folder script successfully creates the folders in the desired locations if they need to be created. Then clicking on the Project Notes script also causes the OmniOutliner Pro file to be correctly created if needed. Such as project1.oo3. The problem I have found is that when I then select a different project in OF and click the Project Folder script it creates the folders ok if needed, but when I click on the project notes script, it complains it complains it can't find the project1.oo3 file even though it should be trying to create project2. I've also had an issue where once the oo3 files is created and modified I do not have the option to save it, only to Save As. Ideally I wanted my files stored in dropbox so if I happen to be using OF on the iPad I can still get to my project files via Dropbox's web interface etc. I may later change the scripts to work with plain text files or something so when I'm at work on a windows system I still have access to my notes. As a starting point I've now modified the standard OO scripts to work in Dropbox, so I now have my Project folders being correctly create in ~/Dropbox/Projects/ but obviously I still have the issue of being unable to create the note files correctly. Any idea what the problem might be ? Thanks Phil
Post 47
|
Member
2011-01-30, 04:29 AM
As also mentioned by other posters above, I frequently move projects / tasks between sections in my OF structure. As an example I have folders for Today, This Week, Next Week etc and move project up the lists as I do my weekly, and daily reviews. I had planned to just manually move the project files in dropbox to mirror the changes I make in OF and also to have a COMPLETED folder to move project files to once I close them off in OF. Do you see any issues with this approach ?
Post 48
|
Member
2011-01-30, 05:34 AM
I've been looking through the Project Notes script trying to work out how it works and it appears that the variable "projNotesName" hasn't been set when it's first called by the script.
What I'm seeing is on first run projNotesName isn't being set prior to the point it tries to open the file and I'm guessing it tries to open a file with no name, it then correctly branches off to create the new file during which it sets the variable projNotesName prior to saving the file. On subsequent runs the script is remembering the value from when it was previously run, this causes it to look for project1.oo3 when it should be trying to find or create project2.oo3. The bit I don't get is when it doesn't finding project1.oo3, in project2's folder structure, why it gives an error instead of trying to create the missing file, even if that meant doing so with the wrong name. I'm guessing as you guys have it working that I must have downloaded an old version of these scripts, is their a newer link to the ones your running ? {edit} I've just downloaded the files linked to by blazercomp on page 4 of this thread. I ignored them at first as they said same as the source, but they are different and contain modifications by Nicola Vitacolonna, Sep 2009 Working a treat now :) Thanks Last edited by Cypher; 2011-01-30 at 05:48 AM..
Post 49
|
Member
2011-06-16, 10:19 PM
I don't have a "scripts" file anywhere. I only have an OmniFocus file in
home-- library--application support---omnifocus I can't figure out how to get the icons into my toolbar. Any ideas?
Post 50
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How best to organise files and folders? | philrob | Omni Lounge | 4 | 2012-06-25 05:21 PM |
Will OmniPlan for iPad open Microsoft Project files? | amarsh | OmniPlan for iPad | 2 | 2012-06-07 10:41 AM |
Open Folder / Notes Scripts broken in Lion Full Screen Mode | nunez | OmniFocus 1 for Mac | 3 | 2011-10-06 02:42 PM |
Slow to Open OF and Open the Settings [fixed by reducing zip files] | GreenLorax | OmniFocus for iPhone | 26 | 2009-07-26 01:38 PM |
Scripts that add simple tags to the end of notes... | a11en | OmniFocus Extras | 9 | 2008-08-29 08:50 PM |