Search found 1024 matches

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: 1636

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: 7
Views: 3464

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: 7
Views: 3464

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: 7
Views: 3464

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: 7
Views: 3464

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: 7479

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: 1621

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: 1621

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: 7479

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: 14
Views: 19157

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: 1621

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: 14
Views: 19157

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: 14
Views: 19157

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...
by Grovkillen
Tue Jan 05, 2021 8:40 pm
Forum: Technical / Scripting
Topic: Get the parent directory path of the exe file
Replies: 3
Views: 2748

Re: Get the parent directory path of the exe file

This is how I do it: SRT>GET_ROOT_PATH Let>TEMP=%SCRIPT_DIR% Separate>TEMP,\,TEMP_ARRAY Let>ROOT_PATH= Let>k_stop=TEMP_ARRAY_count-ROOT_PATH_STOP Let>k=0 Repeat>k Let>k=k+1 Let>TEMP_LEVEL=TEMP_ARRAY_%k% ConCat>ROOT_PATH,TEMP_LEVEL IfNot>k=k_stop ConCat>ROOT_PATH,\ Endif> Until>k=k_stop MidStr>ROOT_P...
by Grovkillen
Mon Jan 04, 2021 3:23 pm
Forum: Technical / Scripting
Topic: Script on Dropbox causes occasional access violation
Replies: 16
Views: 10182

Re: Script on Dropbox causes occasional access violation

Yep, the delete part of the save is the culprit here. I think it's an easy fix. But like you I have disabled the backup feature since Dropbox is allowing me to have "version control". I've had Dropbox for many years and opted for the "pack rat" feature which allows for unlimited versions instead of ...
cron
Sign up to our newsletter for free automation tips, tricks & discounts