Quantcast
Channel: [EN] OpenPLi Third-Party Development
Viewing all articles
Browse latest Browse all 1690

Q: Pin to start plugin

$
0
0

Hello
a question, if possible
Is it possible to set a pin when opening a plugin?

 

I'm not very experienced, unfortunately ..
Thank you

 

 

Ex..

def fofofofo(???, result):
    if result:
        if ???? == 1234:
            session.open(MySession)
 
 
def main(session, **kwargs):
        pin = 1234
        session.openWithCallback(fofofofo????, InputBox, title=_("Input Pin Please: "), text="4", maxSize=False, type=Input.NUMBER
    else:
        mes = session.open(MessageBox, _('Sorry Pin Incorrect!'), MessageBox.TYPE_INFO)
        return

 
 

Viewing all articles
Browse latest Browse all 1690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>