The Omni Group
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!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus Extras
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Windows at work and Mac based GTD Thread Tools Search this Thread Display Modes
Cool. I'm going to try that out right now. Wish I could get even that much functionality out of TB on the Mac.
 
Thank you very much for your work. It is very much appreciated.
 
This is so awesome! I've got it working nicely on the Windows side. On the Mac side I ran into issues with the folder action script. It only works once and stops after that. I couldn't figure out why (maybe the throttling?) Anyway I have Hazel installed and I edited the applescript slightly to use Hazel instead. It works perfectly. Thanks!
 
Thanks for the feedback. I'm wondering what the issue with the folder action is. I do know that without the throttle hack it does the same for me, works once then doesn't for a while and then works again. What version of OSX are you running?

If you'll share what changes were necessary to make it work with Hazel I might be able to add support for that in the next release. I do have a couple updates planned for the folder action script.
 
Quote:
Originally Posted by GrumpyDave View Post
Thanks for the feedback. I'm wondering what the issue with the folder action is. I do know that without the throttle hack it does the same for me, works once then doesn't for a while and then works again. What version of OSX are you running?

If you'll share what changes were necessary to make it work with Hazel I might be able to add support for that in the next release. I do have a couple updates planned for the folder action script.
Hi GrumpyDave,

I'm using Mac OSX 10.6.6.

Here is what I did to make it compatible with Hazel

* renamed occurrences of _file to theFile
* where the script says "on adding folder items to this_folder after receiving added_items" I replaced it with "on hazelProcessFile(theFile)"
* commented out the "repeat with _file in added_items" loop
 
I found a minor character encoding issue during my tests. I'm using both Mac OS and XP in German here and when I add a task with German characters (e.g. , , ) on XP these characters they end up scrambled on the Mac. I'm using Dropbox to sync.

I've played around with iconv in Terminal but cannot get it to work properly in AppleScript.
 
I'm guessing the characters are being mangled on the Windows side. The basic version of AutoHotKey doesn't have Unicode support, but the AutoHotKey_L version does. I'll look in to what needs to be changed in the script to support it.
 
I have built the command

$ iconv -f ISO-8859-1 -t UTF-8

on the Mac into your AppleScript after that fixes it for me. However, I do not know any method where I can find out the encoding of the source file. Apps like TextMate can do this automatically but I have no clue whether AppleScript or the shell can do this. I've googled around a little without success.
 
I've updated the file in the first post to v1.4.0
  • Added Unicode support. The transaction files are now coded as UTF-8.
  • Added support for Hazel. The Mac AppleScript can now be used as a folder action script or a Hazel action with no changes needed.
  • Fixed a regression where the task notes on the quick input panel were not being populated with the clipboard contents when requested.
Note: This version requires AutoHotKey_L on Windows. The basic version of AutoHotKey is no longer sufficient.
 
Sorry, I was away from my Windows PC at the office for a couple of days. The new version works perfectly. Thank you very much.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Location based reminders won't work Gurke OmniFocus for iPhone 2 2012-10-17 08:30 AM
Run Omni on Windows from Work, or any PC Mac OmniFocus 1 for Mac 0 2012-01-24 02:41 PM
Defining OmniFocus sub-contexts for computer-based work RobTrew OmniFocus 1 for Mac 0 2010-12-29 07:21 AM
Folks who work in PC-based environments, how do you apply Omnifocus? Mischka07 Applying OmniFocus 13 2010-06-03 08:50 AM
Omnifocus on Windows based PC NHenshaw OmniFocus 1 for Mac 1 2008-07-27 07:01 AM


All times are GMT -8. The time now is 10:53 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.