LCB helper stacks

Moderators: LCMark, LCfraser

Post Reply
[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1724
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

LCB helper stacks

Post by [-hh] » Wed Sep 27, 2017 11:51 pm

This thread shall collect helper stacks that may others use to save time.
Please come in with your stacks.

[#1] LCB helper: AUX cleaner.

I made this for switching between (latest) LC 8 and (latest) LC 9 when developing a widget. Put the stack into your widget-develop-folder, where _the unique lcb file_ resides.
  • Scenario:
    You are using "TEST" in the Extension Builder only, are NOT yet installing your widget.
  • Action:
    Remove auxiliary files that are not supported by the module-format of the current version
When switching the LC versions from 8 to 9 or vice versa (essentially: when switching versions that have a different module format) open the stack and you can remove all or some of the files that were generated by other LC versions with one click.

Then you can immediately use again "TEST" with the current LC version.
Attachments
AuxCleaner.livecode.zip
(5.24 KiB) Downloaded 57 times
AuxCleaner.png
shiftLock happens

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1724
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: LCB helper stacks

Post by [-hh] » Sat Sep 30, 2017 5:25 pm

[#2] LCB helper: PropertyInspector-Info.

This is kind of a cheat sheet for using the Property Inspector with LCB properties and one of the editors action, array, boolean, color, colorwithalpha, enum, file, number, point, set, string, svgicon or text.

It contains working examples (all examples are also collected in the attached lcb file). These examples show, as a side effect, how to place text, svgicons or images proportionally scaled into certain regions (e.g. lower left quarter) of the current canvas.

Thanks to all those who made and make this wonderful property inspector, especially Ali and (as I heard) basically Ben and Elanor.

Current version 1.0.10
Attachments
PI-Info.livecode.zip
The "PI-cheat-sheet", a LiveCode stack, contains
and explains one example to each editor
(65.8 KiB) Downloaded 66 times
PI-info.lcb.zip
The working lcb file, containing all examples
(one example to each editor)
(3.53 KiB) Downloaded 66 times
pi-info.png
shiftLock happens

Post Reply

Return to “LiveCode Builder”