Search found 93 matches

by SWEdeAndy
Wed Mar 30, 2022 2:23 pm
Forum: iOS Deployment
Topic: IOS submission to App Store
Replies: 16
Views: 2275

Re: IOS submission to App Store

So, I’m available for discussing possible ways to offer this service. There is one basic condition though, to even start talking: You must possess an iOS deployment license for LiveCode. I do, of course, but I would be in breach of the LiveCode End User License Agreement if I offer deployment servic...
by SWEdeAndy
Fri Mar 25, 2022 9:05 pm
Forum: iOS Deployment
Topic: IOS submission to App Store
Replies: 16
Views: 2275

Re: IOS submission to App Store

@dalkin, I tried sending you a PM regarding this a few days ago, but not sure if it reached you?
by SWEdeAndy
Thu Mar 17, 2022 7:19 pm
Forum: Off-Topic
Topic: Comparison with Xojo . . .
Replies: 41
Views: 9791

Re: Comparison with Xojo . . .

stam wrote:
Thu Mar 17, 2022 11:21 am
It's a beautiful city when it's sunny and warm (maybe 20 days a year!) but back in the late 80s/early-mid 90s [...]
Oh, it's not so bad really. Like last year, we had a really nice summer then. I mean, it was on a Saturday and all! :P
by SWEdeAndy
Sun Mar 13, 2022 4:33 pm
Forum: HTML5
Topic: Word Helper Web App
Replies: 9
Views: 1273

Re: Word Helper Web App

Heh, I also made one a while back. :D I use it almost every day, if I get stuck. It works for Swedish variants too.
https://wheninspace.com/wordle/WordleHelper.html
by SWEdeAndy
Thu Feb 10, 2022 11:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Assigning a keyboard shortcut to a button
Replies: 64
Views: 18303

Re: Assigning a keyboard shortcut to a button

richmond62 wrote:
Thu Feb 10, 2022 11:09 am
Obviously the altKey blocks keysDown.
When used in a keyDown handler, yes. It works fine in a rawKeyDown handler, though. Good to know!
by SWEdeAndy
Thu Feb 10, 2022 11:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Assigning a keyboard shortcut to a button
Replies: 64
Views: 18303

Re: Assigning a keyboard shortcut to a button

glenn9 wrote:
Thu Feb 10, 2022 10:27 am

Code: Select all

if the altkey is down and the keysdown is 115,0 then
...is where it goes wrong. At least on my Mac keysDown is not 115,0 when pressing alt + s, it's 115,65513.

If I change the line to

Code: Select all

if the altKey is down and item 1 of the keysDown is 115 then
it works for me, the answer dialog pops up.
by SWEdeAndy
Fri Feb 04, 2022 10:51 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: delete variable arrayname does not work
Replies: 7
Views: 1007

Re: delete variable arrayname does not work

Sorry, I see now that this happens on Mac too. When I tested before, I actually put something into the variable first. The error note seems logical to me though: Variables do not need to be explicitly declared, but you can't delete them until they actually exist. And they don't exist until you refer...
by SWEdeAndy
Thu Feb 03, 2022 7:50 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Resize-aware fields?
Replies: 7
Views: 969

Re: Resize-aware fields?

But you don't have to list each field in the resizeStack handler. If you set a custom property on each relevant field (e.g. at the same time you set it's behavior), then you can have this simple run-through in the resizeStack handler: repeat with i=1 to number of fields of card "X" if the cDynamicTe...
by SWEdeAndy
Thu Feb 03, 2022 7:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: delete variable arrayname does not work
Replies: 7
Views: 1007

Re: delete variable arrayname does not work

I can confirm that in 10.0 (dp1) on Mac it works as expected, no need to declare the variable.
(Although I've never before used "delete variable", only "delete local" and "delete global". But all of them work for me when testing.)

You don't have Strict Compilation Mode on, by any chance?
by SWEdeAndy
Thu Feb 03, 2022 10:38 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sound from middle
Replies: 2
Views: 552

Re: Sound from middle

If you are using the player object (desktop) then look up playSelection, startTime and endTime in the LC dictionary. Set the playSelection to true and then set startTime and endTime, to make the player only play the intervals in between. The number of intervals per second is specified by the player'...
by SWEdeAndy
Wed Feb 02, 2022 5:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Tooltip
Replies: 12
Views: 1670

Re: Tooltip

Maybe this could work: In the card script: command setMyTooltip pID,pText set the text of pID to pText if pText is empty then set the fieldTextColor of pID to black ## The user can type something else set the fieldTextColor of pID to grey ## Or the RGB code of the colour you prefer for the tooltip e...
by SWEdeAndy
Mon Jan 24, 2022 9:39 pm
Forum: Off-Topic
Topic: What does 'Klarna' mean?
Replies: 1
Views: 869

Re: What does 'Klarna' mean?

Well, the word "Klarna" in Swedish, means clear up or clarify. What the company with that name does is to some extent described in your quote. Their business model is to encourage people to 'buy now, pay later' and then make money off chasing after the people who fail at the 'pay later' part. They i...
by SWEdeAndy
Thu Jan 20, 2022 8:54 am
Forum: Talking LiveCode
Topic: Filtering question
Replies: 19
Views: 2647

Re: Filtering question

Thank you very much again for this beautiful piece of code. I join in the praising - that was an awesome solution, Dick! I'll remember that method for future cases. I think a Wordle solver would be a great case study as a LiveCode project. The above is already a start, and then increasingly complex...
by SWEdeAndy
Tue Jan 18, 2022 2:14 pm
Forum: Talking LiveCode
Topic: Filtering question
Replies: 19
Views: 2647

Re: Filtering question

Here's a slightly modified version of my first function, which should work in any version of LC: function runFilter pString,pList repeat for each line tLine in pList if myFilter(pString,tLine) then put tLine & cr after tFilteredList end repeat return tFilteredList end runFilter I guess it's slower t...
by SWEdeAndy
Tue Jan 18, 2022 8:45 am
Forum: Talking LiveCode
Topic: Filtering question
Replies: 19
Views: 2647

Re: Filtering question

Here's what I would do: function runFilter pString,pList filter lines of pList where myFilter(pString,each) ## 'Each' automatically refers to each line return pList end runFilter function myFilter pString,pLine repeat for each char tChar in pString if tChar is not in pLine then return false ## It fo...

Go to advanced search