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

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

Re: Mobile Image Editing

2022-04-08 Thread Brian Milby via use-livecode
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 running i

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

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 >

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

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

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

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

2021-12-21 Thread Brian Milby via use-livecode
text 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 array >> feature :-), and

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.

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

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

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.

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 >&g

Re: Stack with the same name loop

2021-10-07 Thread Brian Milby via use-livecode
of 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

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 >

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

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

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Brian Milby via use-livecode
Ok. I’ll just pull down your demo and play around with it. Sent from my iPhone > On Jun 1, 2021, at 2:56 PM, Klaus major-k via use-livecode > wrote: > > Hi Jaques, > >>> Am 01.06.2021 um 20:38 schrieb J. Landman Gay via use-livecode >>> : >>> >>> Sorry, no idea what "FSM of empty" might

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Brian Milby via use-livecode
One thing to try for testing would be to use FSM of empty and see how many lines are required. One thing I noticed with browser widget is that native elements render at device resolution inside regardless of FSM in use. If it requires the same, then this is probably not related. If the

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Brian Milby via use-livecode
use-livecode > wrote: > > Hi Brian, > >> Am 01.06.2021 um 13:57 schrieb Brian Milby via use-livecode >> : >> >> Which full screen mode are you using? >> The referenced fix works by extending the scroll region longer than the >> actual content with a

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Brian Milby via use-livecode
Which full screen mode are you using? The referenced fix works by extending the scroll region longer than the actual content with a goal of allowing you to get to the last line. What are you seeing when you try to use that? (Does it let you get any further or just doesn’t change it at all for

Re: lock messages and navigation bar widget

2021-05-21 Thread Brian Milby via use-livecode
gt;> Am 21.05.2021 um 20:34 schrieb Brian Milby via use-livecode >> : >> >> Works as expected/coded. > > hm, I had the naive thinking that "lock messages" would erm. lock the > messages. und just change the icon. :-D > But this does obviously not ap

Re: lock messages and navigation bar widget

2021-05-21 Thread Brian Milby via use-livecode
Works as expected/coded. Not sure how it would be changed (don’t know how to get to that state inside the widget). Anyway, to work with this you need to have your handler check to see if it needs to run. Pretty easy if using it to navigate between cards. If already on the destination card,

Re: Implementing UNDO

2021-05-21 Thread Brian Milby via use-livecode
For text, the method will depend on the size of the text. In general, implement an undo stack and a redo stack. For single line fields it could simply be a list for each. After each change, add entry to undo list and clear redo list. When doing undo, move entries to redo list allowing

Re: dg with native controls in template

2021-04-30 Thread Brian Milby via use-livecode
I’m going to say that with the way the DG manages controls it would be an uphill battle to get something native to work. One of the native widgets may work, but I have not purchased that set to test it out. The one potential issue would be layers. Since native controls layer on top of LC

Re: Dynamic scripted nested array keys?

2021-04-24 Thread Brian Milby via use-livecode
I guess I should reply to myself and say why this works. At some point the feature was added that you could use an array as an index into an array. The format is a one based ordered array of keys. So tPath[1] is the first level key, tPath[2] is the second level, etc. If you wanted to get

Re: Dynamic scripted nested array keys?

2021-04-24 Thread Brian Milby via use-livecode
Easiest way is to use split... Given a tree widget this will take a path from field 1 and put the value at that path in field 2 on mouseUp pMouseButton local tTree, tLoc put the arrayData of widget 1 into tTree put field 1 into tLoc split tLoc by comma put tTree[tLoc] into field 2

Re: PDF Widget

2021-04-23 Thread Brian Milby via use-livecode
Either that or everyone that wants it has business edition? Sent from my iPhone > On Apr 23, 2021, at 7:09 AM, Klaus major-k via use-livecode > wrote: > >  > >> Am 22.04.2021 um 15:17 schrieb Klaus major-k via use-livecode >> : >> >> Hi all, >> >> as far as I know the "PDF widget" is

Re: native scroller cuts off parts of last line in a field

2021-04-20 Thread Brian Milby via use-livecode
I think that is just a bug. See here for workaround idea: https://github.com/Himalayan-Academy/Siva-Siva-App/blob/nightly/behaviors/behavior_mobileScroller.livecodescript Basic idea is to add 60 or so px to content region and then adjust a bit when not at the top. Requires adjustments in

Re: Multiple stacks showing at once on mobile

2021-04-19 Thread Brian Milby via use-livecode
Currently only one at a time, even if it does not render with content covering the whole screen (some full screen modes have black borders) Sent from my iPhone > On Apr 19, 2021, at 11:54 AM, Gabe J via use-livecode > wrote: > > Hey All, > > Is it possible to have more than one stack

Re: Mobile Scroller Advice

2021-04-14 Thread Brian Milby via use-livecode
ller, lock the > screen, resize the image and its group, unlock the screen with a visual > effect like zoom in or whatever. Then recreate the scroller at the new > group size. > > > > Is that what you're asking? > > -- > > Jacqueline Landman Gay | jac...@hyperactivesw.co

Re: Mobile Scroller Advice

2021-04-14 Thread Brian Milby via use-livecode
sking? > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com >> On April 13, 2021 10:31:58 PM Brian Milby via use-livecode >> wrote: >> >> Greetings on this lovely Tuesday evening. I'm in need of a lit

Mobile Scroller Advice

2021-04-13 Thread Brian Milby via use-livecode
Greetings on this lovely Tuesday evening. I'm in need of a little mobile scroller wisdom. I'm working on an app that runs on mobile devices (Apple and Android). We are presenting an image and have enabled the ability for the user to tap on the image to zoom in. Everything is working except the

Re: On the dangers of automated refactoring

2021-04-13 Thread Brian Milby via use-livecode
It was actually more the mis-application of Hungarian-lite. I think it compiled with strict enabled. Sent from my iPhone > On Apr 13, 2021, at 12:50 PM, Richard Gaskin via use-livecode > wrote: > > Andre Garzia wrote: > > > What I didn’t realise was that there was variable shadowing

Re: On the dangers of automated refactoring

2021-04-13 Thread Brian Milby via use-livecode
There is a test framework in the GitHub repository: https://github.com/livecode/livecode/tree/develop/tests Didn’t really see documentation on it, but I’m sure it could be documented and used to generate a robust unit test of our own projects. Plenty of examples there on use, just nothing on

Re: Help! I'm stuck

2021-04-08 Thread Brian Milby via use-livecode
It would be a separate application, but would still be called from the IDE like today. One difference is that as a separate process it would not disrupt the current session inside the IDE. Sent from my iPhone > On Apr 8, 2021, at 1:21 PM, Sean Cole (Pi) via use-livecode > wrote: > > Hi

Re: Find Replace in Script Editor with cr

2021-04-05 Thread Brian Milby via use-livecode
If using Atom would be helpful for your task, then ScriptTracker could facilitate that: https://github.com/bwmilby/scriptTracker It exports all of the scripts of a stack to files and can watch that directory for changes and automatically import the changes back into the stack. (I would be

Re: TreeView Widget Drag and Drop Support

2021-03-31 Thread Brian Milby via use-livecode
Check out this script on GitHub: https://github.com/Himalayan-Academy/Siva-Siva-App/blob/df93a63e40153df6ec4bd29a8571bb0c8a99c2a9/modules/stories/behavior_Stories.livecodescript#L230 The card had a tree widget with 2 levels. The actual items to select are at the second level. It looks like

Re: TreeView Widget Drag and Drop Support

2021-03-30 Thread Brian Milby via use-livecode
This seems like something I could look into. Many of the recent improvements (additions) to that widget are things that I added. On the surface this seems to be not that difficult. Please add a feature request in bugzilla for this. For the second issue, this is easily handled in script.

Re: slow responsiveness on windows - what was it like?

2021-03-30 Thread Brian Milby via use-livecode
The project browser is also known to slow down the IDE when open which is more noticeable on Windows. Sent from my iPhone > On Mar 30, 2021, at 9:24 AM, Tiemo via use-livecode > wrote: > > Thanks Matthias, > > I'll give it a try. I don't have MS defender enabled, but Kaspersky, have to >

Re: Resources folder on mac, and the good old days

2021-03-29 Thread Brian Milby via use-livecode
Once I took a version of the LC IDE and edited one of the files in the package before opening it the first time. It would not open and complained about being corrupt/modified/something (can’t recall exact message). I trashed it and extracted a fresh copy. I launched it once and then quit.

Re: We don't need a Player (was Re: New(?) Idea for Standalones)

2021-03-29 Thread Brian Milby via use-livecode
The days of distributing apps without a cost to the developer are unfortunately over (Mac/Win). If you want someone to be able to open an app on their Mac without jumping through hoops, then you need to be a paid developer and do the sign/notarize dance. LC could help automate parts of the

Re: New(?) Idea for Standalones

2021-03-28 Thread Brian Milby via use-livecode
I think the “attachment” is part of the issue. Save to downloads first? Sent from my iPhone > On Mar 28, 2021, at 6:00 PM, Roger Guay via use-livecode > wrote: > > Nope! Right clicking on a standalone I’m trying to share with my wife on her > iMac w OS 11.2 results in this menu: Open

Re: New(?) Idea for Standalones

2021-03-26 Thread Brian Milby via use-livecode
Couldn’t your stack hide the IDE stuff on launch and just have them install the community IDE? Sent from my iPhone > On Mar 26, 2021, at 10:46 PM, Roger Guay via use-livecode > wrote: > > In the good ol days, I could build a standalone for the Mac, Windows and > Linux and distribute it

Re: Multidimensional array issue

2021-03-09 Thread Brian Milby via use-livecode
Try this: put tArray[“status”][“text”] into tStatus If tStatus is empty then Put tArray[“status”] into tStatus End if Sent from my iPhone ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: tsNet mail message not formatting

2021-03-03 Thread Brian Milby via use-livecode
iPhone > On Mar 3, 2021, at 4:37 PM, J. Landman Gay via use-livecode > wrote: > > On 3/3/21 1:51 PM, Brian Milby via use-livecode wrote: >> If you want to be the most accurate (clear for others reading code) you >> would use the LF constant instead of CR since

Re: tsNet mail message not formatting

2021-03-03 Thread Brian Milby via use-livecode
If you want to be the most accurate (clear for others reading code) you would use the LF constant instead of CR since that is how it actually evaluates. The only way to generate an actual CR within code is to use CRLF (which gets both) or use numtobyte(13). If you export as text, then you get

Re: open secure socket... using certificate

2021-01-26 Thread Brian Milby via use-livecode
ign, which is why I searched the >> archive. I just went to have a look at the code on Github and I can seen >> nothing to suggest that "using certificate and key" is implemented. >> >> The server and client certificate are working in a browser, so the proble

Re: open secure socket... using certificate

2021-01-26 Thread Brian Milby via use-livecode
Did you try with “and key tKey”... it does not look like that part is optional. Sent from my iPhone > On Jan 26, 2021, at 9:07 AM, Bernard Devlin via use-livecode > wrote: > > According to the Dictionary in LC 9.5.1 there is this command: > > open secure socket [from

Re: Comments for Properties in the Property Inspector?

2021-01-23 Thread Brian Milby via use-livecode
Could you either create a “comments” custom property set or a “comments” key? Sent from my iPhone > On Jan 23, 2021, at 8:05 AM, Paul Dupuis via use-livecode > wrote: > > Random Thought of the Day: > > Does anyone else wish that custom properties had an optional comment field > that could

Re: lock screen

2021-01-22 Thread Brian Milby via use-livecode
andler >>>>> >>>>> Code in our main LC app is large enough that there are instances where >>>>> the some code that calls the handler needs to lock the screen and other >>>>> code that call it does not, but the handler always wa

Re: lock screen

2021-01-22 Thread Brian Milby via use-livecode
I’m sure someone else can be more clear, but when the engine gets to an idle state then locks should be cleared. In your example, it would probably clear at the end of that mouseUp handler, but aTest would completely run with the screen locked. Sent from my iPhone > On Jan 22, 2021, at 3:57

Re: I Want to Print Out the Entire "mobile (ad,Control,Set,Get,Do"

2021-01-21 Thread Brian Milby via use-livecode
I think you will need to print the dictionary entries for mobileControlSet and mobileControlGet and mobileControlDo. Sent from my iPhone > On Jan 21, 2021, at 9:31 PM, Sannyasin Brahmanathaswami via use-livecode > wrote: > > It seems to be NOT in the guide. At least printable >

Re: How to find the offset of the first character in a string that's not a tab?

2021-01-21 Thread Brian Milby via use-livecode
unt the loops until char <> tab. :) > Best, > Keith > >> On 21 Jan 2021, at 14:03, Brian Milby via use-livecode >> wrote: >> >> You could also use matchChunk with a regular expression that excludes the >> tab character. >> >> Sent from my

Re: How to find the offset of the first character in a string that's not a tab?

2021-01-21 Thread Brian Milby via use-livecode
You could also use matchChunk with a regular expression that excludes the tab character. Sent from my iPhone > On Jan 21, 2021, at 7:14 AM, Keith Clarke via use-livecode > wrote: > > Ah yes indeed, I’d forgotten I could test with 'put not(tab)’ in the message > box - that certainly proves

Re: mobileControlCreate (set, do, etc)

2021-01-16 Thread Brian Milby via use-livecode
Another idea is to place a graphic where you want the object to be in the IDE so that you can “see” it and then use the rect of the grc to set the rect of the mobile control. I will echo building a smaller test stack. My mobileDemo stack doesn’t take anywhere near that long to build. Sent

Re: POST does not work under lock messages

2021-01-08 Thread Brian Milby via use-livecode
The docs don’t list all messages but do say that navigation and object creation messages are not sent. It gives a couple examples of each. This is in addition to get/set prop. Sent from my iPhone > On Jan 8, 2021, at 6:33 AM, Neville Smythe via use-livecode > wrote: > > It took me a

Re: move cursor to the end of a line in a field

2020-12-23 Thread Brian Milby via use-livecode
To improve on my initial suggestion... select after char -1 of field 1 Sent from my iPhone > On Dec 23, 2020, at 3:22 PM, matthias rebbe via use-livecode > wrote: > > Douglas, > > you can use > > select after line x of fld y > > for this. > For example to place the cursor after line 3

Re: move cursor to the end of a line in a field

2020-12-23 Thread Brian Milby via use-livecode
select char (the number of chars in field 1)+1 to -1 of field 1 Sent from my iPhone > On Dec 23, 2020, at 2:58 PM, Douglas A. Ruisaard via use-livecode > wrote: > > I need to position the cursor at the end of the contents of a single line > field. This can be "manually" done by pressing the

Re: export snapshot woverwrites variable?

2020-12-10 Thread Brian Milby via use-livecode
What about using (tObject)? Since tObject is a container itself, the export put the data in the container directly instead of the referenced container? Sent from my iPhone > On Dec 10, 2020, at 8:56 AM, Klaus major-k via use-livecode > wrote: > > Hi friends, > > just found a very strange

Re: Anyone using Lottie animations?

2020-12-09 Thread Brian Milby via use-livecode
Looks like Skia has support for rendering the format. That could provide a path for implementation inside of LC, but someone that knows a bit more about it would need to take a look to confirm. Sent from my iPhone > On Dec 9, 2020, at 7:57 AM, Graham Samuel via use-livecode > wrote: > > I

Re: Double Clicking on a Field

2020-12-04 Thread Brian Milby via use-livecode
Why do you need to use double tap? The code should distinguish between a scroll and a tap and react appropriately. The mobile scroller code in common use should facilitate this. If a double tap is really needed, then it would probably need to be included in that same behavior script. The

Re: Trying to use the Segmented Control

2020-11-28 Thread Brian Milby via use-livecode
The widget isn’t impacted by lock messages. I have used it in the past to switch cards and just checked for the current card to avoid the loop. That doesn’t sound like it would work here. You could use a script local flag though. Set sNoAction to true before changing the hilight; in your

Re: scrollbars of treeview widget

2020-11-26 Thread Brian Milby via use-livecode
Very easy to implement. I would suggest a setting for the width. I think the intent was to mimic the look of the mobile scroller which isn’t normally grabbed. Sent from my iPhone > On Nov 26, 2020, at 9:18 AM, Klaus major-k via use-livecode > wrote: > > Hi friends, > > FYI: > I just

Re: Livecode server UNIX version (not Linux).

2020-10-29 Thread Brian Milby via use-livecode
What is the workaround that you ended up using? I looked at the code once but it quickly went over my head. I couldn’t see where the fonts were pulled in, at least not where it could be cleanly intercepted. Sent from my iPhone > On Oct 28, 2020, at 11:57 PM, Richard Gaskin via use-livecode

Re: How to divide card with/in 3 vertical lines?

2020-10-28 Thread Brian Milby via use-livecode
Need to either use 1. or for exact (in this case) (cardWidth/4)*3 Sent from my iPhone > On Oct 28, 2020, at 4:16 PM, William de Smet via use-livecode > wrote: > > Hi Scott, > > Line 3 should be at loc 768,384 but is now at loc 770,384 (stack 1024x768). > This is because 'cardWidth/1.33'

Re: VPN and tsNet

2020-10-27 Thread Brian Milby via use-livecode
wrote: > > On 2020-10-27 01:05, Brian Milby via use-livecode wrote: >> I have a fairly simple stack that I use to get FedEx tracking data >> using tsNetPostSync. It has worked fine until a new VPN connection >> was added. The only change that I know is that it no long

VPN and tsNet

2020-10-26 Thread Brian Milby via use-livecode
I have a fairly simple stack that I use to get FedEx tracking data using tsNetPostSync. It has worked fine until a new VPN connection was added. The only change that I know is that it no longer allows a split tunnel so everything must go through the VPN. Assuming that is the issue, how do I

Re: The iOS "Files" folder

2020-10-15 Thread Brian Milby via use-livecode
l > apps access to local data. > > Just my two overpriced eurocents. > > Graham > [sorry if I sent this twice, but the first try seems to have got lost] > >> On 14 Oct 2020, at 16:24, Brian Milby via use-livecode >> wrote: >> >> Apple has already pr

Re: The iOS "Files" folder

2020-10-14 Thread Brian Milby via use-livecode
Apple has already provided a way forward for this. Their current best practice is for apps to store files in their Documents folder in iCloud. This provides seamless access between multiple devices and data security since it is not tied to the app remaining installed. I briefly looked at the

Re: Android Status Bar

2020-10-12 Thread Brian Milby via use-livecode
Hmmm... SivaSiva shows/hides the status bar. Checking the launcher app settings, it does have the status bar set to hidden. So based on that, just use the hidden option and show the status bar as required while inside the app. Sent from my iPad > On Oct 12, 2020, at 9:19 PM, scott--- via

Re: Slightly OT: downloading Xcode

2020-10-03 Thread Brian Milby via use-livecode
One of these download managers may be helpful: https://www.macheat.com/the-5-best-download-managers-for-mac/ Sent from my iPhone > On Oct 3, 2020, at 9:11 AM, Richmond via use-livecode > wrote: > > Well, your "just a typo" meant I downloaded 12.2 beta 2. So, now you'll just > have to wait

Re: Has anyone published an iPhone app that works on iOS 14?

2020-09-28 Thread Brian Milby via use-livecode
There are a few apps that I’ve worked on in the store that still work in iOS 14. Siva Siva is one that you can install and test. Sent from my iPhone > On Sep 28, 2020, at 4:45 AM, Graham Samuel via use-livecode > wrote: > > Sorry if this has been asked before, but a quick search of the

Re: Problem an Repeat Loop

2020-09-28 Thread Brian Milby via use-livecode
The long ID of the image will be different for each card, so this loop won’t work as expected. Also, do you really need to go to the card? You probably could build the object reference to include the card. So you would use: image “slideImage” of cd x fld “mainText” of cd x Sent from my

Re: Create image from SVG widget

2020-09-23 Thread Brian Milby via use-livecode
Sep 23, 2020, at 8:18 AM, Klaus major-k via use-livecode > wrote: > > Hi Brian, > >> Am 23.09.2020 um 14:12 schrieb Brian Milby via use-livecode >> : >> >> It doesn’t require an actual file, just an XML document. > > yes, I understood that al

Re: Create image from SVG widget

2020-09-23 Thread Brian Milby via use-livecode
e >> : >> Hi Brian, >>>> Am 22.09.2020 um 05:38 schrieb Brian Milby via use-livecode >>>> : >>> >>> Here's a link to the post in the archives: >>> http://lists.runrev.com/pipermail/use-livecode/2018-September/250326.html >>

Re: Create image from SVG widget

2020-09-21 Thread Brian Milby via use-livecode
runrev.com> wrote: > > > > Hi Brian > > > >> Am 21.09.2020 um 23:03 schrieb Brian Milby via use-livecode < > use-livecode@lists.runrev.com>: > >> > >> This may be what you're looking for: > >> > >> put drawingSvgCom

Re: Create image from SVG widget

2020-09-21 Thread Brian Milby via use-livecode
at it and see what I come up with. Sent from my iPhone > On Sep 21, 2020, at 5:08 PM, Klaus major-k via use-livecode > wrote: > > Hi Brian > >> Am 21.09.2020 um 23:03 schrieb Brian Milby via use-livecode >> : >> >> This may be what you're looking for:

Re: Create image from SVG widget

2020-09-21 Thread Brian Milby via use-livecode
This may be what you're looking for: put drawingSvgCompile(tFileText) into tDrawing set the text of image "svgImage" to tDrawing http://forums.livecode.com/viewtopic.php?f=10=30441#p163024 The stack in the forum post will let you see the difference in how a particular svg file is rendered in

Re: How Do You Get Filename / Image

2020-09-06 Thread Brian Milby via use-livecode
Looks like you need to specify a full path for the source and destination. on mouseUp local tImageName, tDestinationPath set the itemdelimiter to "/" put (item -1 of the filename of img 1 ) into tImageName put item 1 to -2 of the filename of this stack & "/" into tDestinationPath

Re: Looping though a numerically indexed array

2020-09-02 Thread Brian Milby via use-livecode
As long as the array is indexed starting at 1 with no gaps it should work by looping for each element. I just did a quick test to confirm. I built a 100 element array and it looped in order. I deleted 2 keys and then it didn’t. I then added those 2 missing keys back and it worked again.

Re: oAuth2 seems to log in successfully but the oAuth2 dialog/browser does not disappear, have to click cancel

2020-08-28 Thread Brian Milby via use-livecode
Looking at the RFC8252 Section 7.3, it is proper for the loopback network interface to use HTTP. Is it expecting PKCE (rfc7636)? Sent from my iPhone > On Aug 28, 2020, at 9:37 AM, Brian Milby wrote: > > The way the library works is that it sets up a listener on the IP/port. It > does not

Re: oAuth2 seems to log in successfully but the oAuth2 dialog/browser does not disappear, have to click cancel

2020-08-28 Thread Brian Milby via use-livecode
The way the library works is that it sets up a listener on the IP/port. It does not have any way to handle an encrypted (https) response/connection currently (and I’m not sure how that would even be implemented). The code that handles the response is what closes the browser window that was

Re: Basic question about behaviors

2020-08-24 Thread Brian Milby via use-livecode
Wouldn’t it just be “me”? And “this me” should be the behavior object. Sent from my iPhone > On Aug 24, 2020, at 11:19 PM, prothero--- via use-livecode > wrote: > > I have assigned a behavior to a button. The behavior button/source is on a > different stack. It works fine. But a click on a

Re: Layers in PBrowser

2020-08-14 Thread Brian Milby via use-livecode
Sean I really didn’t mean to imply the issue didn’t exist and was truly attempting to reproduce the environment as closely as possible to see the issue. I went as far as choosing the same object types and structure for the card as in the video including visibility. Is this a stack that

Re: ProtonMail vs Apple

2020-08-14 Thread Brian Milby via use-livecode
“I'm just a citizen, like billions of others, looking at the ever-more-accelerated concentration of wealth, power, and control into the hands of just five people, and wondering if this is really in everyone's best interests...“ Probably not. But anything considered must be done very carefully

Re: ProtonMail vs Apple

2020-08-14 Thread Brian Milby via use-livecode
"Microsoft can do what it likes with THEIR *platform*! if YOU _choose_ not to agree with their policies for use on THEIR platform, YOU can _choose_ to go elsewhere." Absolutely... on THEIR *XBox* platform. Microsoft leveraged anti-competitive practices to squeeze out competition on the

Re: Layers in PBrowser

2020-08-12 Thread Brian Milby via use-livecode
The reason I asked about version and OS is because I watched the video and attempted to replicate the behavior that was shown. I could not do so. I’ve now also tried on my Mac (9.6.0) and am unable to have it do what your video shows. I was always able to drag the control out of the

Re: Layers in PBrowser

2020-08-12 Thread Brian Milby via use-livecode
Which version of LC? I just did a brief test and it worked mostly as expected on 9.6/Win10. Only thing that I couldn’t do was move a button between 2 groups (it would drop into one). I had to move it above the group and then move the group. Sent from my iPhone > On Aug 12, 2020, at 2:45

Re: ProtonMail vs Apple

2020-08-07 Thread Brian Milby via use-livecode
tonmail and > others. If Apple decides iOS is not a place for your software, you're dead. > If Google decides you can't be on Play Store, you can still place your app > on other stores and ship them from your website yourself. > >> On Fri, 7 Aug 2020 at 19:28, Brian Milby via use-livecod

Re: ProtonMail vs Apple

2020-08-07 Thread Brian Milby via use-livecode
Not sure the question is relevant. You chose to buy the iHouse over the droidHouse for some reason. Maybe you wanted to live in the neighborhood with the lowest crime rate. Also, until Apple is forced to allow other companies to make compatible phones, I don’t see how the logic works.

Re: Help me understand infinity

2020-07-29 Thread Brian Milby via use-livecode
This change first appeared in 9.5 DP 1, so it isn’t really new. Sent from my iPad > On Jul 29, 2020, at 7:12 PM, Mark Wieder via use-livecode > wrote: > > On 7/29/20 3:17 PM, Ali Lloyd via use-livecode wrote: > >> Now you can do: >> local tMin, tThisResult >> put infinity into tMin >>

Re: Is "import snapshot" without parameters broken?

2020-07-24 Thread Brian Milby via use-livecode
In 10.15.6 you have to grant explicit permission for LiceCode to capture the screen. Just ran into that yesterday and LC seemed to freeze when I did something that triggered it (clicked the crosshair icon in Navigator). Not sure if it is related (my other computer is still 10.13, never ran

  1   2   3   4   5   6   7   8   9   >