kailIII / android-notifier

Automatically exported from code.google.com/p/android-notifier
0 stars 0 forks source link

Locale Notification Plugin Tasker Variable Replacements #228

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Greetings,

Thanks for the Locale Notification Plugin it been running great from Tasker..  

Unfortunately I have noticed a defect / gap in the plugin when it comes to 
Tasker internal variables which by default are not resolved when being passed 
through to the plugin..  

http://tasker.dinglisch.net/userguide/userguide_variables.html

I believe a few simple lines are missing from the plugin to request that tasker 
to resolves variables names into values and ask if it is possible to add in the 
missing code so I can get email subject names etc rather that just variables..

http://tasker.dinglisch.net/plugins.html

For more information

Thanks!

Original issue reported on code.google.com by ozgreg on 11 Oct 2010 at 11:53

GoogleCodeExporter commented 9 years ago
What variables are you thinking would be useful to the notifier? How do you 
imagine using them?

Original comment by rdamazio@gmail.com on 13 Oct 2010 at 3:10

GoogleCodeExporter commented 9 years ago
Hiya,

The following would be perfect..

Email From/Cc/Subject/Date/Time
%EFROM / %ECC / %ESUBJ / %EDATE / %ETIME
The From, Cc, Subject, Received Date and Received Time of the last email 
received by the K9 email agent. 

Thanks for your support..

Original comment by ozgreg on 13 Oct 2010 at 3:24

GoogleCodeExporter commented 9 years ago
Just to understand this - are you talking about the plugin that sends 
notifications, or the one that changes settings?
Do you mean that in the notifications you set up, you'd like to be able to 
enter variables to be replaced? If that's what you're asking, sounds quite 
reasonable.

Original comment by rdamazio@gmail.com on 13 Oct 2010 at 4:02

GoogleCodeExporter commented 9 years ago
Yes, I am talking about sending notifications and if I am understanding this 
correctly the plugin will need to define two value bundles 

One for title the other for description 

then net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS will 
automatically translate any variables sent into actual values 

Original comment by ozgreg on 13 Oct 2010 at 4:24

GoogleCodeExporter commented 9 years ago
Hi, are there any updates on this issue? Being able to use Tasker variables for 
the remote notifications would be simply amazing!

Original comment by chrissss...@gmail.com on 21 Jun 2012 at 8:35

GoogleCodeExporter commented 9 years ago
I want Tasker variable support as well. The plugin is useless to me without it.

An example why:
I want to send a link to my computer to automatically open in Chrome.

Using AutoShare (http://goo.gl/lkufB) with Tasker, I set up a command filter 
for "Send Link to Desktop" in the AutoShare plugin context as a new Tasker 
profile. For the task to run, I choose the Android Notifier plugin, then fill 
in the title and description as follows:

Title: Link
Description: %astext

The variable, %astext, is a local variable created by AutoShare to represent 
what's being shared (in the case of a Play Store app share, it is a link).

Now for the desktop Android Notifier setup (this expects you have registered 
your device with the applet, if needed.

In the Android Notifier preferences, I select the "3rd Party" tab, and enable 
the "Copy to clipboard" and Execute commands checkboxes.

Then, fill the command field as follows:
android-msg-scan "{title}" "{description}" "{data}"
(I think that's the right way. It's just an example)

Then, I would create a script "android-msg-scan" for the purpose of filtering 
these messages. For example, when {title} parameter is "Link" (using if 
statement), the script will open the link in my internet browser.

Now for the expected result. I want to share something to the AutoShare 
command, "Send Link to Desktop". Let's say I share a link from my Android 
browser. I choose "AutoShare Command" in the share list, and then select "Send 
Link to Desktop".

The expected result I should get in the Android Notifier desktop command field, 
when the variables are rolled out, is this:
android-msg-scan "Link" "http://goo.gl/q0E7w" ""

The current result I get is this:
android-msg-scan "Link" "%astext" ""

The plugin is not resolving Tasker variables. I would so want this feature to 
be implemented.

Thank you.

Original comment by admin.wi...@gmail.com on 20 Feb 2013 at 8:42