Search found 343 matches

by mightycpa
Fri Mar 19, 2021 2:07 pm
Forum: Technical / Scripting
Topic: passing parameters and compiling
Replies: 9
Views: 5093

Re: passing parameters and compiling

When I want the ini file to be unreadable ....
In this case, I don't, but that's a great tip. Thanks.
by mightycpa
Fri Mar 19, 2021 2:05 pm
Forum: Technical / Scripting
Topic: passing parameters and compiling
Replies: 9
Views: 5093

Re: passing parameters and compiling

I put a number of variables at the top of my scripts that are maintained by INI files.
Yes, it looks like I'm going to have to do something like that, and delete it at the end too.

When you run ExecuteFile> you can't pass a parameter along. You've got to read it from somewhere.
by mightycpa
Fri Mar 19, 2021 1:54 pm
Forum: Technical / Scripting
Topic: passing parameters and compiling
Replies: 9
Views: 5093

Re: passing parameters and compiling

If I compile your script (leaving include parameters empty) then...
I see! said the blind man.

So those parameters mentioned while compiling are the required ones and everything else is optional.

Perfect, thanks.
by mightycpa
Fri Mar 19, 2021 2:07 am
Forum: Technical / Scripting
Topic: passing parameters and compiling
Replies: 9
Views: 5093

passing parameters and compiling

Hi, This works as a non-compiled script if you run it without passing a variable: Assigned>v_test,v_result If>v_result=TRUE MessageModal>%v_test% Else Let>v_test=Default Value MessageModal>no parameter passed, default defined Endif The message box will appear with that message. but if you compile it...
by mightycpa
Fri Mar 19, 2021 1:46 am
Forum: Technical / Scripting
Topic: Launching a script - SOLVED!
Replies: 16
Views: 8702

Re: Launching a script - SOLVED

This ended up being too easy! Thanks to everyone who lent a hand. The solution. This: Run>%COMMAND_LINE% "%v_scp_next_3%" changes to this: ExecuteFile>%v_scp_next_3% Doing this has the added benefit of making the launch script completely unnecessary. The Exit> command that follows this line also shu...
by mightycpa
Thu Mar 18, 2021 8:26 pm
Forum: Technical / Scripting
Topic: Launching a script - SOLVED!
Replies: 16
Views: 8702

Re: Launching a script

Thanks all, with your help, I've been able to get rid of the conflicts I experienced earlier. I also found a couple issues with my earlier scripts, so I have corrected and improved them. Progress! New scripts: launch Let>v_trash= Include>%SCRIPT_DIR%\load_prog_ini.scp Wait>2 Run>%COMMAND_LINE% "%v_s...
by mightycpa
Thu Mar 18, 2021 4:17 pm
Forum: Technical / Scripting
Topic: Launching a script - SOLVED!
Replies: 16
Views: 8702

Re: Launching a script

Hi Grovkillen, yeah, the memory footprint thing is for the uncompiled scripts. The less memory I put on the box, the less I have to pay each month. I'd love to be able to go as low as the bare minimum stated requirements for MS, 1024MB. The actual scripts I'm trying to do this with a fairly lengthy....
by mightycpa
Thu Mar 18, 2021 4:13 pm
Forum: Technical / Scripting
Topic: Launching a script - SOLVED!
Replies: 16
Views: 8702

Re: Launching a script

Good. I would expect them to run.

On my system, they don't. I'm using Windows Server 2008. What OS are you running?
by mightycpa
Thu Mar 18, 2021 3:51 pm
Forum: Technical / Scripting
Topic: Launching a script - SOLVED!
Replies: 16
Views: 8702

Re: Launching a script

Hi Dorian, For the executables, I'm hoping I don't have a problem, but you know, I haven't tried compiling them and seeing if compiled files act the same way, so I'll do that and let you know. As for the uncompiled scp's, I am trying to minimize the memory footprint. These small files are just illus...
by mightycpa
Thu Mar 18, 2021 3:45 pm
Forum: Technical / Scripting
Topic: Launching a script - SOLVED!
Replies: 16
Views: 8702

Re: Launching a script

Marcus,

Please take a look at my second post, specifically item #3. I think I tried exactly as you suggested.
by mightycpa
Thu Mar 18, 2021 12:01 am
Forum: Technical / Scripting
Topic: Launching a script - SOLVED!
Replies: 16
Views: 8702

Re: Launching a script

OK, here you go: https://anonymousfiles.io/YYosoVp8/ 4 files in a zip file: start.scp middle.scp end.scp load_prog_ini.scp What to do: Create a folder C:\MS15\TEST_1 and put all 4 in it. If you don't like that folder, and you want another one, then you have to change the MY_DIR line in start, middle...
by mightycpa
Wed Mar 17, 2021 8:42 pm
Forum: Technical / Scripting
Topic: Launching a script - SOLVED!
Replies: 16
Views: 8702

Re: Launching a script

If I switch over to Win 10 64-bit, can I avoid all this? Is it easier, or will I end up with the same issues?
by mightycpa
Wed Mar 17, 2021 4:46 pm
Forum: Enhancement Suggestions
Topic: Synch Folder with Editor Group Macro list
Replies: 1
Views: 9249

Synch Folder with Editor Group Macro list

When I create a new group, I generally associate that group with a particular folder. I may create scripts to populate the group, or I might import scripts. Over time, the two things may get out of synch, like if I use Windows or even MS to rename a script. Years ago, I tried to synchronize by impor...
by mightycpa
Wed Mar 17, 2021 3:55 pm
Forum: Technical / Scripting
Topic: GFL_SORTTYPE
Replies: 35
Views: 22588

Re: GFL_SORTTYPE

I looked for that, totally missed it. OK, mystery is officially solved.

Thank you both.
by mightycpa
Wed Mar 17, 2021 3:40 pm
Forum: Enhancement Suggestions
Topic: Including Often Used Library Files
Replies: 4
Views: 11528

Re: Including Often Used Library Files

re: Let>LIB_DIR=C:\path\to\library Include>..\file. scp Now that I think about it, the variable doesn't make sense at all. It's MY system, right? Or yours? So that location is not likely to ever change, or if it does, only once in a blue moon. Therefore, I think this makes the most sense; Include>C:...
cron
Sign up to our newsletter for free automation tips, tricks & discounts