Search found 1760 matches

by [-hh]
Mon Oct 15, 2018 9:31 pm
Forum: Raspberry Pi
Topic: Standalone 7.04 on Rpi (Raspbian) not executing
Replies: 10
Views: 99

Re: Standalone 7.04 on Rpi (Raspbian) not executing

Hi sphere, I really doubt that the software clock of a Raspi can time 1 millisecond. There is a python example that also goes in ramps: https://www.rototron.info/raspberry-pi-stepper-motor-tutorial/ They use 208 milliseconds cycles. This will certainly depend on the driver. But with 1 milliseconds i...
by [-hh]
Mon Oct 15, 2018 7:43 pm
Forum: Raspberry Pi
Topic: Standalone 7.04 on Rpi (Raspbian) not executing
Replies: 10
Views: 99

Re: Standalone 7.04 on Rpi (Raspbian) not executing

@Sphere. But had to save to legacy 5.5 in LC704, else it won't open on lc651 i noticed. Yes, but you don't need Unicode for your motor! That's what made the first versions of LC 7 slow. I also noticed that moving the mouse does influence the motor. This shouldn't occur. Don't you use "send in <time>...
by [-hh]
Mon Oct 15, 2018 6:43 pm
Forum: Raspberry Pi
Topic: Standalone 7.04 on Rpi (Raspbian) not executing
Replies: 10
Views: 99

Re: Standalone 7.04 on Rpi (Raspbian) not executing

Don't update. Or the LC IDEs don't run any more 'clean'.
Or use
http://forums.livecode.com/viewtopic.ph ... 53#p140253
by [-hh]
Mon Oct 15, 2018 12:53 pm
Forum: Raspberry Pi
Topic: Standalone 7.04 on Rpi (Raspbian) not executing
Replies: 10
Views: 99

Re: Standalone 7.04 on Rpi (Raspbian) not executing

Hi Sphere, did you compile the standalone on the Raspi? If so, try to compile on a Win/Mac/linux desktop. I had success with all my trials to create standalones when compiling on Mac. But I usually run everything with 6.5.1 from the IDE on the Raspis because the 7.0.4 version (which is the only one ...
by [-hh]
Sun Oct 14, 2018 9:39 pm
Forum: Teaching with LiveCode
Topic: Learn number bases
Replies: 0
Views: 50

Learn number bases

Try this new display of encoded decimals of the time items (hours, minutes, seconds) with kids around 10 years old and older: http://forums.livecode.com/viewtopic.php?p=172308#p172308 You will be surprised: They have, after 10 minutes of exercise no problem with reading and writing to base 15 or 16....
by [-hh]
Sun Oct 14, 2018 9:30 pm
Forum: LiveCode Builder
Topic: Community widgets
Replies: 37
Views: 14514

Re: Community widgets

[#57] Community LCB widget "baseClock" v1.0.5 BaseClock is a widget that displays by special "digits" the time encoded to a number base in range 2-60. Encoded is each of the time items (hours, minutes, seconds). For base 2 this is known as "Binary encoded decimals". The display is unique (I invente...
by [-hh]
Fri Oct 12, 2018 9:34 pm
Forum: Talking LiveCode
Topic: KeysDown misses certain keys?
Replies: 6
Views: 121

Re: KeysDown misses certain keys?

Craig.
This may also depend on keyboard settings (repeat rate and delay) and, was here the reason some time ago, on the hardware: A newer keyboard had better results, especially with a, c, v, x, z and the optionKey.
by [-hh]
Fri Oct 12, 2018 8:21 pm
Forum: Talking LiveCode
Topic: Detecting keyPresses outside of LC
Replies: 6
Views: 121

Re: Detecting keyPresses outside of LC

Craig.

Moreover interesting with the keysDown is the fact that you have the keys recorded even if you catch all other (keyDown, keyUp, rawkeyDown, rawkeyUp, arrowKey, <special keys>) and don't pass them.
by [-hh]
Fri Oct 12, 2018 6:23 pm
Forum: Talking LiveCode
Topic: Detecting keyPresses outside of LC
Replies: 6
Views: 121

Re: Detecting keyPresses outside of LC

Craig. That's not the whole story. The keysDown detects multiple (simultaneous) pressed keys, I think up to 5 plus modifiers. So if you need to detect any keypress of x = charToNum(120) you could write if 120 is among the items of the keysDown then ... That's why I spoke of multiple triggers in the ...
by [-hh]
Fri Oct 12, 2018 3:50 am
Forum: Talking LiveCode
Topic: Detect Key events in background
Replies: 8
Views: 239

Re: Detect Key events in background

send "loopKey" to me in 1 second.
Craig.
Hold (at least on MacOS) the menu of any app open for a short time and your digit clock will be out of seconds-sync with the system time.
by [-hh]
Thu Oct 11, 2018 7:51 pm
Forum: Talking LiveCode
Topic: Detect Key events in background
Replies: 8
Views: 239

Re: Detect Key events in background

@Craig: One of the very rare cases where you are wrong. Recently I did something similar. Here is a complete example code. Say your trigger is the capslockKey. Make a stack with one locked field for testing and save as standalone. on openstack loopKey end openstack on loopKey put the internet date &...
by [-hh]
Thu Oct 11, 2018 6:46 pm
Forum: LiveCode Builder
Topic: Community widgets
Replies: 37
Views: 14514

Re: Community widgets

[#43a] Community LCB widget ClockAround v1.2.5 v1.2.1: Made to a fat widget (for LC 8 and 9) and gave a new name for the tools palette. v1.2.2: Added option to colorise the center (inner face). v1.2.5: Added options for the dots display, text display, context menu and grab. On "Sample Stacks" is th...
by [-hh]
Wed Oct 10, 2018 9:17 am
Forum: LiveCode Builder
Topic: Community widgets
Replies: 37
Views: 14514

Re: Community widgets

[#42a] Community LCB widget SVGText v1.5.2 v1.5.1: Made to a fat widget (for LC 8 and 9) and added a new name naming system**. v1.5.2: Removed flicker of opening. IMPORTANT. The kind of the widget has changed to "community.livecode.hermann.svgtext". You may have to adjust some of your scripts accor...
by [-hh]
Mon Oct 08, 2018 7:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Background color line graph widget
Replies: 5
Views: 493

Re: Background color line graph widget

I have no time for a pull request (probably try to learn in the next weeks), meanwhile you could use the following. Change the ending of the attached file from "zip" to "lce" ( do NOT unzip ). Add the widget: Locate this lce-file with the Extension Manager (use the plus at topright). Restart LiveCod...
by [-hh]
Mon Oct 01, 2018 5:39 pm
Forum: LiveCode Builder
Topic: Community widgets
Replies: 37
Views: 14514

Re: Community widgets

[#56a] Community LCB widget DatePicker v1.0.8 v1.0.8: Added source code (and a new name for the widget in the Tools palette). On "Sample Stacks" is the stack "DatePicker89_v108" available, or download it from http://livecodeshare.runrev.com/stack/903    [#53b] Community LCB widget ColorPicker v1.0....

Go to advanced search