Search found 292 matches

by bwmilby
Sun Feb 10, 2019 5:34 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Header bar widget question
Replies: 7
Views: 1127

Re: Header bar widget question

That convention is very prevalent in widget docs. The word “widget” usually means that you need to properly reference a particular widget as you suggested.
by bwmilby
Tue Jan 29, 2019 10:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: revMail syntax question
Replies: 9
Views: 1358

Re: revMail syntax question

Did you try using a semicolon? I think the mail client is parsing that string.
by bwmilby
Sat Jan 19, 2019 10:38 pm
Forum: Talking LiveCode
Topic: Navigation bar: how to set hilite of item to false?
Replies: 5
Views: 1078

Re: Navigation bar: how to set hilite of item to false?

There is a PR to add this option:
https://github.com/livecode/livecode/pull/6404

You could always pull down the source for the widget and update it for your own use while waiting for it to get published.

The syntax will be:

Code: Select all

set the hilitedItem of widget to 0
by bwmilby
Fri Jan 18, 2019 11:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Resizing iOS
Replies: 5
Views: 984

Re: Resizing iOS

Check out this post: http://forums.livecode.com/viewtopic.php?p=171839#p171839 And this thread from the list: https://www.mail-archive.com/use-livecode@lists.runrev.com/msg97667.html The discussed stack is here: https://milby.us/lc/MobileDemo2.livecode You can build and run that from your device to ...
by bwmilby
Thu Jan 10, 2019 11:56 pm
Forum: Feature Proposals
Topic: Bodymovin AE integration
Replies: 25
Views: 5408

Re: Bodymovin AE integration

I have LC 9.1, but then again I compiled it from source :D
by bwmilby
Tue Jan 08, 2019 5:48 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Easiest way to modify screens for "x iPhone notch"
Replies: 18
Views: 2498

Re: Easiest way to modify screens for "x iPhone notch"

What I meant is that you will need to account for the actual header bar height so the X models will need to have the top of your UI a few pixels lower than non-X models. Likewise, the lowest UI element will need to be a few pixels off the bottom edge for X models. And yes, without adjusting your geo...
by bwmilby
Tue Jan 08, 2019 4:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Easiest way to modify screens for "x iPhone notch"
Replies: 18
Views: 2498

Re: Easiest way to modify screens for "x iPhone notch"

Yes. It isn’t so much the notch area but that the height of the header bar is different. You also have the area at the bottom of the screen that should not be used. On the X models I’m pretty sure that Apple says to leave the header displayed in most cases which makes sense because you already have ...
by bwmilby
Mon Jan 07, 2019 3:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Easiest way to modify screens for "x iPhone notch"
Replies: 18
Views: 2498

Re: Easiest way to modify screens for "x iPhone notch"

I think some amount of design work or resize handler will be required. The aspect ratio is very different on the taller phones so there will need to be additional blank space in the UI. Using showAll (as below) you can design a background image that will have your desired content outside of the stac...
by bwmilby
Wed Jan 02, 2019 3:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Easiest way to modify screens for "x iPhone notch"
Replies: 18
Views: 2498

Re: Easiest way to modify screens for "x iPhone notch"

In order to scale and reposition, you will need to do some math. I’ll need to dig up the list thread on a scale demo stack that I built. The stack will remain at the size as developed but the coordinate system will need to be adjusted to get things visually where you want them. In ShowAll, the top l...
by bwmilby
Thu Dec 27, 2018 12:04 am
Forum: Version Control
Topic: ANN: Script Tracker
Replies: 13
Views: 19174

Re: ANN: Script Tracker

I've posted an updated version on GitHub that adds an index file. Here is the index for ScriptTracker: https://github.com/bwmilby/lc-misc/blob/master/ScriptTracker/ScriptTracker.md I do plan on revising the index a bit (it is inefficient currently since it gets re-written every update), but it does ...
by bwmilby
Thu Dec 20, 2018 3:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rest API Call for Aftership
Replies: 13
Views: 2002

Re: Rest API Call for Aftership

After setting headers as before, should just be:

Code: Select all

get url tUrl
by bwmilby
Thu Dec 20, 2018 7:41 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rest API Call for Aftership
Replies: 13
Views: 2002

Re: Rest API Call for Aftership

Code: Select all

put temp["data"]["tracking"]["id"]
All of the keys are one more level down in the array. Also helpful to insert a breakpoint after the import to examine the actual array.
by bwmilby
Wed Dec 19, 2018 11:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rest API Call for Aftership
Replies: 13
Views: 2002

Re: Rest API Call for Aftership

Try...

put "ABCD" into myData["tracking"]["tracking_number"]

Site is expecting a nested dictionary based on the initial example.

Since the full JSON is provided in the curl example, you could just use that and merge in your tracking number.
by bwmilby
Wed Dec 19, 2018 4:25 am
Forum: Talking LiveCode
Topic: Mobile Sharing an Image via Whatsapp
Replies: 26
Views: 3763

Re: Mobile Sharing an Image via Whatsapp

My guess is that there is an Android API that could be leveraged in the same way as the iOS external. Using the FFI capabilities of LCB a library could be built to allow access to those functions from LCS. See the Toast Notification Library as an example.
by bwmilby
Wed Dec 19, 2018 12:48 am
Forum: Talking LiveCode
Topic: Mobile Sharing an Image via Whatsapp
Replies: 26
Views: 3763

Re: Mobile Sharing an Image via Whatsapp

No problem. I had an idea when I first saw the thread but it took me a bit to locate the correct command.

I think the URL direction is the way for Android. I’m not aware of an external, but with LCB it should be possible.

Go to advanced search