[ANN] bnGuides alignment tool on livecodeshare

Find out what's going on with LiveCode (the company), product releases, announcements, and events.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3317
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

[ANN] bnGuides alignment tool on livecodeshare

Post by bn » Tue Dec 18, 2018 4:43 pm

I have put a stack "bnGuides" on livecodeshare (or access it from "Sample Stacks" from within LC).
It is best used as a plugin.

http://livecodeshare.runrev.com/stack/918/BnGuides

bnGuides.png

It helps with visual guides to align objects. It complements the build-in alignment tool.
Feedback welcome.

Kind regards
Bernd
Last edited by bn on Thu Mar 28, 2019 10:33 pm, edited 1 time in total.

bogs
Posts: 3817
Joined: Sat Feb 25, 2017 10:45 pm

Re: bnGuides alignment tool on livecodeshare

Post by bogs » Tue Dec 18, 2018 5:19 pm

This works very well, thank you Bernd!

If your coming from a VB or Delphi background, or any number of other IDEs which feature a visual alignment tool, I cannot recommend adding this to your plugins enough, it makes alignment and layout a snap.

I give it two big thumbs up and a crown!
ImageImage
Image

AndyP
Posts: 449
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

Re: bnGuides alignment tool on livecodeshare

Post by AndyP » Thu Dec 20, 2018 9:01 am

This is excellent work...most useful.

I have this now set to start with LC, it should be a standard part of the LC ide.

Thank you.
Andy Piddock

http://2108.co.uk/tinyide/ - Mini LC IDE alternative

http://2108.co.uk/script-editor-themer/ - Script Editor colour theming

http://livecodeshare.runrev.com/stack/897/LiveCode-Multi-Search - Search across 8 LC resources

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3317
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: bnGuides alignment tool on livecodeshare

Post by bn » Thu Dec 20, 2018 9:19 am

Thank you Bogs and Andy,

I am glad you like it.

Kind regards
Bernd

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3317
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: [ANN] bnGuides alignment tool on livecodeshare

Post by bn » Thu Mar 28, 2019 10:42 pm

bnGuides has been updated to version 0.5.0

The update fixes some instances where graphics used by bnGuides were not properly removed from the target stack.

Additionally it adds the option to display distances to nearest neighbors when setting the capsLock-key.
Thanks bogs for suggesting "distances" and beta testing.

Please read the help file for more information.

As before bnGuides works from LC 5.5 and up. Use it as plugin.


guidePlusDistance.png
guides and distances
guidePlusDistance.png (16.08 KiB) Viewed 1177 times

You can download it from
http://livecodeshare.runrev.com/stack/918/BnGuides

or from within Livecode -> Sample Stacks

Kind regards
Bernd

bogs
Posts: 3817
Joined: Sat Feb 25, 2017 10:45 pm

Re: [ANN] bnGuides alignment tool on livecodeshare

Post by bogs » Thu Mar 28, 2019 10:52 pm

< Rubbing my greedy lil hands together > Thanks Bernd! :mrgreen:
Image

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

Re: [ANN] bnGuides alignment tool on livecodeshare

Post by Thierry » Fri Mar 29, 2019 7:18 am

Hallo Bernd,


Was waiting for this kind of tool since such a long time....

sunnY- 2019-03-29 à 07.14.07.png

Congrats for this brilliant tool and thanks for my kids :)

mit freundlichen Grüßen,

Thierry
Thierry Douez - https://sunny-tdz.com
Pourquoi tant de notes lorsqu'il suffit de jouer les plus belles... [Barbara]

capellan
Posts: 610
Joined: Wed Aug 15, 2007 11:09 pm
Contact:

Re: [ANN] bnGuides alignment tool on livecodeshare

Post by capellan » Mon Apr 01, 2019 11:53 pm

Hi Bernd,

Thanks a lot for updating your stack! :D

On Mac, I copy and pasted the stack plugin into
the LiveCode plugins folder but after opening
the plugin inside Livecode IDE, a message appears
asking me to put the stack inside the plugin folder.
Screen Shot 2019-04-01 at 6.45.29 PM.png
message 1 screenshot
After clicking the button "Move me to plugin folder" then
this message appears:
Screen Shot 2019-04-01 at 6.46.21 PM.png
message 2 screenshot
Screen Shot 2019-04-01 at 6.46.21 PM.png (17.44 KiB) Viewed 1056 times
and finally, after closing and reopening LiveCode, the plugin now shows
this error:
Screen Shot 2019-04-01 at 6.46.59 PM.png
error 1 screenshot
Al

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3317
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: [ANN] bnGuides alignment tool on livecodeshare

Post by bn » Tue Apr 02, 2019 12:05 am

Hi Al,

once you have put the stack into your plugins folder you should start the stack from the Development Menu -> Plugins.

What probably happened is that the stack is set up to move itself into the plugins folder if you start it from anywhwere except the plugins folder. That is where the installation routine tripped.

Does bnGuides work for you if you start it via Development -> PlugIns?

Kind regards
Bernd

capellan
Posts: 610
Joined: Wed Aug 15, 2007 11:09 pm
Contact:

Re: [ANN] bnGuides alignment tool on livecodeshare

Post by capellan » Tue Apr 02, 2019 1:43 am

Hi Bernd,

The plugin does not work even if I start it from
the Plugin menu.

The error shows that a selected control
should have a script or a behavior named
"initializeScript" but I could not find this
in the selected control.

When does the selected control get this
script or behavior? When I click on them?

By the way, my Mac requires password to
install any software. Could this be the
source of this problem?

Al

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3317
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: [ANN] bnGuides alignment tool on livecodeshare

Post by bn » Tue Apr 02, 2019 8:52 am

The plugin does not work even if I start it from
the Plugin menu.
I have no idea why.
When does the selected control get this
script or behavior? When I click on them?
Yes, when you select a control it gets a behavior set, either the control if it has no behavior or the last behavior of the chain of behaviors of the selected control. The behavior button in bnGuides is "bnGuideBehavior2" = button id 1005.
By the way, my Mac requires password to
install any software. Could this be the
source of this problem?
I do not think so, once installed it should work.

I would try to delete bnGuides from the plugins folder and download a fresh copy. Install that manually into the plugins folder and try to start from Development - Plugins. For the first time start it when you are in browse mode. Though that should not make a difference.

It baffles me what happens to you. Maybe we can solve this.

Kind regards
Bernd

capellan
Posts: 610
Joined: Wed Aug 15, 2007 11:09 pm
Contact:

Re: [ANN] bnGuides alignment tool on livecodeshare

Post by capellan » Thu Apr 04, 2019 1:24 am

Hi All,

bnGuides alignment tool is working fine now
in my own setup! :D

The culprit was that opencard handler was
not running when I opened the stack.

I changed opencard for openstack and
replaced the original script for a shorter
script that Bernd send to my email.

Many Thanks Bernd!

Al

Post Reply

Return to “Announcements”