You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DroidScript
I tried using app.LoadScript() but when I call the function I get the error saying that the function was not declared. (all i want is to use the functions that are in other files, is it possible using droidscript? any tips?)
file1
... app.LoadScript("file2.js");
foo();
file2
function foo() { app.ShowPopup("hello, world!"); }
Symbroson
unread,
Oct 16, 2019, 9:19:04 PM10/16/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DroidScript
app.LoadScript is asynchronous. Define a callback function as second parameter (or use the synchronius equivalent app.Script but that's not recommended)
Symbroson
unread,
Oct 17, 2019, 2:58:03 PM10/17/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DroidScript
Note that using app.Script is no problem when loading local files