Search found 3240 matches

by bn
Tue Mar 05, 2019 8:45 am
Forum: Mac OS
Topic: Do as Applescript Execution Error when looping Objects
Replies: 6
Views: 382

Re: Do as Applescript Execution Error when looping Objects

Hi Simon, I now tried: tell application "Mail" -- get all the messages in the list with same subject. set tMessageList to selection set tEmail to "" set tbreak to "----------------------- ! -----------------------" set tOutput to "" set aMessage to "" repeat with aMessage in tMessageList -- loops fr...
by bn
Tue Mar 05, 2019 8:04 am
Forum: Mac OS
Topic: Do as Applescript Execution Error when looping Objects
Replies: 6
Views: 382

Re: Do as Applescript Execution Error when looping Objects

Hi Simon,

maybe this is the problem
repeat with aMessage in tMessages -- loops from first to last
you declare the variable as
set tMessageList to selection
tMessage vs tMessageList.

The script you posted throws an error when executing in AppleScript.

Kind regards
Bernd
by bn
Tue Jan 29, 2019 12:08 pm
Forum: LiveCode Builder
Topic: Gauge widget
Replies: 31
Views: 5772

Re: Gauge widget

Hi Jose,
kaikuse wrote:
Tue Jan 29, 2019 11:01 am
Do other widgets work in this setting? Yes it does
What do you mean? Do other widgets work with Android standalones? Or do you mean that your graphic works with your standalone?

Kind regards
Bernd
by bn
Fri Jan 25, 2019 12:08 pm
Forum: Talking LiveCode
Topic: Managing scroll in grouped groups
Replies: 7
Views: 365

Re: Managing scroll in grouped groups

Hi Kaveh, resizeControl is only necesseary when the rect of the "main" group changes. Then it resizes the "back" graphic to fit the "sub" groups so that scrollWheel messages can be trapped by the "main" group. "resizeControl" is a system message that is sent to a group when it is resized. On "openFi...
by bn
Fri Jan 18, 2019 10:49 am
Forum: Talking LiveCode
Topic: Managing scroll in grouped groups
Replies: 7
Views: 365

Re: Managing scroll in grouped groups

One thing I found is that when I have more than one field in a group, then when I focus in another field in the same group sets the scroll of the parent group to zero. Off-hand, is your script designed to handle multiple fields in a group? I did not test that. Best would be if you could post a samp...
by bn
Thu Jan 17, 2019 5:27 pm
Forum: Talking LiveCode
Topic: Managing scroll in grouped groups
Replies: 7
Views: 365

Re: Managing scroll in grouped groups

Hi Kaveh, here is a version of your example stack that can be scrolled with a scroll wheel. To make this work I added a graphic at the lowest layer of the main group. That way rawKeyDown is trapped by the main group. That graphic is resized when you resize the group. Furthermore it scrolls the subgr...
by bn
Tue Jan 15, 2019 9:44 pm
Forum: LiveCode Builder
Topic: Gauge widget
Replies: 31
Views: 5772

Re: Gauge widget

Hi Jose, I´ll try to do it myself , using oval graph ! it is a bit tricky to do this using graphics. I did it before I did the widget. I post the graphics version here for you to use/change/study. I would try to get the widget to work in your Android-app. I don't think your error when building a sta...
by bn
Tue Jan 15, 2019 6:40 pm
Forum: LiveCode Builder
Topic: Gauge widget
Replies: 31
Views: 5772

Re: Gauge widget

Hi Kai,

sorry I don't do android standalone. Not of any help here.
Though the path seems a bit funny.

Kind regards
Bernd
by bn
Sun Jan 13, 2019 10:35 pm
Forum: Rich Media
Topic: SVG for Alejandro
Replies: 50
Views: 7543

Re: SVG for Alejandro

I guess you are aware of the option to import .svg files into images in LC 9. create an image "i1" and try with the current LC 9.0.2 on mouseUp lock screen answer file "choose" with type "SVG image|svg" if it is empty then exit mouseUp put it into tFile put URL ("binfile:" & tFile) into tSVG put dra...
by bn
Fri Dec 21, 2018 11:14 am
Forum: LiveCode Builder
Topic: north widget
Replies: 2
Views: 1522

Re: north widget

Due to a bug fix in livecode builder for ATAN2 in LC 9.0.2 the interactive "turns" of the needle where inverted. This is a version that works in LC 8.x.x and 9.x.x Instal the .lce file via "Extension Manager" either using LC 8.x or 9.x. (LC 9.x will automatically recompile the widget) The source cod...
by bn
Thu Dec 20, 2018 9:19 am
Forum: Announcements
Topic: bnGuides alignment tool on livecodeshare
Replies: 3
Views: 314

Re: bnGuides alignment tool on livecodeshare

Thank you Bogs and Andy,

I am glad you like it.

Kind regards
Bernd
by bn
Tue Dec 18, 2018 4:43 pm
Forum: Announcements
Topic: bnGuides alignment tool on livecodeshare
Replies: 3
Views: 314

bnGuides alignment tool on livecodeshare

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. ...
by bn
Sun Dec 16, 2018 9:57 am
Forum: Windows
Topic: Using " inside a string.
Replies: 4
Views: 354

Re: Using " inside a string.

Hi Google, use the keyword quote. put this into the message box and hit return put "first word " & quote & " second word " & quote or Klaus has a nifty function for this I think he calls it kwote. on mouseUp put kwote("first word") && "and" && kwote("second word") end mouseUp function kwote pWhatToQ...
by bn
Sat Dec 15, 2018 11:53 am
Forum: Mac OS
Topic: Script editor view problem
Replies: 5
Views: 363

Re: Script editor view problem

Hi Kaveh, did you delete the preference files from folder /Users/userName/Library/Preferences/RunRev ? The files "livecode7.rev" and "livecode.rev" ? When you delete those files (assuming both are there. "livecode7.rev" is for LC 7 and up) Livecode should not be running because otherwise it will rec...
by bn
Tue Dec 04, 2018 2:44 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Zoom IDE
Replies: 30
Views: 1713

Re: Zoom IDE

bogs made me aware that bnGuides is not working in pre 7.0 LC versions

Here is a version that was saved in LC 5.5 format. (should also work in later versions of LC)

Did not test this version extensively but a first short test seemed to work

Kind regards

Bernd
bnGuides5.5.livecode.zip
(17.91 KiB) Downloaded 17 times

Go to advanced search