Page 1 of 1
Create Portable Executable of LC IDE and my app
Posted: Fri Jun 26, 2015 5:33 pm
by makeshyft
Dear Geniuses,
Livecode has a bug that makes my app useless as a standalone. Its being worked on, but we have to wait basically another month before a stable release minus this bug is available. Everything works fine in the IDE however... so I wanted to engage some of my beta users by creating a "portable" version of livecode IDE and my app ....
My question is, is it possible to launch a stack inside the IDE and hide the development tools on startup?....I'm going to attempt to create a portable app .... I can't wait another month to start testing, and do not wish to ask my beta users to install livecode IDE.
Any thoughts on this ?
Thanks,
Tom
Re: Create Portable Executable of LC IDE and my app
Posted: Fri Jun 26, 2015 5:39 pm
by zaxos
Code: Select all
on hideLCStacks
put "revTools","revMenubar","revProjectBrowser" into theStacks
repeat for each item theStack in theStacks
if the visible of stack theStack then
hide stack theStack
end if
end repeat
end hideLCStacks
you can put this in your openStack script, also if you are using livecode 8 i think project Browser has a different name.
EDIT: its "revIDEProjectBrowser" for livecode 8
Re: Create Portable Executable of LC IDE and my app
Posted: Fri Jun 26, 2015 5:43 pm
by zaxos
Just out of curiosity, what is the bug?
Re: Create Portable Executable of LC IDE and my app
Posted: Fri Jun 26, 2015 5:48 pm
by Thierry
makeshyft wrote:
Any thoughts on this ?
There is an option "suspend development tools" in menu "Development"
Should not be too complicate to find the command sent behind.
Then, build a small plugin which starts during LC IDE startup and send the message found above.
There is still this little stack "Restore tools" to hide.
I've never done that, but as you said:
Any thoughts on this ?
HTH and good luck.
Thierry
Re: Create Portable Executable of LC IDE and my app
Posted: Fri Jun 26, 2015 10:42 pm
by FourthWorld
Thierry wrote:There is still this little stack "Restore tools" to hide.
I've never done that, but as you said: Any thoughts on this ?
The next version of my
devolution toolkit extends the Hide Tools button to include all IDE stuff, including the "Restore IDE" stack - it uses:
Code: Select all
set the vis of stack "revRestore" to false
revIDESuspendDevelopmentTools
The first line makes sure the Restore stack isn't visible, and the second is the IDE call to get everything else out of the way.
If you need to restore the IDE environment you can do the reverse:
Code: Select all
revIDERestoreDevelopmentTools
set the vis of stack "revRestore" to true
Re: Create Portable Executable of LC IDE and my app
Posted: Sat Jun 27, 2015 7:26 am
by Thierry
Hi Tom,
With a fresh mind in an early sunny morning...
Here is a tool I'm using since more than a year:
lcxcode
In simple words,
I get rid of *all* the stacks of the Edinburgh LC IDE and write my own
home.rev stack.
This is the smallest IDE I've seen so far, and the fun is: with almost no GUI.
All the user interface is done in Xcode.
This allows me when coding any external in Xcode, with *one* simple keyboard shortcut,
to compile the external, build the LiveCode standalone of my Test stack, install it on y iPad,
launch it, starts it and then I can start testing it within an Xcode debugger session.
All this process is pretty fast, and much more convenient than using the simulator.
Therefore, in your case, you could take the same approach and build your own
which starts your stack...
Not knowing your skills, this solution might be not what you are looking for.
Good luck,
Thierry
Re: Create Portable Executable of LC IDE and my app
Posted: Sun Jun 28, 2015 4:52 am
by mwieder
Nice.
Your message contains 5 characters. The minimum number of characters you need to enter is 10.
Nice. Nice.