Script method in encrypted panel

Find and share HowTos to various installations / configurations!
Search

Post Reply
3 posts • Page 1 of 1
denisisakovic
Posts: 23
Joined: Fri May 08, 2020 10:32 am

Script method in encrypted panel

Post by denisisakovic »

I was trying to use the method shape.script( string name, string source) to determine wheter a shape has something defined in its clicked event.
But doing so on a encrypted panel it threw me this error

Code: Select all

WCCOAui      (3), 2023.02.06 13:02:01.425, CTRL, WARNING,    96, No authorization, getValue("RECTANGLE1", "script", ...) [RECTANGLE], 
On standard panel it threw me no errors.
I couldnt find any reference in the documentation, maybe I cannot find it because I'm searching it wrong. Can someone explain me this situation because i cannot understand this behaviour.
The panel that was encrypted only with password in gedi, no certificate is used.

Denis

User avatar
kilianvp
Posts: 443
Joined: Fri Jan 16, 2015 10:29 am

Re: Script method in encrypted panel

Post by kilianvp »

Of course, reading the scripts is not possible. That's why you encrypted the file.

denisisakovic
Posts: 23
Joined: Fri May 08, 2020 10:32 am

Re: Script method in encrypted panel

Post by denisisakovic »

Its clear now to me, thanks!
Anyways I think it should be updated in the documentation :D .

Denis

Post Reply
3 posts • Page 1 of 1