Search found 1168 matches

by Bugala
Wed Mar 06, 2024 9:12 am
Forum: Wishlist
Topic: IsNum command for string commands.
Replies: 2
Views: 300

Re: IsNum command for string commands.

Ah, thanks. Didnt realise there was one. Got thrown off by IsAlNum and was looking for IsNum.
by Bugala
Sun Mar 03, 2024 5:53 pm
Forum: Wishlist
Topic: IsNum command for string commands.
Replies: 2
Views: 300

IsNum command for string commands.

There is
IsAlpha()
IsAlNum()

commands to check if string pos[n] is Alpha or AlphaNumeric character, but there is no option to just check if it is Simply Numeric.

You can get this done by first checking IsAlNum and if true, then checking if IsAlpha is false, but would be better to have simply IsNum()
by Bugala
Sun Mar 03, 2024 1:51 pm
Forum: Wishlist
Topic: SetEventHandler to have certain Function Event.
Replies: 0
Views: 57

SetEventHandler to have certain Function Event.

Not sure this should be added to SetEventHandler necessarily, but maybe have something similar then. Idea being that it would be great if I could have eventhandler in case a specific function is called, or some specific condition is met. It would be even better if it could be triggered by any functi...
by Bugala
Sun Mar 03, 2024 12:25 pm
Forum: Newbie questions
Topic: Missing mouse selection
Replies: 4
Views: 177

Re: Missing mouse selection

Reason for missing mouseclicks could be that your machine is not fast enough. To explain the point very simply. When program executes, it basically goes: DisplayGrid() IsLeftMouse() DisplayGrid() IsLeftMouse() DisplayGrid() IsLeftMouse() ... Now this leftmouse is checked only when it is executing Is...
by Bugala
Sat Mar 02, 2024 8:02 pm
Forum: General programming
Topic: A way to send a table to a button when taking functions from a table list
Replies: 0
Views: 136

A way to send a table to a button when taking functions from a table list

To demonstrate my problem that I am trying to figure out a solution, here is some code: TempVar = "something" Connectors = {} For n=0 To 5 Connectors[n] = {var} Next AllButtons = { [0] = {text="button 1", Func = {OnMouseUp = Function() DebugPrint("Button 1 Clicked") End...
by Bugala
Thu Feb 22, 2024 8:39 pm
Forum: RapaGUI
Topic: Change colors in a button
Replies: 7
Views: 296

Re: Change colors in a button

@JPV

ah, you are right, I missed this was in the RapaGUI subsection.

@papiosaur

My answer was about Hollywood general button commands, not about RapaGUI ones. I haven't used RapaGUI at all, so don't know answer to your question.
by Bugala
Thu Feb 22, 2024 11:35 am
Forum: RapaGUI
Topic: Change colors in a button
Replies: 7
Views: 296

Re: Change colors in a button

Yes and No. Buttons themselves dont have any colors, or text. But in practice you make graphics that represent a button. you have two ways to do it: 1. You can attach your button into some graphics. as example: [id] = MakeButton(id, #LAYERBUTTON, layerid, exactcoll, noautohide, t Whic in practice co...
by Bugala
Wed Feb 21, 2024 10:08 am
Forum: Newbie questions
Topic: Is there way to check mouse movement on edge of screen?
Replies: 5
Views: 350

Re: Is there way to check mouse movement on edge of screen?

Thanks for that OnMouseMove Event, I didn't even realize there is one like that, will use it.
by Bugala
Tue Feb 20, 2024 9:28 pm
Forum: Newbie questions
Topic: Is there way to check mouse movement on edge of screen?
Replies: 5
Views: 350

Re: Is there way to check mouse movement on edge of screen?

Thanks to your suggestion, I figured out another way to get around the problem. Not perfect, but as long as refresh rate is very high, it works, although not perfectly: @DISPLAY {Width=1920, Height=1080, Title = "MouseEdgeScroller", ScaleMode = #SCALEMODE_AUTO, FitScale = True, Sizeable=Tr...
by Bugala
Wed Feb 14, 2024 9:02 pm
Forum: Wishlist
Topic: Spot vs things in Collision check.
Replies: 1
Views: 283

Spot vs things in Collision check.

I noticed Collision check is missing an option to check if a certain spot(X, Y) is colliding, this could be good to add too.
Basically you can use box with width and height of 1 to get this done already, but I suppose it would be faster with actual spot-checking rather than one pixel-sized box.