Re: addIcon(pName,pSVG,pCodepoint) Where is the icon?

2024-10-17 Thread Brian Milby via use-livecode
store and restore. Brian Milby br...@milby7.com > On Oct 17, 2024, at 9:49 AM, Klaus major-k via use-livecode > wrote: > > Hi Brian, > >> Am 17.10.2024 um 15:41 schrieb Brian Milby via use-livecode >> : >> >> In short, yes your will need to add icons eac

Re: DOM innerHTML equivalent ?

2024-10-17 Thread Brian Milby via use-livecode
If you can use a group there may be something. If you make a shared group you can place it on another card and remove it from the current card. Then to restore you would place it again to the current card. Not sure how speed would be with this if it was even applicable to your situation. Bri

Re: addIcon(pName,pSVG,pCodepoint) Where is the icon?

2024-10-17 Thread Brian Milby via use-livecode
In short, yes your will need to add icons each launch of the IDE / app. I was going to suggest looking at SvgIconTool after your first post but realized I only moved entire families of icons and did not use the individual icon function. One way would be to create a family of any custom icons (o

Re: Tree view widget messages not firing?

2024-09-22 Thread Brian Milby via use-livecode
That message is posted when the widget changes the value of the array by adding/deleting a key. It is not posted when the array is set. Formattedheightchanged should fire when the total height of data changed. Easiest way to get it sent is expanding a node. My use of that widget never uses th

Re: Strange...

2024-08-28 Thread Brian Milby via use-livecode
777,50,1424,32767”) —> true > put ("936,474" is within "777,50,1424,32768”) —> false > > Bob S > > >> On Aug 28, 2024, at 5:17 AM, Brian Milby via use-livecode >> wrote: >> >> Looks like ~32k is the max value allowed for a coordinate va

Re: Strange...

2024-08-28 Thread Brian Milby via use-livecode
Looks like ~32k is the max value allowed for a coordinate value. Brian Milby br...@milby7.com > On Aug 28, 2024, at 4:22 AM, jbv via use-livecode > wrote: > > ("936,474" is within "777,50,1424,1") -> true > > ("936,474" is within "777,50,1424,10") -> false > > LC 9.6.9 on Mac OSX 10

Re: How to check if a group contains a specific control ?

2024-08-23 Thread Brian Milby via use-livecode
Another alternative. If the short id of fld "xyz" is among the lines of the childcontrolids of group "abc" then … This one should work as long as there is only one field with that name on the card (tried from message box). Brian Milby br...@milby7.com > On Aug 23, 2024, at 8:05 AM, Paul Dupui

Re: Nasty filter bug

2024-01-24 Thread Brian Milby via use-livecode
> therefore returned the original string untouched? > > Craig > > > On Jan 24, 2024, at 4:37 PM, Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > I just want to clarify that this isn’t the regex version of filter but > the wil

Re: Nasty filter bug

2024-01-24 Thread Brian Milby via use-livecode
and “*” filter without issue, though, and > I guess one has to be a regex user to see why. > > I am not. > > Craig > >> On Jan 24, 2024, at 2:53 PM, Brian Milby via use-livecode >> wrote: >> >> Your test misses the actual issue: >> >> on

Re: Nasty filter bug

2024-01-24 Thread Brian Milby via use-livecode
doing its > job: ASCII 91 (“[“) and ASCII 10, the return char. > > > > Craig > > > > On Jan 24, 2024, at 12:51 PM, Craig Newman via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Brian. > > > > Nope. Those two chars pass throu

Re: Nasty filter bug

2024-01-24 Thread Brian Milby via use-livecode
mehow in its inner workings. > > Craig > > Craig > >> On Jan 23, 2024, at 9:45 PM, Brian Milby via use-livecode >> wrote: >> >> Not sure this is really a bug. The default is to match a wildcardPattern. >> If you want to match [ then you must use [[] i

Re: Nasty filter bug

2024-01-23 Thread Brian Milby via use-livecode
Not sure this is really a bug. The default is to match a wildcardPattern. If you want to match [ then you must use [[] in the pattern. Brian Milby br...@milby7.com > On Jan 23, 2024, at 9:02 PM, Neville Smythe via use-livecode > wrote: > > Try this in the msg box: > > put "aaa[bbb" into t

Re: macOS window maximization weirdness

2024-01-19 Thread Brian Milby via use-livecode
What I find most curious is that the Autocode window does show a few controls that look to be placed correctly at the bottom of the window. My guess is that it is a timing issue and you are using a property value that isn’t yet updated. That is probably (hopefully) going to be a good place to

Re: resizeControl wishes...

2023-11-30 Thread Brian Milby via use-livecode
Groups get the message when resize happens by script. Other objects only receive the message when resized by hand. Brian Milby br...@milby7.com > On Nov 30, 2023, at 1:51 PM, Paul Dupuis via use-livecode > wrote: > > Thank you Richard. > > I see what the issue for me was. Groups do indeed re

Re: drawingSvgCompileIcon(pIconName) always BLACK

2023-10-25 Thread Brian Milby via use-livecode
if you could explain the licensing on your work. > > Best, Richmond. > >> On 25.10.23 3:44, Brian Milby via use-livecode wrote: >> Well, it sure took me a while to get around to this. I guess better late >> than never though. Not sure where the best place to put it, so I

Re: drawingSvgCompileIcon(pIconName) always BLACK

2023-10-24 Thread Brian Milby via use-livecode
Wed, Apr 6, 2022 at 3:20 PM Klaus major-k via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Brian, > > > Am 06.04.2022 um 21:18 schrieb Brian Milby via use-livecode < > use-livecode@lists.runrev.com>: > > > > I guess I need to make an update to thi

Re: Window code signing certificate source recommendations

2023-10-10 Thread Brian Milby via use-livecode
While not directly applicable, you may be able script it similar to using a CAC. DOD uses Smart Cards for authentication and you can have command line tools use the card for authentication (runas /smartcard program). What happens is that you get a pop up from the system to choose cert and enter

Re: sort bug

2023-09-07 Thread Brian Milby via use-livecode
It seems the error/bug is related to the error being in the last value. If you were to change the bug report to sort on the field itself, then the sort is performed but the answer does not execute. If you clicked the button again, then the answer does show. If you revert to the saved stack an

Re: Sort bug

2023-08-31 Thread Brian Milby via use-livecode
I just tried this in 10dp5 and the sort didn’t completely bail (it put the error value first) but it did error when including inline (as in the bug report). If I add a try, then it will stop on the throw. Not sure how much this would slow down execution though. function myVal pStr local tR

Re: If you're using the github version of Navigator, please update

2023-08-05 Thread Brian Milby via use-livecode
Thanks for the heads up. This is a great tool that I probably should be using more than I do. I appreciate your work on this! Brian Milby br...@milby7.com > On Aug 5, 2023, at 3:23 AM, Geoff Canyon via use-livecode > wrote: > > Turns out I had a glitch I didn't notice with my github client

Re: Tree Widget - order of titles

2023-07-15 Thread Brian Milby via use-livecode
While I don’t know if a way to hide the key, there is a way to get a manual sort by combining the key with a sortable leading value. See the charsToTrimFromKey property. Brian Milby br...@milby7.com > On Jul 15, 2023, at 9:11 AM, David Bovill via use-livecode > wrote: > > Is there a way to

Re: Convert date

2023-07-14 Thread Brian Milby via use-livecode
We actually do with LCB libraries (Icon SVG Library is one example), but with the caveat that they are not as performant as LCS code in many cases (compare the LCS and LCB implementations of JSON for example). LCS libraries are doable too. Just make everything internal private/script local and

Re: revXML and UTF8

2023-04-10 Thread Brian Milby via use-livecode
Are you sending encoded data to libXML and then decoding the data you pull out? In the first bug report in the thread, if you textDecode the output from libXML then it renders with the smart quote. I recall this topic coming up before but I don’t mess with XML and can’t recall more details on i

Re: Android native scroller

2023-04-07 Thread Brian Milby via use-livecode
I can’t look at code right now but essentially you need to match the native scroller with the field scroll position as a separate step. Brian Milby br...@milby7.com > On Apr 7, 2023, at 8:05 AM, Klaus major-k via use-livecode > wrote: > > Hi friends, > > I have a working scroller for a long

Re: Sad news about Brahmanathaswami

2022-12-26 Thread Brian Milby via use-livecode
I was very sad to hear the news recently that Swami was very sick. It is tough to learn of passing. I only knew him from the list and our work together on the SivaSiva app the past several years. He was great to work with and as many have noticed he had a heart of gold. I will miss our Zoom

Re: Lock screen and animated gif

2022-12-20 Thread Brian Milby via use-livecode
Another option is to use an SVG icon and rotate it a bit each time. Gives the impression of a spinning object. Brian Milby br...@milby7.com > On Dec 20, 2022, at 8:44 AM, jbv via use-livecode > wrote: > > Le 2022-12-20 08:19, Brian Milby via use-livecode a écrit : >&

Re: Lock screen and animated gif

2022-12-20 Thread Brian Milby via use-livecode
Could you make changes to htmlText in a variable and then assign all at once back to the field? Brian Milby br...@milby7.com > On Dec 20, 2022, at 8:05 AM, Antti Ilola via use-livecode > wrote: > > How about changing the mouse cursor. I found below about using a lock > screen. > " The only e

Re: Field content as parametres in a function

2022-11-29 Thread Brian Milby via use-livecode
Your original is the same as: put field «test» into tParam answer testFunction(tParam) So yes, whatever is placed as a parameter to a function is not expanded. Think about doing the same thing with an arbitrary block of text in the field and what would be the expected result. Brian Milby br..

Re: Lock screen challenge

2022-11-22 Thread Brian Milby via use-livecode
One option to use an external editor would be ScriptTracker. You could export the scripts, do your bulk changes, and then import them back. Brian Milby br...@milby7.com > On Nov 22, 2022, at 4:10 PM, Geoff Canyon via use-livecode > wrote: > > A random thought: if you converted to script-onl

Re: mergAV uses GLOBAL coordinates?

2022-11-15 Thread Brian Milby via use-livecode
at 7:54 AM, Klaus major-k via use-livecode > wrote: > > Hi Brian, > >> Am 15.11.2022 um 13:32 schrieb Brian Milby via use-livecode >> : >> >> What fullscreenmode are you using on that card? > > I use "showall". > However I resized t

Re: mergAV uses GLOBAL coordinates?

2022-11-15 Thread Brian Milby via use-livecode
What fullscreenmode are you using on that card? Brian Milby br...@milby7.com > On Nov 15, 2022, at 4:55 AM, Klaus major-k via use-livecode > wrote: > > Hi all, > > I do not won an iPhone, but some users told me that > scanning a barcode will show the previewarea way off > from where I defin

Re: megabundle updated

2022-11-08 Thread Brian Milby via use-livecode
SmartCrumbs now exports using LF on Mac. Have not looked at the other pieces yet. Brian Milby br...@milby7.com > On Nov 8, 2022, at 1:01 PM, Mark Wieder via use-livecode > wrote: > > On 11/8/22 07:48, Mike Kerner via use-livecode wrote: >> fyi, there was an update to the summer megabundle p

Re: Mobile: Convert from screen to card coords

2022-10-18 Thread Brian Milby via use-livecode
Klaus, My setBackground handler doesn't give a direct translation, but does start it. https://github.com/bwmilby/mobileDemo/blob/48b89b37aba41afb5a7b90cfc9bdbbca9e7f052c/mobileDemo_Scripts/stack_MobileDemo_card_id_1002.livecodescript#L105 Since we are talking about portrait on mobile, the extra s

Re: Mobile: Convert from screen to card coords

2022-10-18 Thread Brian Milby via use-livecode
wrote: > > Hi Brian, > > I knew I forgot something... > >> Am 17.10.2022 um 19:53 schrieb Brian Milby via use-livecode >> : >> >> Looking at the image, I’m not sure you can do what you want and have it >> work. You can draw outside of the card rect, but

Re: Mobile: Convert from screen to card coords

2022-10-17 Thread Brian Milby via use-livecode
Looking at the image, I’m not sure you can do what you want and have it work. You can draw outside of the card rect, but you can’t interact with anything outside of the rect. In the image on the right, the nav bar is as low as it can go and receive touch interactions. I think resizing to the

Re: Hacking LiveCode

2022-09-25 Thread Brian Milby via use-livecode
Did you restart LiveCode after installing the updated widget? Brian Milby br...@milby7.com > On Sep 25, 2022, at 4:53 PM, Mike Kerner via use-livecode > wrote: > > 1. is that documented, somewhere, because i cannot find it. > 2. that isn't the problem i was having. the problem i was having wa

Re: Hacking LiveCode

2022-09-25 Thread Brian Milby via use-livecode
The widgets are identified by the reverse dns name. As long as that name does not change, LC will use whichever version is currently installed in the IDE. The issue is that you can’t take the LC version of a widget and then build your own version with a new name and have the settings easily co

Re: iOS 16! It will not do landscape!

2022-09-16 Thread Brian Milby via use-livecode
It is not an orientation lock issue. I’ve submitted a bug report but didn’t have iOS 16 loaded yet and have not had a chance to build some test apps to narrow down the details of the issue. Apple did make changes in iOS 16 with how apps request a specific orientation. Brian Milby br...@milby7

Re: iOS 16! It will not do landscape!

2022-09-16 Thread Brian Milby via use-livecode
Does your app use a launcher model? SivaSiva has one stack that is the launcher which opens the portal stack (main menu) when then goes to modules. Portrait is set on the launcher and each module has different orientation requirements/settings. Brian Milby br...@milby7.com > On Sep 16, 2022,

Re: lcb missing manual

2022-09-10 Thread Brian Milby via use-livecode
it, but I don't think it should be such a black hole, > especially when I put it down for a couple of months and then want to get > back into it. > If we want other people to take the plunge, and maybe invent cool stuff > using it, something better than what exists, now, s

Re: lcb missing manual

2022-09-10 Thread Brian Milby via use-livecode
tps://github.com/macMikey/LCB-missing-manual/wiki > The issues: https://github.com/macMikey/LCB-missing-manual/issues > > >> On Fri, Sep 2, 2022 at 8:42 PM Mark Wieder via use-livecode < >> use-livecode@lists.runrev.com> wrote: >> >>> On 9/2/22 16:54, Brian M

Re: NAVRAD was: lcb missing manual

2022-09-09 Thread Brian Milby via use-livecode
d i'm never going to like the way lc embeds the comments in the source >> of anything. >> or the way they spell "favourites", or pronounce "Aluminum". Do you see an >> extra "i" in there? No? It's invisible, that's why. >> >>

Re: NAVRAD was: lcb missing manual

2022-09-06 Thread Brian Milby via use-livecode
I think the user is going to need to code the width adjustment in the resizeStack handler. Widgets can’t change their rect on their own. It has to happen from the LCS side. Brian Milby br...@milby7.com > On Sep 6, 2022, at 3:29 PM, Ralph DiMola via use-livecode > wrote: > > Mike, > > For

Re: lcb missing manual

2022-09-02 Thread Brian Milby via use-livecode
Did a simple test with 819kb json file: - JSON Library / LCB 5400 ms - PhotonJSON / LCS 400 ms - mergJSON / extension 250 ms Brian Milby br...@milby7.com > On Sep 2, 2022, at 4:27 PM, Brian Milby wrote: > > Look no further than comparing the JSON library written in LCB and LCS > (PhotonJSON).

Re: lcb missing manual

2022-09-02 Thread Brian Milby via use-livecode
Look no further than comparing the JSON library written in LCB and LCS (PhotonJSON). I’m thinking that the LCS is probably faster. Probably worth a shot to actually test in more detail. I tried to import the smartcrumbs output with the external, LCB and LCS and only the LCS even was successfu

Re: Livecode / Github

2022-09-01 Thread Brian Milby via use-livecode
to GitHub and remote servers shouldn’t be an issue. I understand > how they work so I won’t have a problem. It just needs to be made much much > simpler for others. > > Sean Cole > Pi Digital Productions Ltd > > eMail Ts & Cs > > > > On 2 Sep 2022, at 02:26, Brian M

Re: Livecode / Github

2022-09-01 Thread Brian Milby via use-livecode
Mark, this is the same bug that you already filed: https://quality.livecode.com/show_bug.cgi?id=23910 On Thu, Sep 1, 2022 at 9:29 PM Brian Milby wrote: > Actually, that is a bug that needs to be fixed. I don't have "My > Livecode" running from my documents folder. So the extension itself is in

Re: Livecode / Github

2022-09-01 Thread Brian Milby via use-livecode
Actually, that is a bug that needs to be fixed. I don't have "My Livecode" running from my documents folder. So the extension itself is in the correct place, but all of the stuff it writes is in the wrong place. On Thu, Sep 1, 2022 at 9:04 PM Mark Wieder via use-livecode < use-livecode@lists.run

Re: Livecode / Github

2022-09-01 Thread Brian Milby via use-livecode
I think some of this is a bit too much to address in a list post. I'll make some comments though. (i) Make a repo at https://github.com; https://www.atlassian.com/git/tutorials/setting-up-a-repository; you can view tons of docs at https://docs.github.com/en (ii)-(iv) I use https://www.sourcetreeap

Re: Livecode / Github

2022-09-01 Thread Brian Milby via use-livecode
Here is the workflow that I think is intended: Export stack to files Commit files to GitHub or other VCS — Fetch/pull latest from GitHub Import stack from files Make changes Export stack to files Commit changes to GitHub — At any point changes between branches can be merged due to structure of exp

Re: Livecode / Github

2022-08-31 Thread Brian Milby via use-livecode
e need to export each >> substack individually. But the json file should hold info about all the >> other stuff as well. We’ll see. >> >> Sean Cole >> Pi Digital Productions Ltd >> >> eMail Ts & Cs >> >> >>>> On 31 Aug 2022, at 13:46

Re: Livecode / Github

2022-08-31 Thread Brian Milby via use-livecode
need to export each > substack individually. But the json file should hold info about all the other > stuff as well. We’ll see. > > Sean Cole > Pi Digital Productions Ltd > > eMail Ts & Cs > > >> On 31 Aug 2022, at 13:46, Brian Milby via use-livecode

Re: Livecode / Github

2022-08-31 Thread Brian Milby via use-livecode
Had it created any of the script or other objects? Curious whether it builds the JSON first or if it is done while exporting the other assets. Thanks, Brian > On Aug 31, 2022, at 6:02 AM, Sean Cole via use-livecode > wrote: > > Well, I had to leave it overnight to finish exporting as it was

Re: lcb missing manual

2022-08-30 Thread Brian Milby via use-livecode
LCB has been slower than LCS, but the advantage is that you can easily link to much faster compiler code. I’m not sure if that has changed any… I could pull out some code from a while back where we were doing some speed tests. Sent from my iPhone > On Aug 30, 2022, at 5:31 PM, Geoff Canyon via

Re: Livecode / Github

2022-08-29 Thread Brian Milby via use-livecode
/22 20:45, Brian Milby via use-livecode wrote: > > If you want to see what the JSON export looks like for a fairly small > > stack, you can view this: > > > https://github.com/bwmilby/SvgIconTool/blob/main/smartcrumbs/SvgIconTool.livecode.sc/stackFileProperties.json > >

Re: Livecode / Github

2022-08-28 Thread Brian Milby via use-livecode
If you want to see what the JSON export looks like for a fairly small stack, you can view this: https://github.com/bwmilby/SvgIconTool/blob/main/smartcrumbs/SvgIconTool.livecode.sc/stackFileProperties.json Unfortunately you will need to download and view it with something that understands the CR l

Re: Svg Icon Tool

2022-08-26 Thread Brian Milby via use-livecode
I think that if auto highlight is disabled then hiliteChanged would never get triggered. Having the back end highlight change without it visually changing would probably lead to confusion. > On Aug 26, 2022, at 11:55 AM, Ralph DiMola via use-livecode > wrote: > > What if the widget had a p

Re: Svg Icon Tool

2022-08-26 Thread Brian Milby via use-livecode
o not make the transition, then they get the hilite changing, then > they get rejected, and then we have to switch the hilite back to what it > was, before. > >> On Fri, Aug 26, 2022 at 10:14 AM Brian Milby via use-livecode < >> use-livecode@lists.runrev.com> wrote: >>

Re: Svg Icon Tool

2022-08-26 Thread Brian Milby via use-livecode
rev.com> wrote: >>> >>> i don't think so. i want to be able to be able to intercept the >>> touch/click, and decide what to do. sometimes i want to ignore it. >>> sometimes i want to throw up an error and not switch. sometimes i want to >>> do s

Re: Svg Icon Tool

2022-08-26 Thread Brian Milby via use-livecode
x27;t think so. i want to be able to be able to intercept the > touch/click, and decide what to do. sometimes i want to ignore it. > sometimes i want to throw up an error and not switch. sometimes i want to > do something else, first. > >> On Thu, Aug 25, 2022 at 5:48 PM Brian Milby

Re: Svg Icon Tool

2022-08-25 Thread Brian Milby via use-livecode
I think what we probably need is simply: set the hilitedItemSilently of widget 1 to 1 Or set the hilitedItemWithoutMessage of widget 1 to 1 This would allow more elegant solutions to many of the raised issues. Thanks, Brian Sent from my iPhone > On Aug 25, 2022, at 2:48 PM, Mike Kerner via u

Re: Svg Icon Tool

2022-08-25 Thread Brian Milby via use-livecode
folder. > > Regards, > Matthias > > >> Am 25.08.2022 um 05:22 schrieb Brian Milby via use-livecode >> : >> >> Greetings list! >> >> A few years ago I published a tool that allowed easy creation of the Icon >> Families that I had been working

Svg Icon Tool

2022-08-24 Thread Brian Milby via use-livecode
Greetings list! A few years ago I published a tool that allowed easy creation of the Icon Families that I had been working on to integrate into the IDE. (The code had been started, but users had no way to leverage the planned capability at the time.) At that time I simply posted it to Sample Sta

Re: addIcon issue

2022-08-21 Thread Brian Milby via use-livecode
Have you looked at SVG Icon Tool (Sample Stacks)? It can help manage icon families. You should be able to set the icon using just the short name. The icon svg library will check the current library first and then cycle through all loaded families looking for a match. If there is a collision

Re: Livecode performance problem

2022-08-19 Thread Brian Milby via use-livecode
Based on what Bob said, here is my version of that handler: on mouseUp local tA, tB, tC, tD, tAll, tStart, tEnd put fld "A" into tA put fld "B" into tB put fld "C" into tC put fld "D" into tD -- put the milliseconds into tStart split tA by cr split tB by cr split tC b

Re: Livecode performance problem

2022-08-19 Thread Brian Milby via use-livecode
First optimization would be to put … & cr after vCombined and then delete the trailing from when done. Sent from my iPhone > On Aug 19, 2022, at 5:11 PM, Paul Dupuis via use-livecode > wrote: > > I have a set of fields, call them A, B, C, and D. Each has the same number > of lines. Each fie

Re: polylist toys

2022-08-18 Thread Brian Milby via use-livecode
I just rename the zip file when I download it :) But yes, only way to know currently is to log in and check the version/date. Sent from my iPhone > On Aug 18, 2022, at 11:49 AM, Mark Wieder via use-livecode > wrote: > > On 8/18/22 07:42, Mike Kerner via use-livecode wrote: >> fiddling with p

Re: Fail to test new stack on Android device

2022-08-11 Thread Brian Milby via use-livecode
Change the app name or version string info. You have an app with the same name and an earlier version already on the device. Sent from my iPhone > On Aug 11, 2022, at 6:39 AM, Klaus major-k via use-livecode > wrote: > >  > >> Am 11.08.2022 um 12:30 schrieb Klaus major-k via use-livecode >

Re: Getting the visible rect of a stack with fullscreenmode "showall"

2022-08-10 Thread Brian Milby via use-livecode
The handler you probably need to look at is in card 1002 (index) called setBackground (line 104). The effective working screenrect is going to report device pixels. To actually know the relative rect from the card’s perspective you have to translate to the card coordinates. I may not have use

Re: Getting the visible rect of a stack with fullscreenmode "showall"

2022-08-10 Thread Brian Milby via use-livecode
Check out this repository: https://github.com/bwmilby/mobileDemo It has logging that shows various rects when changing modes. I can look later to try to give a more concise answer. Thanks, Brian Sent from my iPhone > On Aug 10, 2022, at 11:00 AM, Klaus major-k via use-livecode > wrote: > >

Re: Tree Widget: hilitedValue?

2022-07-10 Thread Brian Milby via use-livecode
wrote: > > On 7/9/22 7:11 PM, Brian Milby via use-livecode wrote: >> function getValue pArray, pPath >>split pPath by comma >>return pArray[pPath] >> end getValue > > I keep forgetting we can do that. It's cool, but I don't understand how

Re: Tree Widget: hilitedValue?

2022-07-09 Thread Brian Milby via use-livecode
I don't think there is an existing one liner, but it can be done a couple ways. Here is a recursive function defined in the PI code for Custom Props: on fetchArrayDataOnPath pPath, pArray, @rData local tKey put item 1 of pPath into tKey if the number of items in pPath is 1 then if

Re: Stylistic question.

2022-06-19 Thread Brian Milby via use-livecode
One reason would be if you were trying to use behaviors so you could manage your code with a repository like Git. This would greatly reduce the number of behavior scripts that you would create. One app that work on has the code in the stack’s behavior script. Sent from my iPhone > On Jun 19,

Re: Referencing Livecode

2022-06-17 Thread Brian Milby via use-livecode
Maybe a direct link here would be better: https://livecode.com/resources/ Sent from my iPhone > On Jun 17, 2022, at 6:39 AM, Mark Smith via use-livecode > wrote: > > I think in this instance, probably asking support would be the best bet. > >> On 16 Jun 2022, at 2:31 pm, David V Glasgow

Re: Would anyone miss convertOctals?

2022-06-09 Thread Brian Milby via use-livecode
Had to look it up, never used it. Sent from my iPhone > On Jun 9, 2022, at 8:45 AM, Mark Waddingham via use-livecode > wrote: > > So I'm currently sitting here about to embark on fixing > (which is the final > thing to sort out before bei

Re: storing binary data in a "memory" database

2022-06-04 Thread Brian Milby via use-livecode
Is this the issue? To pass binary data in an array element, prepend "*b" to the element's key. Sent from my iPhone > On Jun 3, 2022, at 6:56 PM, Bob Sneidar via use-livecode > wrote: > > Hi Doc thanks for the response. I am using aes256 encryption so an ascii > hash is not viable. If this w

Re: Zip file problem on Mac

2022-05-08 Thread Brian Milby via use-livecode
I imagine this one isn’t documented due to the issues where you can’t read properties from an existing zip file. I think I found it when digging into the source. I’m sure there are some that could be found by looking at the source code that is still available. Sent from my iPhone > On May 8,

Re: Zip file problem on Mac

2022-05-06 Thread Brian Milby via use-livecode
It is a bug somewhere. See this big report: https://quality.livecode.com/show_bug.cgi?id=21447 I actually think it is related. The zip should be created as a Unix variant and not Fat and file attributes should be stored. One thing that could be tried is to manually set the executable bit when

Re: Mobile Image Editing

2022-04-08 Thread Brian Milby via use-livecode
u're scaling? > Or are you creating a new image? Or cropping the original? > >> On 4/7/22 9:11 PM, Brian Milby via use-livecode wrote: >> Greetings list people! >> I am currently working on a project where we will be editing images on a >> mobile device. I'm r

Mobile Image Editing

2022-04-07 Thread Brian Milby via use-livecode
Greetings list people! I am currently working on a project where we will be editing images on a mobile device. I'm running into an issue where the formatted height and width of the image change. Most of the images are natively 1600x1200 but we initially display them scaled to fit on the screen.

Re: drawingSvgCompileIcon(pIconName) always BLACK

2022-04-06 Thread Brian Milby via use-livecode
I guess I need to make an update to this library :) Sent from my iPhone > On Apr 6, 2022, at 1:28 PM, Mark Waddingham via use-livecode > wrote: > > On 2022-04-06 18:16, Klaus major-k via use-livecode wrote: >> Hi all, >> so sorry, looks like I completely f. up here. >> Sorry for the confu

Re: Counting Syllables

2022-03-22 Thread Brian Milby via use-livecode
finalize your own. > > Craig > > >> On Mar 21, 2022, at 10:47 PM, Brian Milby via use-livecode >> wrote: >> >> Well, you could set up your rules and just database the exceptions. Then >> you at least have a guess for the words th

Re: Counting Syllables

2022-03-21 Thread Brian Milby via use-livecode
Well, you could set up your rules and just database the exceptions. Then you at least have a guess for the words that you don’t “know” the answer for. If there is a database miss, then use the rule set. Sent from my iPhone > On Mar 21, 2022, at 8:27 PM, Rick Harrison via use-livecode > wrot

Re: Funding

2022-03-17 Thread Brian Milby via use-livecode
Would it be bad form to post the link? I just kicked in a bit more since I think it has great potential. I hope it fully funds. Sent from my iPhone > On Mar 17, 2022, at 1:56 PM, Tom Glod via use-livecode > wrote: > > welcome to the club I have the same issue. No spam filter on my end, I

Re: Problems with Filter?

2022-03-12 Thread Brian Milby via use-livecode
Your source was only one line. The default for filter is to work by line. It returns all lines that match, hence the same string you started with. Sent from my iPhone > On Mar 12, 2022, at 5:22 PM, Rick Harrison via use-livecode > wrote: > >  > put "THIS*FIND" into tTarget > > put “abcdef

Re: Problems with Filter?

2022-03-12 Thread Brian Milby via use-livecode
Filter removes non-matching lines. On Sat, Mar 12, 2022 at 3:07 PM Rick Harrison via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Mark, > > matchText works fine. > > That doesn’t explain why “filter” doesn’t work though. > > Thanks! > > Rick > > > On Mar 12, 2022, at 2:05 PM, Mark Wi

Re: add a "scale" option to the icongravity

2021-12-24 Thread Brian Milby via use-livecode
Wouldn’t you really need another property like “iconSizing” which would have values of “none” or “clip” (current behavior), “resize” or “fill” (the current iconGravity option), and “scale” (your proposal)? I can think of situations where clip and scale would need the current positioning afforde

Re: How to get a hilitedElement value from a Tree View's arrayData?

2021-12-21 Thread Brian Milby via use-livecode
mma >> set the htmltext of field "ItemText" to tArray[tElement] >> >> Alex. >> >> P.S. I also apologise for not looking at this earlier; I saw an earlier >> email and thought to myself "Hmmm. I bet that's a case for that weird ar

Re: How to get a hilitedElement value from a Tree View's arrayData?

2021-12-21 Thread Brian Milby via use-livecode
I saw this originally and meant to dig a bit. Sorry for causing additional work for you. Here is a widget script that does pretty much what you are doing but leverages a way of array access that isn’t obvious. https://github.com/bwmilby/DocEditorPlus/blob/master/DocEditorPlus_Scripts/stack_Doc

Re: How to in LC for Desktop and the Web?

2021-12-09 Thread Brian Milby via use-livecode
As I understand it, #1 doesn’t really work… it needs to be served from a web server. When you test in the IDE, it actually serves it from a server instance that is started for that purpose. As for building the paths, I’m not exactly sure but do know that stuff in the “copy files” section ends

Re: Android tap location doesn't match visual location

2021-11-19 Thread Brian Milby via use-livecode
Would it be possible to use a send in time approach? If not for real, you might could try to avoid the loop as a test. I’ll confess I have not seen that particular issue though. Sent from my iPad > On Nov 19, 2021, at 11:49 PM, scott--- via use-livecode > wrote: > > I’m having trouble wit

Re: Webview scrolling

2021-10-08 Thread Brian Milby via use-livecode
Could you detect the keyboard being shown and resize the web view? Sent from my iPad > On Oct 8, 2021, at 9:21 PM, J. Landman Gay via use-livecode > wrote: > > I told a web designer I'd ask here to see if anyone has ideas. I'm > displaying a web page with a form in a browser widget. On Andro

Re: Stack with the same name loop

2021-10-07 Thread Brian Milby via use-livecode
Yes, but it does not add anything else. If you do it two times you end up with 2 identically named stacks. You can save them to disk with different long names and end up with multiple stacks with the same short name but different long name. My demo is on bug 18793. It works in the IDE. Sent

Re: Stack with the same name loop

2021-10-07 Thread Brian Milby via use-livecode
t 7, 2021, at 12:44 PM, Mark Waddingham via use-livecode > wrote: > > On 2021-10-07 17:25, Brian Milby via use-livecode wrote: >> I would be more of a fan of lowering the engine check to just a >> warning vice a hard error/prohibition. Like you said, if you don’t >>

Re: Stack with the same name loop

2021-10-07 Thread Brian Milby via use-livecode
files with the same name (default to off/false). The second would be a “force” parameter to the open command which would bypass the check. Sent from my iPhone > On Oct 7, 2021, at 11:17 AM, Mark Waddingham via use-livecode > wrote: > > On 2021-10-07 15:57, Brian Milby via

Re: Stack with the same name loop

2021-10-07 Thread Brian Milby via use-livecode
Clone stack avoids the check. It is not that hard to get multiple stacks with the same short name but different long names in memory (in a standalone). The engine makes sane choices when referencing the top stack in that case. Any individual stack can be referenced via the long name. Sent fr

Re: LiveCode 10 - what are your thoughts on the new features?

2021-09-08 Thread Brian Milby via use-livecode
Ah, the problem with calling things “facts” where the data isn’t actually knowable. The number of hairs on my head is a fact but not one that can be accurately known. Kind of like the number of people who watched the Super Bowl. In that context, true fact makes sense (also “cold hard fact”).

Re: matchChunk & matchText broken?

2021-08-13 Thread Brian Milby via use-livecode
If the regularExpression includes a pair of parentheses, the position of the substring matching the part of the regular expression inside the parentheses is placed in the variables in the positionVarsList. Sent from my iPhone > On Aug 13, 2021, at 4:33 AM, Peter Reid via use-livecode > wrote:

Re: iOS clipboard?

2021-06-28 Thread Brian Milby via use-livecode
Need to use native fields to enable copy/paste functionality. On Mon, Jun 28, 2021 at 3:29 PM Marty Knapp via use-livecode < use-livecode@lists.runrev.com> wrote: > Does anyone have a suggestion for LC’s lack of support for clipboardData > in iOS? I’ve implemented my customer database as an iOS a

Re: Mobile Scroller

2021-06-18 Thread Brian Milby via use-livecode
I have this working in SivaSiva for the stories module on Android. It locks up on iOS so I have rotation disabled for now. In my use case, the group is essentially the full screen with an image that is being moved around. I’ll try to find the specific scripts tonight. Thanks, Brian Sent fro

  1   2   3   4   5   6   7   8   9   10   >