Search found 11517 matches

by Klaus
Sun Apr 05, 2020 3:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: video player stops playing videos in list
Replies: 8
Views: 122

Re: video player stops playing videos in list

Please tell us how you script the filenames/show us your script(s)! I suspect this is a pathname issue. Is this a standalone or does this also happen in the IDE? If runtime, how do you add your movies to the runtime? Via the "Copy files" tab in the "Standalone Application Settings"? Then you will fi...
by Klaus
Sun Apr 05, 2020 3:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Isn't it possible to set Cmd-Shift-1 as keyboard shortcut for a menu item?
Replies: 3
Views: 55

Re: Isn't it possible to set Cmd-Shift-1 as keyboard shortcut for a menu item?

On a german keyboard:
SHIFT-1 = !
SHIFT-2 = "

So there is no CMD-SHIFT-1 actually, but CMD-!, maybe that is the reason?
by Klaus
Sun Apr 05, 2020 1:31 pm
Forum: iOS Deployment
Topic: Best Folder to store Apps Database
Replies: 2
Views: 85

Re: Best Folder to store Apps Database

It is definitvely -> specialfolderpath("documents")
by Klaus
Sat Apr 04, 2020 8:16 am
Forum: MergEXT
Topic: Mergext install in Livecode 9 Indy
Replies: 2
Views: 112

Re: Mergext install in Livecode 9 Indy

Hi Val, welcome to the forum! If you have installed the INDY version on a Mac, then you also installed the externals, means they only run on a Mac and iOS. Hint: Some MERG-externals are only available in the BUSINESS version on LC. Look into the dictionary the "Version" will tell you where it will r...
by Klaus
Fri Apr 03, 2020 1:20 pm
Forum: Talking LiveCode
Topic: Wait until group is hidden
Replies: 2
Views: 144

Re: Wait until group is hidden

Hi anonimus, welcome to the forum! Since the ASK and ANSWER dialogs are MODAL, this will happen automatically! ... dothis dothat answer "Hi there!" donanotherthing ... You will see the dialog and the next handler -> doanotherthing will only be executed AFTER the user has clicked OK in the Answer dia...
by Klaus
Thu Apr 02, 2020 8:21 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cancel a Timer action on Card Change?
Replies: 2
Views: 118

Re: Cancel a Timer action on Card Change?

Hi bmcgonag, please look up terms (like SEND) in the dictionary if they do not work as YOU exspected! :D You need to fill your myPendingMessages variable at some point or there will be nothing to cancel in your closecard handler! global myPendingMessages ... put the label of button "UpdateTimeSel" o...
by Klaus
Thu Apr 02, 2020 8:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: repeat
Replies: 23
Views: 476

Re: repeat

Okie Dokie!
Hint: If you don't have an ELSE case, you don't need to mention it :D

Code: Select all

...
##if aMoney > 9
##   then
##      enable btn "levelUpFa"
##   else
##   end if
...
if aMoney > 9 then
      enable btn "levelUpFa"
end if
...
by Klaus
Thu Apr 02, 2020 7:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: repeat
Replies: 23
Views: 476

Re: repeat

Hi Tim,

I am not upset, you will notice if I am! :D
It is just about the clearness of this forum, sorry if I might have sounded too harsh.


Best

Klaus
by Klaus
Thu Apr 02, 2020 7:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: repeat
Replies: 23
Views: 476

Re: repeat

Hm, let me see... Maybe remove the givemoney handler from the button and put it into the stack script and let it accept one parameter, so you can call it from everywhere. global give_money_id ## So we can pass any number (also negative numbers like -10) command give_me_your_money the_amount_of_money...
by Klaus
Thu Apr 02, 2020 6:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: repeat
Replies: 23
Views: 476

Re: repeat

Hallo Klaus! in my game, there is a level system. when you have 10 money, the btn levelUpFa is enabling. you click it, you loose 10 money, and you earn +1 money each second. i did it with my old code, but with yours i dont really know where to check my money ect..can you help me? thanks kelyan Hm, ...
by Klaus
Thu Apr 02, 2020 6:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: repeat
Replies: 23
Views: 476

Re: repeat

Hi Tim,
snowfun wrote:
Thu Apr 02, 2020 4:59 pm
The following slightly ...
could you please create a new thread for your question next time and not hijack another one like this?
Thank you!


Best

Klaus
by Klaus
Thu Apr 02, 2020 2:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: repeat
Replies: 23
Views: 476

Re: repeat

Hi kelyanok. hello klaus! you are a god! no, I'm a german! :-D ill try to understand how this works otherwise thats cheating :D Please ask if something is not clear! oh and how do you stop it? :? Why stop a money giving machine? :shock: Hehe, you can use the CANCEL part any time whenever you want to...
by Klaus
Thu Apr 02, 2020 1:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: repeat
Replies: 23
Views: 476

Re: repeat

Hi kelyanok, hello klaus! its the option 2. the player presses a button, waits 1 sec and earns 1 coin, waits 1 sec, earns 1 coin ect... i still didnt found my answer, ill maybe modify my game or something. thanks! oh, easy money! :-) OK, in that case just omit the mouse = up part, but memorize the I...
by Klaus
Wed Apr 01, 2020 4:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: repeat
Replies: 23
Views: 476

Re: repeat

Hi kelyanok, important, the correct syntax in your example is: ... repeat with X = 1 to 10 ## or just: repeat 10 ... I wonder why LC did not complain with your syntax!? :-) Please provide a bit more info: 1. Does the user need to keep the mouse pressed (= down) to get the money every one second? 2. ...

Go to advanced search