Use of variables

thumpinc
Posts: 42
Joined: Sat May 11, 2013 5:50 am

Use of variables

Post by thumpinc »

Hi - Thanks for a great plugin. I am having a hard time using the variable embedding in the notification. I am using %%v:VARIABLEID%% as suggested with the ID number substituted. Unfortunately prowl just displays %%v:VARIABLEID%% (with the ID number subbed) as written and doesn't sub in the variable value.

GROWL notification displays a message with the variable properly substituted with a value. PROWL notification does not. What am I doing wrong?

Here is the actual MESSAGE text I am using. 'Front door open at %%v:1092611187%%' and as GROWL does show the message properly, the variable itself exists and does have a value.

Thanks again and happy holidays.
User avatar
jheddings
Posts: 149
Joined: Sun Dec 01, 2013 10:26 pm
Location: Denver, CO

Re: Use of variables

Post by jheddings »

Hmmm.. That is strange. Can you confirm the version of Indigo and the plugin you are using? The easiest way to do that is to Go to the Plugins > Prowl menu and look at the version next to "About Prowl..."

Also, can you try to change the message to an invalid variable ID (like 12345) and see if you get an error message? The Notification preferences should fail to validate if you have an invalid variable ID.

I'm looking at the plugin to see if I can add any debugging to help. The call to do the substitution is built in to the plugin, so I'm at a bit of a loss for now. We'll figure it out :)
thumpinc
Posts: 42
Joined: Sat May 11, 2013 5:50 am

Re: Use of variables

Post by thumpinc »

Upgrading to 1.01 seems to have solved the issue. Must have been unicode related? Thanks!
User avatar
jheddings
Posts: 149
Joined: Sun Dec 01, 2013 10:26 pm
Location: Denver, CO

Re: Use of variables

Post by jheddings »

Ah, that could have been... Thanks for confirming the fix!
Post Reply

Return to “Prowl Notify”