Search found 366 matches

by PepsiHog
Sun Mar 17, 2019 10:43 pm
Forum: Technical / Scripting
Topic: ReadLn Everything After ":" Colon
Replies: 2
Views: 132

Re: ReadLn Everything After ":" Colon

@MoonSpoon //Read your line. ReadLn>YourPath\filename,3,nLine //Remove everything before colon and the colon itself. RegEx>(.*):(.*),nLine,0,match,nom,1,$2,RestOfLine mdl>%RestOfLine% The quotes create what is called a group. (.*) - This means put everything in a group.(.*=everything) So it does tha...
by PepsiHog
Wed Jan 23, 2019 5:14 pm
Forum: Technical / Scripting
Topic: looking inside multiple subdirectories and copying files
Replies: 6
Views: 523

Re: looking inside multiple subdirectories and copying files

Hi, You will need to add an if statement for what file you are looking for. Insert this directly above ==> // Create the slightest hesitation let>GFL_Type=0 GetFileList>%StartFolder%\*.*,FileList position>namelookingforhere,FileList,1,res if>res>0 // Create a subroutine with what to do when file is ...
by PepsiHog
Sat Sep 29, 2018 3:51 pm
Forum: Technical / Scripting
Topic: This macro gives a different result......
Replies: 5
Views: 544

Re: This macro gives a different result......

Marcus, I understand what you are saying. I expect nothing less from you. Please show me an example. Please help me figure this out. I changed the names to be different, same result. Please show me what to do, so I understand what I am doing wrong. PepsiHog Anyone that sees the error in my ways in m...
by PepsiHog
Thu Sep 27, 2018 10:58 pm
Forum: Technical / Scripting
Topic: Just curious. Why the > after commands?
Replies: 5
Views: 564

Re: Just curious. Why the > after commands?

I misunderstood what you were saying. You first were addressing the question about >. I thought you were addressing the same when you stated "We now have directives...."

PepsiHog
by PepsiHog
Thu Sep 27, 2018 10:36 pm
Forum: Technical / Scripting
Topic: This macro gives a different result......
Replies: 5
Views: 544

Re: This macro gives a different result......

Ok. I re-read your post. It seems you are saying it is intentional. I can't say I understand. You have always made it downward compatible. If the programmer wanted it an empty string, why not leave that up to the programmer? On a lighter note, what is the "better" about this change? Now I have to re...
by PepsiHog
Thu Sep 27, 2018 9:39 pm
Forum: Technical / Scripting
Topic: This macro gives a different result......
Replies: 5
Views: 544

Re: This macro gives a different result......

@Marcus, Please try it yourself. I started working on this macro years ago. In MS12 it works. I assure you, that is not the issue. It assigns it to an array_n, but the original value never changes. Use MS12, do the same as I have done. Then check the value of the original string. It's the same with ...
by PepsiHog
Fri Sep 21, 2018 1:20 am
Forum: Technical / Scripting
Topic: Just curious. Why the > after commands?
Replies: 5
Views: 564

Re: Just curious. Why the > after commands?

@Marcus,
Not that I will ever use it, but now you have me curious. What directives? And how would a user go about using these directives?

I like knowing everything about things I own. It's the knowing.

Thanks.
by PepsiHog
Thu Sep 20, 2018 10:05 pm
Forum: Technical / Scripting
Topic: This macro gives a different result......
Replies: 5
Views: 544

This macro gives a different result......

Hello Everyone, I have MS12 the latest version and MS14 the current version. I was writing (still am) a macro. Below is an excerpt from said macro. I get different results between the two versions of MS. In version 12 my macro works as expected. In MS14 I get an error. Which I tracked down to being ...
by PepsiHog
Thu Sep 20, 2018 7:37 pm
Forum: Technical / Scripting
Topic: Non-Capturing Group (RegEx)
Replies: 0
Views: 659

Non-Capturing Group (RegEx)

Hello Everyone,

I know it is here in the forum, but I can't seem to find it. I haven't done this in a while so I don't remember. I just need to know how to make a group non-capturing.

Thanks for the help.
by PepsiHog
Thu Aug 09, 2018 4:47 pm
Forum: Technical / Scripting
Topic: looking inside multiple subdirectories and copying files
Replies: 6
Views: 523

Re: looking inside multiple subdirectories and copying files

Ok. Well I posted my code so far. It needs work. But it works well enough that you can see the idea. At the top of the script you set the folder location to start at, and the extension you are looking for. I have to go do stuffs, but if you need any more help, let me know. (If you tried pushing stuf...
by PepsiHog
Thu Aug 09, 2018 1:54 pm
Forum: Technical / Scripting
Topic: looking inside multiple subdirectories and copying files
Replies: 6
Views: 523

Re: looking inside multiple subdirectories and copying files

Hello, I've done this before. I mean managing folders in folders. What I did is get a list of folders each time you change into a folder. Then use the While command and loop through the list of folders. I will write some code and post it for you. But for now maybe this gives you the idea. I didn't r...
by PepsiHog
Thu Aug 09, 2018 1:30 pm
Forum: Technical / Scripting
Topic: FindObject
Replies: 3
Views: 417

Re: FindObject

@Marcus, It has a handle. I don't believe it has an object. Does a dos command window have an object? I thought maybe it could be treated as an edit, but I had no luck with that. You were probably distracted or half asleep, because you know all windows have handles. So I guess you meant "object". Or...
by PepsiHog
Thu Aug 09, 2018 1:46 am
Forum: Technical / Scripting
Topic: FindObject
Replies: 3
Views: 417

FindObject

Hello, Curious if there is a solution to this small little problem. I want to send text to a console window. Basically, a window like cmd window in Windows. VLC has what is called a console. I want to send text to the window but like ObjectSendKeys I don't want to have to set focus to the window. I ...
by PepsiHog
Fri Jul 13, 2018 4:32 pm
Forum: The Water Cooler
Topic: Closed Loop water cooling long term reliability?
Replies: 2
Views: 1147

Re: Closed Loop water cooling long term reliability?

This is going to be a real challenge to fix with Macro Scheduler! :lol:
by PepsiHog
Fri Jul 13, 2018 2:09 pm
Forum: Technical / Scripting
Topic: progress bar
Replies: 4
Views: 470

Re: progress bar

The math.

I have the progress bar in the dialog. All I need is the calculation (as close to accurate as possible). I need to be able to calculate how long it will take for a copy, and apply that to how fast the green bar moves across the progress bar.

Thanks.