Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New user. Setup & Install OF2 #11

Open
earussell opened this issue Jul 3, 2014 · 6 comments
Open

New user. Setup & Install OF2 #11

earussell opened this issue Jul 3, 2014 · 6 comments

Comments

@earussell
Copy link

Downloaded & unzipped.

Ran install & followed to best of my ability. (placed in my username dir. Initially there were errors but I seem to have resolved them. Now a terminal command completes w/o error but I can find any output.

Here's the command from "examples" on your site. (I want only to output flagged items and then I'm going to use GeekTool to get them to the Desktop):

ofexport -E -a done=any -I -t "flagged or (due='to tomorrow')" -o /tmp/ex8-due-or-flagged.taskpaper

I've run it with .taskpaper and then .txt as the last part of the command and then searched for anything created with those extensions and found nothing. Please let me know if there's more I should be looking for or anything I could do. As a note, I haven't set up the Hazel Rule since I think it needs the output to act on and it doesn't exist yet, but perhaps that's wrong.

Thanks

@earussell
Copy link
Author

As an update from my side I reset the HOME by creating the .bashrc file in username directory & then ran ofexport -? and it did print its help....so that seemed to work. But again when I ran

ofexport -E -a done=any -I -t "flagged or (due='to tomorrow')" -o /tmp/ex8-due-or-flagged.taskpaper

I was unable to find any output searching on .taskpaper extension or files that begin with "ex8-due"

@earussell
Copy link
Author

OK this works. "ofexport -o report.txt" So I guess it's in the flags. Still if anyone knows offhand the command line just to get flagged items (all I want) pls let me know.

@earussell
Copy link
Author

Keep answering my own issues but report here so anyone that knows what they're doing might help. Attached a screen shot. I am using Geek Tool to output Flagged items. On the left is the current taskpaper output. It needs formatting. And I guess the next step is templates. All I want is just the task, none of the other @ info. To the right is a hack. I screengrab OF Flagged perspective then save it to a jpg that updates. Looks better but not "live" which the other would be with the Hazel rule...

window_and_window

@psidnell
Copy link
Owner

psidnell commented Jul 8, 2014

I think your first issue was simply the "-o /tmp/ex8-due-or-flagged.taskpaper" option, this puts the output file in your "/tmp" directory.

if you run:

ofexport -E -a done=any -I -t "flagged or (due='to tomorrow')" -o ~/Desktop/ex8-due-or-flagged.taskpaper

It should leave the output file on your desktop.

@psidnell
Copy link
Owner

psidnell commented Jul 8, 2014

If you "just" want to specifically see flagged tasks then the following ought to do:

ofexport -E -a done=any -I -t "flagged" -o ~/Desktop/ex8-flagged.taskpaper

@earussell
Copy link
Author

Paul thanks. I had managed to sort that out and have been running ofexport successfully for a few days but all that time I have been trying to get the Hazel rule and embedded script to work with NO luck. I posted about this but haven’t received any responses that have been successful. Here is latest (I enclose a jpg of Hazel rule based on your suggestion).

Please be clear i am almost entirely unclear about what I’m doing!

Based upon a post on a Noodlesoft/Hazel forum I am trying a shell script that runs an Applescript since that was the only “solution” that anybody got to work.

Truly if you have something direct and simpler please let me know.

So the Hazel rules are set to run “geektool.sh” which is this:

tell application "Terminal"
do script “cd /users/ethanrussell/ofexport -E --tasks -a flatten -a done=any -I -t "flagged or (due='to tomorrow')" -T flat -o erflagged68.taskpaper"
close front window
delay 30
quit
end tell

The Hazel log reports that is processing the rule…. w/o error messages but nothing is happening with my output….

On Jul 8, 2014, at 3:28 AM, Paul Sidnell notifications@github.com wrote:

If you "just" want to specifically see flagged tasks then the following ought to do:

ofexport -E -a done=any -I -t "flagged" -o ~/Desktop/ex8-flagged.taskpaper

Reply to this email directly or view it on GitHub.

ETHAN RUSSELL PHOTOGRAPHS
Real Moments with Extraordinary People
email: ethan@ethanrussell.com
web: www.ethanrussell.com
TW: @ethan_russell
FB: https://www.facebook.com/ethanrussellphotographs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants