Search found 561 matches

by Grovkillen
Wed Mar 03, 2021 12:54 pm
Forum: Technical / Scripting
Topic: Add> and Sub> doesn't allow for dynamic variables
Replies: 3
Views: 25

Re: Add> and Sub> doesn't allow for dynamic variables

Ok so it should be removed then? I kinda like to use those two commands.
by Grovkillen
Wed Mar 03, 2021 12:10 pm
Forum: Enhancement Suggestions
Topic: Virtual key name
Replies: 0
Views: 11

Virtual key name

It would make the code more readable if I could have a switch to use the VK_name (list of current VK names) as the OnEvent parameter:

Code: Select all

OnEvent>KEY_DOWN,VK27,0,KeyPress
VK_USE_NAME=1
OnEvent>KEY_DOWN,VK_ESCAPE,0,KeyPress
by Grovkillen
Wed Mar 03, 2021 7:40 am
Forum: Technical / Scripting
Topic: Add> and Sub> doesn't allow for dynamic variables
Replies: 3
Views: 25

Add> and Sub> doesn't allow for dynamic variables

This doesn't work: Let>var_1=0 Let>var_2=0 Let>var_3=0 Let>k=0 Repeat>k Let>k=k+1 Add>var_%k%,1 //Sub>var_%k%,1 Until>k=3 And I need to do this to make it work: Let>var_1=0 Let>var_2=0 Let>var_3=0 Let>k=0 Repeat>k Let>k=k+1 Let>temp_value=var_%k% Add>temp_value,1 Let>var_%k%=temp_value Until>k=3 Let...
by Grovkillen
Mon Feb 22, 2021 1:53 pm
Forum: Technical / Scripting
Topic: Dialog Designer wandering off the screen
Replies: 5
Views: 223

Re: Dialog Designer wandering off the screen

Not pinned and not moved by any script.
by Grovkillen
Fri Feb 19, 2021 11:41 am
Forum: Technical / Scripting
Topic: Dialog Designer wandering off the screen
Replies: 5
Views: 223

Re: Dialog Designer wandering off the screen

Yeah I tried that. Also killing the process... to no avail.
by Grovkillen
Fri Feb 19, 2021 10:51 am
Forum: Technical / Scripting
Topic: Dialog Designer wandering off the screen
Replies: 5
Views: 223

Re: Dialog Designer wandering off the screen

Meta-solution:

Code: Select all

MoveWindow>Dialog Designer,0,0
Problem solved but request is still valid.
by Grovkillen
Fri Feb 19, 2021 10:49 am
Forum: Technical / Scripting
Topic: Dialog Designer wandering off the screen
Replies: 5
Views: 223

Dialog Designer wandering off the screen

I get the problem of the dialog designer sometimes not showing up... It seems like it's open way off the screen. As a note of information; I do have multiple screens in my office but once out and about I only have my small laptop screen. Would it make sense to have the Dialog Designer as a separate ...
by Grovkillen
Fri Feb 19, 2021 10:43 am
Forum: Technical / Scripting
Topic: File Drag and Drop?
Replies: 9
Views: 4179

Re: File Drag and Drop?

Ok, thanks for the feedback. I will have to go the explorer.exe route with having the user drop their file onto the EXE icon in the Explorer. It'll do for now.
by Grovkillen
Thu Feb 18, 2021 11:33 am
Forum: Technical / Scripting
Topic: Dialog already exists error
Replies: 3
Views: 133

Re: Dialog already exists error

Nice to be of assistance :)
by Grovkillen
Thu Feb 18, 2021 10:10 am
Forum: Technical / Scripting
Topic: Dialog already exists error
Replies: 3
Views: 133

Re: Dialog already exists error

Found it.. I wasn't passing the sub variables according to the syntax:

Code: Select all

AddDialogHandler>Dialog1,,OnMouseEnter,MessagePopUp(entering)
AddDialogHandler>Dialog1,,OnMouseLeave,MessagePopUp(leaving)
The funny part is that the script's sub routine still got those parameters using the incorrect syntax.
by Grovkillen
Thu Feb 18, 2021 8:30 am
Forum: Technical / Scripting
Topic: File Drag and Drop?
Replies: 9
Views: 4179

Re: File Drag and Drop?

Any new takes on this? I'm thinking that perhaps we could be allowed to have the dialog registered as a dragdrop target in order to have the file info passed to the drop event?
by Grovkillen
Thu Feb 18, 2021 7:55 am
Forum: Enhancement Suggestions
Topic: Keyboard commands
Replies: 4
Views: 917

Re: Keyboard commands

And I'd like to add to this one:
CTRL+/ (7) = block comment, if no selection; comment out row
If selection, uncomment rows if more than 50% of the selected rows are commented.. else comment them all.
by Grovkillen
Thu Feb 18, 2021 6:56 am
Forum: Technical / Scripting
Topic: Dialog already exists error
Replies: 3
Views: 133

Dialog already exists error

I get the error "A dialog called Dialog1 already exists." when the MouseEnter event is triggered. MWE (minimal "working" example): Dialog>Dialog1 object Dialog1: TForm end EndDialog>Dialog1 AddDialogHandler>Dialog1,,OnMouseEnter,MessagePopUp,entering //AddDialogHandler>Dialog1,,OnMouseLeave,MessageP...
by Grovkillen
Wed Feb 17, 2021 8:16 pm
Forum: Enhancement Suggestions
Topic: Keyboard commands
Replies: 4
Views: 917

Re: Keyboard commands

Thanks for the vote JRL! CTRL+D = copy the line you're on right after the first one and place your caret there. What I mean by this is that you have this scenario: 1:Let>VARIABLE=123 2:Let>ANOTHER | =abc 3:Let>THIRD=1a2vb3c If you have the caret in the second row (example caret position in red) and ...
by Grovkillen
Tue Feb 16, 2021 2:12 pm
Forum: Enhancement Suggestions
Topic: Keyboard commands
Replies: 4
Views: 917

Keyboard commands

I'd love to get these keyboard commands for the IDE: CTRL+D = copy the line you're on right after the first one and place your caret there. CTRL+C = if no selection; copy the row you're on to clipboard CTRL+X = if no selection; cut the row you're on to clipboard CTRL+/ (7) = block comment, if no sel...
cron
Sign up to our newsletter for free automation tips, tricks & discounts