I have a database driven LiveCode app - which means that the app calls my web server to get information to load into the app.
I have just realized that I can put script instructions to create a card, add buttons, etc: I can have the app access my server, get the instructions, and add the instructions to the script code of a button or a card - and it will implement it. I know that it works BEFORE it is compiled... but I want to know if it will work AFTER the app is compiled. Unfortunately, I don't have a decent compiling/testing environment to test it myself and don't really know what the compiling process involes - so I was wondering if you know if this would work
Code: Select all
create card "bob"
put the script of card "bob" into twhat
put "yes" into twhat
set the script of card "bob" to twhat
go to card "bob"
create button "sam"
set the label of button "sam" to "pete"