Plus sudo will require authentication, yes? That would not be automated. The
purpose of my function is to be able to detect the default adapter and compare
it to a stored last known adapter to see if it has changed. If it has, I have
my app re-authenticate.
Bob S
On Apr 13, 2021, at 9:06 PM,
How do you tell which is the default adapter?
Bob S
> On Apr 13, 2021, at 8:00 PM, Mark Wieder via use-livecode
> wrote:
>
> On linux it's very easy
>
> sudo arp-scan -l
>
> will give you a nice sorted list.
>
> --
> Mark Wieder
> ahsoftw...@gmail.com
>
>
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
On linux it's very easy
sudo arp-scan -l
will give you a nice sorted list.
--
Mark Wieder
ahsoftw...@gmail.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
I tried that but I don't keep Xcode in the root of the Applications folder
and the stack gave a warning. When I moved it there, the Xcode commands
couldn't find it because I'd set the Xcode default to a copy in a subfolder.
Maybe a future update can determine the user's Xcode location. I have t
Couldn't you search for the ASC provider in the helper stack pressing the
"Loupe" icon in the general settings?
-
Matthias Rebbe
Life Is Too Short For Boring Code
> Am 14.04.2021 um 01:12 schrieb J. Landman Gay via use-livecode
> :
>
> Cool. Thanks. I do keep NotarizationHelper in my plugins
Cool. Thanks. I do keep NotarizationHelper in my plugins folder since I use it
frequently.
I probably will continue with the manual method for a while though, since I have three
different apps to notarize and I have to update the General settings each time. Maybe later
I'll revise your script
Andre:
> Often in LiveCode (and most programming languages to be honest)
> we go coding for a long while and then realise that our code
> need extensive refactoring. We may have repeated a pattern over
> and over again and discovered that we need to change every
> instance of them, or something
On 4/13/2021 2:39 PM, Mark Wieder via use-livecode wrote:
On 4/13/21 8:37 AM, Paul Dupuis via use-livecode wrote:
I find revRefactor (which adds a Refactoring sub-menu under the Edit
menu of the IDE Script Editor) to be a tool that I personally would
like to see better integrated into the IDE.
On 4/13/2021 12:06 PM, Bob Sneidar via use-livecode wrote:
How do you find that? Github?
Don't remember how I found it - I think an announcement by Mark to the
list, but, yup, Github:
https://github.com/mwieder/revRefactor
___
use-livecode mailing
Jacque,
and if put the that NotarizerHelperStack into the plugins folder and if you add
the below code to your stack script
then you can directly code sign and notarize the created macOS standalone right
after it was built. ;)
on standaloneSaved pFolderSavedIn
if the cRevStandaloneSettings["M
On 4/13/21 6:15 AM, William de Smet via use-livecode wrote:
Hi there,
How do I get the selectedText of a native iOS field?
I want to change the color of the text selection in the field.
I think you want "selectedRange" which returns the start index and the length of the text
selected. Judging
Many thanks mark for explaining.
So the IDE is a real 32 bit or a real 64bit application.
Am I understanding it correct that it is the same for the executable an LC
user/devbuilds for Windows? the build of a stack is a real 64bit?
Op di 13 apr. 2021 om 18:09 schreef Mark Waddingham via use-livecod
On 4/13/21 10:43 AM, Keith Martin via use-livecode wrote:
On 13 Apr 2021, at 11:28, Andre Garzia via
use-livecode wrote:
On the other hand, I think that the SB should create standalones that can
actually be deployed, this means that it should be able to handle notarisation
on the mac out-of-
On 4/13/21 9:48 AM, Richard Gaskin via use-livecode wrote:
Andre Garzia wrote:
> What I didn’t realise was that there was variable shadowing happening
> in which handler arguments were named with the same name as script-
> local variables, my smart replacing removed those arguments because
>
On 4/13/21 8:37 AM, Paul Dupuis via use-livecode wrote:
I find revRefactor (which adds a Refactoring sub-menu under the Edit
menu of the IDE Script Editor) to be a tool that I personally would like
to see better integrated into the IDE.
Paul - thanks for the kind words there.
I took most of yo
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 happen
Andre Garzia wrote:
> What I didn’t realise was that there was variable shadowing happening
> in which handler arguments were named with the same name as script-
> local variables, my smart replacing removed those arguments because
> there was no need to redeclare the script-local vars. I didn’t
Hi everyone. I am totally confused by this topic.
I know that I downloaded the LC 9.6.2 RC4 64 bit windows version and Windows 10
,latest update, refuses to run the installer.
I have been watching the list and decided to just wait and see if there would
be a fix for this. I have turned off my McA
On 2021-04-13 16:46, Bob Sneidar via use-livecode wrote:
Hi Mark.
I downloaded LC 9.6.2 for Windows and installed it on a Server 2012
VM. It installed in the Program Files (x86) folder. I was under the
impression that only happens when the app is a 32 bit app.
Then you downloaded the 32-bit in
How do you find that? Github?
Bob S
> On Apr 13, 2021, at 08:59 , Paul Dupuis via use-livecode
> wrote:
>
> On 4/13/2021 11:52 AM, Bob Sneidar via use-livecode wrote:
>> We should have a contest: Who has the biggest code base. Mine's pretty big,
>> but I doubt it's the biggest.:-)
>>
> ~ 8
On 4/13/2021 11:52 AM, Bob Sneidar via use-livecode wrote:
We should have a contest: Who has the biggest code base. Mine's pretty big, but
I doubt it's the biggest.:-)
~ 83,000 lines of Livecode script, not counting 3rd party library stacks
(Wordlib, Spreadlib, lclSpell, ChartMaker) and some c
We should have a contest: Who has the biggest code base. Mine's pretty big, but
I doubt it's the biggest. :-)
Bob S
> On Apr 13, 2021, at 03:48 , David Bovill via use-livecode
> wrote:
>
> I’d be interested to understand the nature of the gazillion stack project to
> see how it compares to
It's nothing short of a miracle that the shot didn't go INTO your foot. :-)
Bob S
> On Apr 13, 2021, at 03:05 , Andre Garzia via use-livecode
> wrote:
>
> Let me tell you folks a recent story in which I tried to do exactly that and
> shot myself on the foot.
__
Hi Mark.
I downloaded LC 9.6.2 for Windows and installed it on a Server 2012 VM. It
installed in the Program Files (x86) folder. I was under the impression that
only happens when the app is a 32 bit app.
Are you implying the standalones are 64 bit but the LC app is 32? If that were
the case,
> On 13 Apr 2021, at 11:28, Andre Garzia via use-livecode
> wrote:
>
> On the other hand, I think that the SB should create standalones that can
> actually be deployed, this means that it should be able to handle
> notarisation on the mac out-of-the-box.
Oh boy, THIS! And everything Richard’
On Windows it's pretty easy. On MacOS it's a little trickier. Here's a function
I wrote to get the default connection, which contains methods for getting the
network adapters for Windows and MacOS. Enjoy:
FUNCTION getDefaultNetwork pMode
-- leave pMode empty for just IP and MAC info. Pass "De
I find revRefactor (which adds a Refactoring sub-menu under the Edit
menu of the IDE Script Editor) to be a tool that I personally would like
to see better integrated into the IDE. This plugin was done by Mark
Wieder and is not an official part of the LiveCode IDE, but it is one
place, I would
Long scripts seems to be the recipe, at least for me.
Bob S
> On Apr 13, 2021, at 03:11 , Andre Garzia via use-livecode
> wrote:
>
> I see it on my two windows machine but never on the mac…. It is intermittent
> and I’m yet to find a recipe, but it is real.
>
>> On 8 Apr 2021, at 18:17, Ma
On 4/13/21 3:05 AM, Andre Garzia via use-livecode wrote:
What I didn’t realise was that there was variable shadowing happening in which
handler arguments were named with the same name as script-local variables
Ouch. Don't do that.
I end up spending most of my coding life refactoring existing
On 2021-04-13 16:15, Mark Wieder via use-livecode wrote:
Do the release notes need updating?
Hah! Yes - we've had a 64-bit windows build (separate installer)
available since 9.5.
Warmest Regards,
Mark.
--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can
On 4/13/21 4:48 AM, Mark Waddingham via use-livecode wrote:
No - its either running as a 32-bit app (if you have installed the
32-bit version of LC) or as a 64-bit app (if you have installed the
64-bit version of LC) - there's no emulation going on - the difference
is the processor mode the ex
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 h
> On Apr 13, 2021, at 5:28 AM, Andre Garzia via use-livecode
> wrote:
>
> I like all that I read here. There are things that are really hard when
> building standalone apps that I don’t think should be handled by LC HQ, such
> as “adding AppleScript dictionary” to your app. This is harder th
I can't speak for others, but I can personally vouch for the authenticity of
that statement 😊
On 2021-04-13, 12:12 PM, "use-livecode on behalf of Andre Garzia via
use-livecode" wrote:
I bet many here never used a unit testing library.
___
Thanks Matthias and Andre for pointing out for these options
Tiemo
-Ursprüngliche Nachricht-
Von: use-livecode Im Auftrag von Andre
Garzia via use-livecode
Gesendet: Dienstag, 13. April 2021 11:38
An: How to use LiveCode
Cc: Andre Garzia
Betreff: Re: Offtopic: Can anybody create a sm
On 2021-04-09 22:25, Bob Sneidar via use-livecode wrote:
Ya so LC for Windows is basically running in an emulator.
No - its either running as a 32-bit app (if you have installed the
32-bit version of LC) or as a 64-bit app (if you have installed the
64-bit version of LC) - there's no emulatio
Hi there,
How do I get the selectedText of a native iOS field?
I want to change the color of the text selection in the field.
How do I adapt this code I made? (this obviously only returns the first
char of the text in red)
-
on changeColor
mobileControlDo "field1", "focus", true
put mobileCo
Peter,
This is neat!
I also have a small test library, but mine is way less complete than yours. I
never released it because it was quite incomplete.
Maybe writing a tutorial or doing a small screencast showing it working might
help people understand why it is important. I bet many here never
Hi Andre
> On 13 Apr 2021, at 18:05, Andre Garzia via use-livecode
> wrote:
>
> We don’t even have unit testing libraries so that we can make sure our code
> works as expected.
I published a simple unit testing library on GitHub but it din’t get any
traction - https://github.com/PeterWAWood/
Hence the value of crowd-funding a version of the LiveCode language for the
Graalvm.
I spend a great deal of my time in LiveCode refactoring and renaming handlers.
I’ve done this not so much because it is useful to my productivity, but because
I see a method in the madness of spaghetti code tha
I like all that I read here. There are things that are really hard when
building standalone apps that I don’t think should be handled by LC HQ, such as
“adding AppleScript dictionary” to your app. This is harder than it seems and
it involves plist manipulation, fancy sdef xml creation, etc. This
I see it on my two windows machine but never on the mac…. It is intermittent
and I’m yet to find a recipe, but it is real.
> On 8 Apr 2021, at 18:17, Mark Wieder via use-livecode
> wrote:
>
> On 4/8/21 9:52 AM, thompsonmichael--- via use-livecode wrote:
>
>> LC normally works lightning fast o
> On 9 Apr 2021, at 20:49, JeeJeeStudio via use-livecode
> wrote:
>
> Of course it's 32bits, even the builds are 32bits on windows except they are
> packed in a 64bit container.
I’m not sure about that because my Surface Pro X can only run x86-32 apps and
it can run LiveCode. If it was some
Hi Folks,
I’ve recently read that long thread that almost got people banned and will not
comment on it. What I want to comment on is about the kernel of the activity
that was mentioned there: refactoring.
Often in LiveCode (and most programming languages to be honest) we go coding
for a long w
Tiemo,
Maybe it is possible to parse the result of
shell(“ipconfig /all”)
To get the same information. I’m not sure which information you’re collecting
but I just run that on my windows and I could see every interface and the info
about them.
Best
A
> On 12 Apr 2021, at 10:43, Tiemo via use-
46 matches
Mail list logo