user4426: I want to be able to receive push notifications to my iPhone when After Effects completes a render.
I used to use Prowl v1.5.2 & Growl v2.1.3 combined with this script (.jsx file)to do this, but I can't get the script to work now. 
I can get growlnotify to send a notification from the terminal to Growl, and successfully pass it to Prowl on my iPhone, but when I tried this script, it fails at line 24.  I've added the API key, and chosen growl as the notification type.  Growlnotify is in usr/local/bin and my appname is set to Adobe After Effects CC 2015.
I don't need background rendering, just a simple notify when renders complete.
I'm using OSX 10.11.1 and iOS 9.2, and After Effects CC 2015 v13.6.0.165
Here's a script example, it's only two lines:
app.project.renderQueue.render();
function(){system.callSystem(“Open growlnotify")};

First line renders the queue (without any safety checking)
Second line should open growlnotify to send a default message
First line works, second line doesn't - it returns "Syntax Error".  I've also tried:
app.project.renderQueue.render();
function(){system.callSystem(“growlnotify")};


user12307: The script extract you include:
app.project.renderQueue.render();
function(){system.callSystem(“Open growlnotify")};

has a dodgy opening quote.  “ is not the same as " - this is why you are getting the syntax error.
app.project.renderQueue.render();
(function(){system.callSystem("Open growlnotify")})();

works (the (..)() calls the anonymous function). You need to add the parentheses so that the anonymous function gets called, or simply do system.callSystem("Open growlnotify"); without the anonymous function.
You also need to activate "allow scripts to write files and access network" in Preferences/General, otherwise callSystem is blocked.
In the full script you post, when you replaced type = "web" on line 24 to use growl, the same error probably slipped in.  Check your keyboard autocorrect settings to ensure that you've not got curly quotes.

4426: <p>I want to be able to receive push notifications to my iPhone when After Effects completes a render.</p>

<p>I used to use <a href="http://www.prowlapp.com/" rel="nofollow">Prowl</a> v1.5.2 &amp; <a href="http://growl.info/" rel="nofollow">Growl</a> v2.1.3 combined with <a href="http://iaian7.com/aftereffects/iPhoneRenderNotifications" rel="nofollow">this script</a> (<a href="http://iaian7.com/files/aftereffects/rendernotifications/Render_Notify_14.jsx" rel="nofollow">.jsx file</a>)to do this, but I can't get the script to work now. </p>

<p>I can get <a href="http://growl.info/downloads#growlnotify" rel="nofollow">growlnotify</a> to send a notification from the terminal to Growl, and successfully pass it to Prowl on my iPhone, but when I tried this script, it fails at line 24.  I've added the API key, and chosen growl as the notification type.  Growlnotify is in usr/local/bin and my appname is set to Adobe After Effects CC 2015.</p>

<p>I don't need background rendering, just a simple notify when renders complete.</p>

<p>I'm using OSX 10.11.1 and iOS 9.2, and After Effects CC 2015 v13.6.0.165</p>

<p>Here's a script example, it's only two lines:</p>

<pre><code>app.project.renderQueue.render();
function(){system.callSystem(“Open growlnotify")};
</code></pre>

<p>First line renders the queue (without any safety checking)
Second line should open growlnotify to send a default message</p>

<p>First line works, second line doesn't - it returns "Syntax Error".  I've also tried:</p>

<pre><code>app.project.renderQueue.render();
function(){system.callSystem(“growlnotify")};
</code></pre>
 12307: <p>The script extract you include:</p>

<pre><code>app.project.renderQueue.render();
function(){system.callSystem(“Open growlnotify")};
</code></pre>

<p>has a dodgy opening quote.  “ is not the same as " - this is why you are getting the syntax error.</p>

<pre><code>app.project.renderQueue.render();
(function(){system.callSystem("Open growlnotify")})();
</code></pre>

<p>works (the (..)() calls the anonymous function). You need to add the parentheses so that the anonymous function gets called, or simply do <code>system.callSystem("Open growlnotify");</code> without the anonymous function.</p>

<p>You also need to activate "allow scripts to write files and access network" in Preferences/General, otherwise <code>callSystem</code> is blocked.</p>

<p>In the full script you post, when you replaced <code>type = "web"</code> on line 24 to use growl, the same error probably slipped in.  Check your keyboard autocorrect settings to ensure that you've not got curly quotes.</p>
