Last active
August 28, 2018 11:14
-
-
Save AndyPiddock/f20715c74a60a00f699bbee590f573f9 to your computer and use it in GitHub Desktop.
LiveCode: loads a library stack invisibly for use by a calling stack and makes it ready to use
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Loads a library stack invisibly for use by a calling stack and makes it ready to use | |
local tPath | |
lock screen | |
//loads the library from disk and inserts it as a library | |
set the itemDel to "/" | |
put the effective filename of stack "myMainStack" into tPath | |
put "MyLibraryStack.livecode" into item -1 of tPath | |
open invisible stack tPath | |
start using stack "MyLibraryStack" | |
set the defaultStack to "myMainStack" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment