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 1 for Mac
FAQ Members List Calendar Today's Posts

 
OmniFocus Mobile Thread Tools Search this Thread Display Modes
Quote:
Originally Posted by chrjohns
I have been trying to set this up, but am having some problems. I assume you have to make some changes to the script (the server address), but I am not able to save the changes due to this error: "Expected expression but found property or key form," relating to this line: "set ThisTaskId to the id of ThisTask as string." The highlighted term is "id."

I solved this problem by commenting out the "of machine" text. However, the browser is now timing out after waiting for response from the server.

Last edited by chrjohns; 2007-05-31 at 10:00 AM..
 
Quote:
Originally Posted by chrjohns
I solved this problem by uncommenting the "of machine" text. However, the browser is now timing out after waiting for response from the server.
I'm seeing the same issue.

I should try it on a G5 perhaps... maybe the emulation isn't happy.
 
Quote:
Originally Posted by xmas
I'm seeing the same issue.

I should try it on a G5 perhaps... maybe the emulation isn't happy.
I am on a G4, so I don't think it is an emulation problem.
 
Hmm... the "of machine" text is meant for those uber-geeks who are running their web server and ACGI script on a different machine than their copy of OmniFocus. For example, I do it because I use a MacBook Pro, and ACGI Dispatcher is not a Universal app. I'm not sure how commenting out this line would have fixed things.

However, with respect to the timeouts, I think I know what's going on.

The ACGI Dispatcher needs files saved with the "Stay Open" option checked. When you save changes to the script, Script Editor will sometimes un-check this option. You can tell this is happening by watching your dock: if, when you load the page, the .acgi app closes immediately after it starts up, something's wrong.

Here are the hoops you need to jump through in order to get this to work:
  1. Open omnifocus.acgi in Script Editor, and select "Save As..." from the File menu. Check the "Stay Open" option, and save the file.
  2. No matter what you do, Script Editor will save the file with an ".app" extension, but ACGI Dispatcher needs it to be ".acgi". To get around this, find the file in Finder, press Command-I to Get Info, and under "Name & Extension," change "omnifocus.app" to "omnifocus.acgi". Click the "Use .acgi" button when it asks you to confirm.
  3. Now, go into Script Editor and save your document again. It will warn you that "This document has been renamed to "omnifocus.acgi'." Click "Save" to save the document under the new name.

You can now hack away at the script:
  1. Make a change to the script
  2. Save the script
  3. Close the running copy of omnifocus.acgi
  4. Re-load the script in your browser
  5. Repeat

With respect to your original error, I have no idea. I have no way to reproduce the issue on my system, and I don't have the time to offer "official" support. Hopefully, this will set the stage for you to fix the problem yourself; if you find a solution, please share.

Best of luck,
-d.
 
yep, I was saving my script incorrectly.

Playing around with the interface now.
 
Yeah, this is pretty sick.

I might even have to brave the waters of my horrible phone webbrowser now.
 
Quote:
Originally Posted by xmas
Yeah, this is pretty sick.
(For those not fluent in the latest jargon, "sick" means he thinks it's great, not terrible.)
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
Mobile Issue qeemat2012 OmniPlan Extras 0 2012-01-31 01:54 AM


All times are GMT -8. The time now is 12:53 AM.


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