Search found 413 matches

by bwmilby
Sun Jan 01, 2023 11:45 pm
Forum: iOS Deployment
Topic: Haptic feedback? Visual feedback of a long touch?
Replies: 7
Views: 5855

Re: Haptic feedback? Visual feedback of a long touch?

Have you tried the

Code: Select all

mobileVibrate
command?
by bwmilby
Tue Dec 27, 2022 10:29 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Can I use a Javascript library for non-web app?
Replies: 4
Views: 1553

Re: Can I use a Javascript library for non-web app?

I’ll echo what SparkOut said. I’ll add that the widget can be hidden. I’ve done a test that used some JS libraries but only tested on desktop.
by bwmilby
Sat Dec 24, 2022 12:04 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: stretching two joined fields keeping the join stationary
Replies: 15
Views: 5129

Re: stretching two joined fields keeping the join stationary

A good read. Thank you for including the report link. FWIW the orientationChanged message is sent in a subset of cases where resizeStack is sent. Sometimes that narrow range is useful, but for layout resizeStack will handle more cases, including orientation change. We can view resizeStack as one-st...
by bwmilby
Thu Nov 03, 2022 2:21 pm
Forum: iOS Deployment
Topic: iPhoneSafeAreaInsets
Replies: 32
Views: 21318

Re: iPhoneSafeAreaInsets

One big difference that I notice is that on iOS you can draw behind the furniture (outside safe area, beside notch, under status bar) but those areas are outside the drawable rect on Android. I’ve not pulled up any Android sims with a notch though, so not as sure about them.
by bwmilby
Tue Oct 04, 2022 6:42 pm
Forum: Talking LiveCode
Topic: Using external script only stack as behaviour
Replies: 47
Views: 21084

Re: Using external script only stack as behaviour

The actual problem with your demo stack is that it had the behaviors listed twice in the StackFiles. Once at the root level and once in the folder. This is what prevented them from being found and mapped properly as behaviors. If you delete the entries that are not in a folder, save, quit and relaun...
by bwmilby
Tue Oct 04, 2022 4:38 pm
Forum: Talking LiveCode
Topic: Using external script only stack as behaviour
Replies: 47
Views: 21084

Re: Using external script only stack as behaviour

The problem is that at “preOpenStack” it is too late. Behaviors are resolved when the stack is loaded from disk before any messages are processed. References to objects within the stack require no special consideration. SOS behaviors do. In general, the engine needs to be able to locate the behavior...
by bwmilby
Mon Sep 19, 2022 10:43 pm
Forum: iOS Deployment
Topic: Standalone test on iOS 16 hardware
Replies: 8
Views: 4743

Re: Standalone test on iOS 16 hardware

I have been able to test an app from LC to my iOS 16 iPhone.
by bwmilby
Sat Sep 17, 2022 3:48 am
Forum: Talking LiveCode
Topic: Editing code in external editors (VSCode, Atom, BBEdit etc)?
Replies: 16
Views: 6475

Re: Editing code in external editors (VSCode, Atom, BBEdit etc)?

I export all of my scripts for GitHub tracking but don’t do much of my editing outside of LC. ScriptTracker makes this easy though. It just watches the folder of scripts and updates the object script when it changes. I could edit in anything and scripts would update when saved.
by bwmilby
Sat Sep 03, 2022 1:19 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: DASH docset updated to LC 10 dp4 what yoy
Replies: 37
Views: 13471

Re: DASH docset updated to LC 10 dp4 what yoy

Stam- Very interested. A while back I worked out a mechanism for automatically importing script-only stacks as substacks but got bogged down in automatically exporting changes back to the .livecodescript files. Haven't revisted that in some time now. So if you've got something workable and generic ...
by bwmilby
Fri Aug 19, 2022 11:47 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Click command not working on a remote stack
Replies: 15
Views: 3862

Re: Click command not working on a remote stack

If you are writing a custom companion mobile app then I would change the way of going about it. Use the socket communications but actually reproduce the UI in the mobile app and just send data. Your TV app would provide the screen ID and then when the user entered data it would magically appear in t...
by bwmilby
Fri Jul 22, 2022 6:46 pm
Forum: Talking LiveCode
Topic: Why is the geometry manager still borked in 2021?!
Replies: 93
Views: 40719

Re: Why is the geometry manager still borked in 2021?!

True enough, but the issue should be in the unencrypted IDE LCS code so if I (or anyone else) finds the bug we can post details here for the benefit of the community. Mark’s comments are pertaining to code coming from the community version, but if code is coming from the commercial version then it s...
by bwmilby
Thu Jul 21, 2022 5:16 pm
Forum: Talking LiveCode
Topic: Why is the geometry manager still borked in 2021?!
Replies: 93
Views: 40719

Re: Why is the geometry manager still borked in 2021?!

In my cursory look at the new layout module I think it is more in line with how you think about layout on the web. GM suffers from not handling containers well and does not do flow/wrapping of controls. The glaring GM bug is probably within the community’s ability to suggest a fix. I’ve looked and f...
by bwmilby
Fri Jul 15, 2022 11:31 pm
Forum: Internet
Topic: Post Form Data to Browser Widget
Replies: 15
Views: 7702

Re: Post Form Data to Browser Widget

I’ve done something along the same conceptual lines (MS Access controlling a web site in IE). My approach was to abstract as much as possible and use simple commands to do things like setValue(pObjectRef, pObjectValue) and clickItem(pObjectRef). Should be able to do something similar where the handl...
by bwmilby
Fri Jun 03, 2022 12:00 pm
Forum: Talking LiveCode
Topic: Your computer has run out of memory - yikes!!!
Replies: 13
Views: 4185

Re: Your computer has run out of memory - yikes!!!

“By reference” means that instead of making a copy, that actual variable “reference” (pointer in other languages) is used. This allows changes to the variable inside the handler to be retained. The “@“ in the handler definition is what makes the variable “by reference”. See “pass by reference” in th...
by bwmilby
Fri Jun 03, 2022 2:51 am
Forum: Talking LiveCode
Topic: Your computer has run out of memory - yikes!!!
Replies: 13
Views: 4185

Re: Your computer has run out of memory - yikes!!!

I would suggest changing "buildCommand" to a handler instead of a function. The additional churn of using both a by reference variable but then copying and assigning it probably isn't that good. Since the engine does use "copy on write", memory use may not be an issue but the constant adding/removin...

Go to advanced search