Popup Does Not Work in JavaScriptlet

34 views
Skip to first unread message

Cindy

unread,
Oct 28, 2014, 8:59:26 PM10/28/14
to tas...@googlegroups.com
How do I display a popup in a JavaScriptlet?

Below is what I'm trying but doesn't work...

popup ('title', 'text', true, null, null, 10);

Thanks for any help,
Cindy

Herman Munster

unread,
Oct 28, 2014, 9:07:05 PM10/28/14
to tas...@googlegroups.com

Change popup to Alert

Jay M

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.

Cindy

unread,
Oct 28, 2014, 9:20:00 PM10/28/14
to tas...@googlegroups.com
Thanks Jay but that's not working either.  When I press the execute arrow it just returns.  Below is my javascriptlet syntax for alert...

alert('test');

Herman Munster

unread,
Oct 28, 2014, 9:24:24 PM10/28/14
to tas...@googlegroups.com

This works for me :/

alert ('title', 'text', true, null, null, 10);

Jay M

On 29 Oct 2014 01:20, "Cindy" <mlib...@gmail.com> wrote:
Thanks Jay but that's not working either.  When I press the execute arrow it just returns.  Below is my javascriptlet syntax for alert...

alert('test');

--

Cindy

unread,
Oct 28, 2014, 9:25:16 PM10/28/14
to tas...@googlegroups.com
just found the below description...

JavaScript(let): Alert,Confirm,Prompt

Scripts using these functions require a 'user-interface' and may cause interference with the currently running app (though in most cases they will not).

How do I apply this to my simple javascriptlet test?

Herman Munster

unread,
Oct 28, 2014, 9:30:29 PM10/28/14
to tas...@googlegroups.com

I dunno JavaScript but if this is your goal as you can see in my screenshot it works great for me. Soz I cant be of more help.

Jay M

--
Screenshot_2014-10-29-01-26-49.png

Cindy

unread,
Oct 29, 2014, 6:28:25 AM10/29/14
to tas...@googlegroups.com
Thanks for checking into this Jay!  I noticed that the code is executing the javascript version of alert and not Tasker's popup.  Regardless, I'm not able to get either to work and I'm not sure why.  I've been able to get everything else I've tried to work but not the popup.

Cindy
Reply all
Reply to author
Forward
0 new messages