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

Re: This is what happens when a tech-master is asked to write a 'guide'!

2020-07-23 Thread Brian Milby via use-livecode
I wouldn’t expect anyone to need to use that guide. I’m not even sure how you would manually use hand coded LCB bytecode. It probably just needs to be moved to the end and have a note added indicating that is isn’t intended for general use. Sent from my iPhone > On Jul 23, 2020, at 4:18 PM,

Re: OAuth2 invalid_grant: Malformed auth code (Google Sheets API)

2020-07-09 Thread Brian Milby via use-livecode
ense. Thanks for spotting that Brian. >> On 9 Jul 2020, 14:15 +0100, Ben Rubinstein via use-livecode >> , wrote: >> Thanks Brian! >> >> I've patched my copy for now. What a PITA. >> >> Ben >> >>> On 09/07/2020 13:29, Brian Milby via use

Re: OAuth2 invalid_grant: Malformed auth code (Google Sheets API)

2020-07-09 Thread Brian Milby via use-livecode
Check out bug 22557 / PR 7381. Line 247 of oath2.livecodescript need urlEncode removed Sent from my iPad > On Jul 9, 2020, at 7:33 AM, Ben Rubinstein via use-livecode > wrote: > > I had code that did stuff with Google sheets, it worked fine, I haven't used > it for about nine (?) months.

Re: AR in LiveCode Browser?

2020-06-30 Thread Brian Milby via use-livecode
AR QuickLook is probably what is needed on iOS. Introduced at WWDC 2018. I would imagine that it could be done with a widget. Not sure for Android. Sent from my iPhone > On Jun 30, 2020, at 1:10 PM, Dan Friedman via use-livecode > wrote: > > Ikea's app does this. Many other apps also

Re: iOS Browser Widget and javascriptHandlers Update

2020-06-29 Thread Brian Milby via use-livecode
Did you file a bug report? I would not expect it to work like that. Sent from my iPhone > On Jun 29, 2020, at 6:15 PM, Ralph DiMola via use-livecode > wrote: > > Just a warning. I fixed this by deleting and recreating the Browser Widget. > The Widget was created in v9.5.1 and apparently was

Linux OAuth2 (was Browser Widget on Linux: how can it become possible to use?)

2020-06-19 Thread Brian Milby via use-livecode
I think it should be relatively easy to fix the OAuth2 library such that it works on Linux. Currently it does use the browser widget for a better user experience, but it should be able to launch the URL and use the system's default browser. Is there any interest in a PR for that type of fix for

Re: Yet more iOS deployment heartache - finding Xcode SDKs

2020-06-16 Thread Brian Milby via use-livecode
You just point to the Xcode binary.  You don’t navigate to the actual SDK located within. Thanks, Brian On Jun 16, 2020, 5:41 PM -0400, Graham Samuel via use-livecode , wrote: > Oh Heck - Xcode is so huge that it is quite a proposition to download yet > another copy here in the countryside. Oh

Re: Moving object out of a group

2020-06-15 Thread Brian Milby via use-livecode
If the group is expanded in the Project Browser, then it lands inside the group.  If the group is collapsed/closed then it will move between groups. Thanks, Brian On Jun 15, 2020, 2:49 PM -0400, Alex Tweedly via use-livecode , wrote: > two possible, but not great, answers ... but (something

Re: What have I done now ? (aka CR and LF confusion)

2020-05-28 Thread Brian Milby via use-livecode
Just changes CR to LF. 2 files updated. https://github.com/livecode/livecode/pull/7214/files On Thu, May 28, 2020 at 12:10 PM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Alex Tweedly wrote: > > > Re. a PR to change it, it does seem it will run into concerns about

Re: What have I done now ? (aka CR and LF confusion)

2020-05-28 Thread Brian Milby via use-livecode
to get the sane behaviour > > but continue to do > >put tData into URL "file:tiny.txt" to get the existing behaviour > > To me, it feels like a better self-documenting case - binfile vs > textfile, rather than binfile vs file. > > Alex. > > > On

Re: What have I done now ? (aka CR and LF confusion)

2020-05-27 Thread Brian Milby via use-livecode
You need to use binfile on Mac to get sane line endings.  I have a PR to fix, but doubt it will get merged. On Mac/Windows, file will convert line endings to what LC thinks is the native one for the OS.  CRLF for Windows and CR for Mac (the real CR, not the one that LC uses internally where CR

Re: [ANN] Release 9.6.0 RC-1

2020-05-11 Thread Brian Milby via use-livecode
Here are the 2 options: 1. Install Xcode from the Apple App Store when the latest Xcode and latest LiveCode versions are compatible. Disable automatic updates. Whenever Apple updates Xcode, update only if compatible with the current version of LiveCode that you are using. 2. Download and

Re: Group resizing.

2020-05-03 Thread Brian Milby via use-livecode
Do you have the group size/position locked (lockLocation property)? If not, moving a control could change the rect. Thanks, Brian On May 3, 2020, 10:28 AM -0400, Håkan Liljegren via use-livecode , wrote: > You probably need to lock messages in the beginning of your resizeControl. > Otherwise

Re: Three very simple questions

2020-04-28 Thread Brian Milby via use-livecode
Correct about the guide.  A PDF is included which can be searched (help... user guide).  There is a bug about the guide search.  It is probably going to take JavaScript though. Thanks, Brian On Apr 28, 2020, 3:44 PM -0400, Graham Samuel via use-livecode , wrote: > Bill, I think you’re right

Re: Another widget grumble

2020-04-28 Thread Brian Milby via use-livecode
wrote: > > On 28/04/2020 13:38, Brian Milby via use-livecode wrote: > > For any that are part of the main product, a PR to add that feature > would not be very difficult. If I get some time I will take a look. I do > agree that a distinct label would be a good idea for native control

Re: Mobile screen sizes - another naive question

2020-04-28 Thread Brian Milby via use-livecode
On the MobileDemo stack, there are a couple scripts that would be useful. https://github.com/bwmilby/mobileDemo/tree/master/mobileDemo_Scripts stack_MobileDemo_button_id_1024 stack_MobileDemo_card_id_1002 The button script is a behavior applied to 2 groups on the card. There are 6 buttons that

Re: Another widget grumble

2020-04-28 Thread Brian Milby via use-livecode
For any that are part of the main product, a PR to add that feature would not be very difficult.  If I get some time I will take a look.  I do agree that a distinct label would be a good idea for native control widgets. Thanks, Brian On Apr 28, 2020, 8:23 AM -0400, Graham Samuel via

Re: Which git service suits a LiveCoder best?

2020-04-27 Thread Brian Milby via use-livecode
ScriptTracker isn’t necessarily incompatible with Levure, but if using that framework as intended then all of the scripts would be in script only stacks as behaviors which would make it unnecessary. I have thought about setting up a hybrid project as a test but never have gotten around to

Re: What is a real?

2020-04-25 Thread Brian Milby via use-livecode
In your initial example, they are all strings.  1.1+0 would be strictly a real.  What is troubling is that I’m seeing that 1+200 is not strictly an integer yet the docs say it should be. Thanks, Brian On Apr 25, 2020, 12:06 PM -0400, Mark Wieder via use-livecode , wrote: > On 4/25/20 7:40 AM,

Re: Groups placed on cards

2020-04-24 Thread Brian Milby via use-livecode
Is the group getting a new object ID?  With the place command it should not and you only really have one group.  It will appear on each card that it is placed on.  You do not need to select background behavior, you just need to make the group shared. Thanks, Brian On Apr 24, 2020, 4:01 PM

Re: Which git service suits a LiveCoder best?

2020-04-23 Thread Brian Milby via use-livecode
New dedicated repo is located at: https://github.com/bwmilby/scriptTracker Thanks, Brian On Apr 24, 2020, 12:02 AM -0400, Mark Wieder via use-livecode , wrote: > On 4/23/20 6:58 PM, Brian Milby via use-livecode wrote: > > My scriptTracker plugin is an easy way to get the scripts ou

Re: Which git service suits a LiveCoder best?

2020-04-23 Thread Brian Milby via use-livecode
My scriptTracker plugin is an easy way to get the scripts out as text files for use with git (binary stack stays the same, plugin can automatically export scripts on every save of the stack) Thanks, Brian On Apr 23, 2020, 9:20 PM -0400, doc hawk via use-livecode , wrote: > Andreas announced, >

Re: Which git service suits a LiveCoder best?

2020-04-22 Thread Brian Milby via use-livecode
All of my LC stuff is on GitHub (bwmilby).  I’m primarily Mac and use Atlassian’s Sourcetree to interact with my repositories.  I use my own ScriptTracker tool to export the scripts of stacks so I can track the changes. Thanks, Brian On Apr 22, 2020, 4:46 AM -0400, Andreas Bergendal via

RE: Issues with Mobile Native controls

2020-04-21 Thread Brian Milby via use-livecode
I’m pretty sure the answer is no.  It does not work on the included widgets. Thanks, Brian On Apr 21, 2020, 6:38 PM -0400, Ralph DiMola via use-livecode , wrote: > Does "lock messages" help here? I don’t know if it works for widgets? If so > you could do this: > > Lock messages > set the

Re: What makes everything on a card unresponsive?

2020-04-20 Thread Brian Milby via use-livecode
Look into the log command.  When you disable that, there is no performance impact and you don’t need to remove all of the individual calls. Thanks, Brian On Apr 20, 2020, 5:04 PM -0400, scott--- via use-livecode , wrote: > (requires the LC Business version) > > > On Apr 20, 2020, at 11:25 AM,

Re: Issues with Mobile Native controls

2020-04-20 Thread Brian Milby via use-livecode
Icons can be updated to anything you want. See this thread about the SVG Icon Tool that I developed. The package on my website has a large number of icons included that you can browse and combine into your own Icon Family. http://forums.livecode.com/viewtopic.php?f=10=30411 Once you change the

Re: md5Digest gives different results Mac vs Windows LC 9.5.1

2020-04-19 Thread Brian Milby via use-livecode
Try this: put 0 into x;put binaryDecode("h32",the md5digest of "LiveCode",x);put x You will get the same on both platforms. On Sun, Apr 19, 2020 at 5:13 PM Bill Vlahos via use-livecode < use-livecode@lists.runrev.com> wrote: > Well earlier versions of LiveCode gave the same results on Mac and

Re: Error in evaluatejavascript with widget browser only on iOS and Livecode > 9.06

2020-04-17 Thread Brian Milby via use-livecode
Have you tried without the wait? Thanks, Brian On Apr 17, 2020, 2:06 AM -0400, Ludovic THEBAULT via use-livecode , wrote: > Hello, > > > I’ve a strange error : > > I have an application where you can change the GPS coordinates from a marker > on a map, in a browser widget. > For this I use the

Re: Even Distribution

2020-04-16 Thread Brian Milby via use-livecode
It was already mentioned somewhat, but you need some sort of weight metric for each job.  Save the “smallest” job.  For each driver, assign the largest and smallest job remaining.  When done, add the weight for each driver and give the remaining job to the one with the least work. Thanks,

Re: Making an iOS app look like one

2020-04-16 Thread Brian Milby via use-livecode
, wrote: > On 4/16/20 2:00 PM, Brian Milby via use-livecode wrote: > > The ability to create additional SVG Icon Libraries is something that I > > helped get done a while back. Here's a thread with a stack that I > > developed that helps organize libraries: > > I sh

Re: Making an iOS app look like one

2020-04-16 Thread Brian Milby via use-livecode
The ability to create additional SVG Icon Libraries is something that I helped get done a while back. Here's a thread with a stack that I developed that helps organize libraries: http://forums.livecode.com/viewtopic.php?f=10=30411 I need to take another look at it now that we have the ability

Re: Keyhole effect?

2020-04-14 Thread Brian Milby via use-livecode
We had a discussion in 2018 about using a hex shaped grc to split up an image (started by Richmond). The key line there was: set the backPattern of grc "hex" to the ID of img "box" Since attachments and stacks were involved, I'm pretty sure it took place on the forums. I'm not sure if this

<    1   2   3   4   5   6   7   8   9   10   >