Search found 9 matches

by TimC
Tue Jan 21, 2025 6:29 pm
Forum: General
Topic: EXE not working properly on tablet
Replies: 1
Views: 68416

EXE not working properly on tablet

Does anyone have experience of using Flowstone-generated EXE files on a tablet? I have a schematic which involves a lot of buttons to press! I've written it so that the GUI looks like a button is pressed when (L) clicked - hold it down, it stays looking pressed, untill released. The schematic works ...
by TimC
Mon Jan 20, 2025 5:10 pm
Forum: General
Topic: Exe on touch tablet not behaving as schematic
Replies: 0
Views: 48119

Exe on touch tablet not behaving as schematic

I've discovered a most frustrating problem! I've produced a complex schematic which involves my own touch buttons, things like on/off, auto/manual and so on. The schematic behaves exactly as I want. You touch a button (click and hold with a mouse), it looks like it's pressed in. Release the mouse ...
by TimC
Sun Oct 13, 2024 1:40 pm
Forum: General
Topic: Any experts in Ruby Class out there?
Replies: 1
Views: 59316

Any experts in Ruby Class out there?

Hello all, and thanks in advance for any help! I've been trying to set up a Ruby Class that can handle and use its own internal arrays. I'm quite a novice at Ruby classes, and the nearest I've got is this:
class Destination
attr_accessor :l

@@letters

def initialize(l)
@l=l
end
### # out if ...
by TimC
Wed Mar 22, 2023 3:21 pm
Forum: General
Topic: Help needed with .exe file issues.
Replies: 12
Views: 23943

Re: Help needed with .exe file issues.

Hello tulamide, I've put together code which works (without using Marshal) but it involves a lot of conversion to strings etc.

I've tried to implement Marshal as you suggest, but cannot get any of it to work!
I have created a Class Button, which includes data about what I want to be drawn, how to ...
by TimC
Tue Mar 07, 2023 8:50 pm
Forum: General
Topic: Help needed with .exe file issues.
Replies: 12
Views: 23943

Re: Help needed with .exe file issues.

When you use loadState and saveState in Ruby, it makes use of the Marshal module. You can use it as well. It generates a binary string, which you can simply save with the File class/IO class and later load in.

Usage:
result = Marshal.dump([myArray, myVar, "some string", in_short_any_object])
some ...
by TimC
Tue Mar 07, 2023 8:48 pm
Forum: General
Topic: Help needed with .exe file issues.
Replies: 12
Views: 23943

Re: Help needed with .exe file issues.


... I must admit I haven't looked much at the preset system, which I will now do, even though It doesn't seem very intuitive! I'll let you know if it works, but I'm a little sceptical as much of the data is arrays of arrays...
TimC
Yes the preset system can only store what I think may be called ...
by TimC
Tue Mar 07, 2023 8:43 pm
Forum: General
Topic: Help needed with .exe file issues.
Replies: 12
Views: 23943

Re: Help needed with .exe file issues.

billv wrote:Try this schematic...it has Preset manager that saves and loads in an exe.
Hope this helps.. :D
http://www.dsprobotics.com/support/view ... 62#p237484
Thanks a lot for that billv, I'll take a look.
I'll have a look at some of your plugins too!

TimC
by TimC
Mon Mar 06, 2023 12:54 am
Forum: General
Topic: Help needed with .exe file issues.
Replies: 12
Views: 23943

Re: Help needed with .exe file issues.

Hi Spogg and thanks for your initial response. You think that was big, you should see the original that it was trimmed out from!
I must admit I haven't looked much at the preset system, which I will now do, even though It doesn't seem very intuitive! I'll let you know if it works, but I'm a little ...
by TimC
Sat Mar 04, 2023 6:58 pm
Forum: General
Topic: Help needed with .exe file issues.
Replies: 12
Views: 23943

Help needed with .exe file issues.

Greeting all, I hope 2023 has been going well for you! It has for me too, EXCEPT for 2 issues:
ISSUE 1 [the most urgent]: I'm making an app. to experiment with input key layouts, sizes and so on. In general the app is working well (sorry, I wont show the whole thing, IP issues!). But I simply CANNOT ...