The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Extras (http://forums.omnigroup.com/forumdisplay.php?f=44)
-   -   truncation of data: jott_to_of AppleScript (http://forums.omnigroup.com/showthread.php?t=14524)

omnibob 2009-11-15 04:36 PM

truncation of data: jott_to_of AppleScript
 
I've been using Curt Clifton's super cool jott_to_of.scpt to move Jott email to OF. Recently I've noticed that ~ the last two characters (one being a sentence period) are being left off (but are in the emails I received from Jott). Happens on text of varying length. Just wondering if anyone else is seeing this. Thanks.

Bob

curt.clifton 2009-11-15 06:10 PM

Bob,

Thanks for thinking of me, but that's not one of my scripts. I've never used Jott. I think there's another thread on the forums about that problem though. Might be worth some digging.

Cheers,

Curt

omnibob 2009-11-15 07:04 PM

Whoops! Sorry, you're right. The first line credited you for his/her adapted work.

Bob

omnibob 2009-11-26 08:13 AM

I fixed the code and it works now:

set messageEnd to (offset of "Listen" in theContent) - 1 -- Was "3" -Bob.

omnibob 2009-12-04 06:40 PM

OK, maybe Jott chagned again. Now this seems to be needed for my system:

set messageEnd to (offset of "Listen" in theContent) + 1 -- Was "3" originally, and then "-1" more recently.


All times are GMT -8. The time now is 08:30 PM.

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