Create Portable Executable of LC IDE and my app

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
makeshyft
Posts: 187
Joined: Mon Apr 15, 2013 4:41 am
Contact:

Create Portable Executable of LC IDE and my app

Post by makeshyft » Fri Jun 26, 2015 5:33 pm

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
Tom @
http://www.makeshyft.com
---------------------------------
Changing the Future, Today!

zaxos
Posts: 222
Joined: Thu May 23, 2013 11:15 pm
Location: Greece

Re: Create Portable Executable of LC IDE and my app

Post by zaxos » Fri Jun 26, 2015 5:39 pm

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
Knowledge is meant to be shared.

zaxos
Posts: 222
Joined: Thu May 23, 2013 11:15 pm
Location: Greece

Re: Create Portable Executable of LC IDE and my app

Post by zaxos » Fri Jun 26, 2015 5:43 pm

Just out of curiosity, what is the bug?
Knowledge is meant to be shared.

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 697
Joined: Wed Nov 22, 2006 3:42 pm
Location: France
Contact:

Re: Create Portable Executable of LC IDE and my app

Post by Thierry » Fri Jun 26, 2015 5:48 pm

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
Regex LiveCode sunnYrex
https://sunny-tdz.com

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7424
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Create Portable Executable of LC IDE and my app

Post by FourthWorld » Fri Jun 26, 2015 10:42 pm

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
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 697
Joined: Wed Nov 22, 2006 3:42 pm
Location: France
Contact:

Re: Create Portable Executable of LC IDE and my app

Post by Thierry » Sat Jun 27, 2015 7:26 am

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.
sunnY -smallest LC IDE.png
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
Regex LiveCode sunnYrex
https://sunny-tdz.com

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2955
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Create Portable Executable of LC IDE and my app

Post by mwieder » Sun Jun 28, 2015 4:52 am

Nice.
Your message contains 5 characters. The minimum number of characters you need to enter is 10.
Nice. Nice.

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”