Search found 493 matches

by PepsiHog
Tue Dec 22, 2020 8:58 pm
Forum: Technical / Scripting
Topic: Long startup .exe
Replies: 9
Views: 1037

Re: Long startup .exe

Hello, Just reading this post, I thought maybe the problem is really it's running too fast. Have you tried adding a delay as the first line? Not much just maybe .5 or .2 (wait>.2) You may also want to add a ridiculous delay, just for testing purposes. You could also add a mdl> at the start so you ca...
by PepsiHog
Tue Dec 22, 2020 8:42 pm
Forum: Technical / Scripting
Topic: GetProcessIds never sets an empty array if no PIDs are found
Replies: 2
Views: 362

Re: GetProcessIds never sets an empty array if no PIDs are found

Yeah, I requested years ago for there to be a system variable to make results equal nothing instead of %something%. But Marcus has yet to "make it so". (To my knowledge.)
by PepsiHog
Tue Dec 22, 2020 8:29 pm
Forum: Technical / Scripting
Topic: GetProcessIds never sets an empty array if no PIDs are found
Replies: 2
Views: 362

Re: GetProcessIds never sets an empty array if no PIDs are found

Hi Grovkillen,
Will this work for you?

Code: Select all

GetProcessIds>iexplore.exe,array

ArrayCount>array,array_count

If>array_count=0
  mdl>//this will not be executed if no PID is found...
Endif>

Hope so....
PepsiHog
by PepsiHog
Tue Dec 22, 2020 8:17 pm
Forum: Technical / Scripting
Topic: Consume a result
Replies: 11
Views: 854

Consume a result

Greetings, I've done this before, but it's been so long, I forget how it's done. let>Numbers=23:36;41:33;10:49;41:33;17:30;24:37; RegEx>\b(\d\d?)\b(?=.*\b\1\b),Numbers,0,matchA,nomA,0 In the above script, the number 33 repeats. I am trying to remember how to get RegEx to consume one of the repeated ...
by PepsiHog
Sat Dec 19, 2020 6:25 pm
Forum: Technical / Scripting
Topic: Get list of files
Replies: 2
Views: 297

Re: Get list of files

@hagchr,
Very cool! Thanks a bunch. I have no clue what you did here. Never heard of it. I love it. I will have to study it and increase my knowledge of RegEx.

Thanks,
PepsiHog

[edit] - Ok. In my help it's called or explained as "one character except" Will keep this in mind. Thanks again.
by PepsiHog
Sat Dec 19, 2020 4:13 pm
Forum: Technical / Scripting
Topic: Get list of files
Replies: 2
Views: 297

Get list of files

Greetings, I have been trying to get a list of files on my desktop. I move scripts that I am currently working on, onto my desktop. So I get these files on my desktop, .000 and .fol. I have been trying to write a RegEx to get only files with an extension containing only numbers. Sounds so simple, ri...
by PepsiHog
Tue Dec 08, 2020 7:15 pm
Forum: Technical / Scripting
Topic: Riddle me this.....
Replies: 4
Views: 547

Re: Riddle me this.....

@Grovkillen, Yes. And that works. I understand doing that for a long argument, but makes little sense to me for a short one. Thanks to you and JRL for the help. I'd swear I've done this before with no problem, but maybe I'm wrong. Correction. I've used a let>Pattern string with just the argument as ...
by PepsiHog
Tue Dec 08, 2020 1:07 am
Forum: Technical / Scripting
Topic: Riddle me this.....
Replies: 4
Views: 547

Re: Riddle me this.....

@JRL, Huh? Thanks for the work around, but I don't understand. It's part of RegEx syntax. How can MS not like the comma? I am guessing you are referring to {1,3} coma. But that's the syntax. Plus I've used this before without this issue. Am I misunderstanding? [edit] - Normally I'd be happy with you...
by PepsiHog
Sun Dec 06, 2020 11:53 pm
Forum: Technical / Scripting
Topic: Riddle me this.....
Replies: 4
Views: 547

Riddle me this.....

Hello Everyone, I don't need help with this per say. I just would like to know the answer to this riddle. Line A works. Line B does not work. Why? let>Num=38 let>NumList=28;13;16;45;48;20;41;38;25;51;31;34;24;52;22;39;27;2;49;6;3;36;12;11; let>PatternA=(\d\d?;?){1,3} RegEx>PatternA,NumList,0,match,R...
by PepsiHog
Fri Nov 06, 2020 2:54 am
Forum: Technical / Scripting
Topic: Can't compile executables
Replies: 3
Views: 557

Re: Can't compile executables

Yaw peoples are weird! The .exes have just moved on to a bigger and better place. Be happy for them.

PepsiHog
by PepsiHog
Wed Jul 15, 2020 8:49 pm
Forum: Technical / Scripting
Topic: [Bug?] None English letters in variables upper vs lowercase
Replies: 2
Views: 3517

Re: [Bug?] None English letters in variables upper vs lowercase

@Grovkillen,
Just browsing for zero replies. The RegEx wizard that you are, is what made me curious. So RegEx can not solve this for you? You can't grab only [a-zA-Z0-9]?

What's the update on this venture? Is the computer still in one piece? :lol:

Share the knowledge, man.
PepsiHog
by PepsiHog
Wed Jul 15, 2020 7:54 pm
Forum: Technical / Scripting
Topic: Split OCR result Text or retrieve coordinates
Replies: 2
Views: 2954

Re: Split OCR result Text or retrieve coordinates

@ronin, Really would like to help. But I'm one of those that needs pictures. Books without pictures bore me. So, show me an example of what you want, and I will try to help. Post a script, what you have already, or just make up an example script for the portion you would like help with. I have said ...
by PepsiHog
Tue Jul 14, 2020 3:50 pm
Forum: Technical / Scripting
Topic: Key Stroke "Intercept" Concept
Replies: 8
Views: 11117

Re: Key Stroke "Intercept" Concept

Ok.....I get it. It's a hotkey for when another window is in focus. Well why didn't someone just say that? I can think of possibilities. Thanks JRL, PepsiHog [edit]- Someone is going to point out that "it was said", not realizing that I was (not sure what the word is to describe my being, but the on...
by PepsiHog
Tue Jul 14, 2020 3:41 pm
Forum: Technical / Scripting
Topic: Key Stroke "Intercept" Concept
Replies: 8
Views: 11117

Re: Key Stroke "Intercept" Concept

I copied the last posted version of this script.
I pasted it.
I ran it.
I pressed F1.
I got absolutely nothing.
The only key that works is esc, to end the macro.

Can someone tell me what I'm missing here, please?

Would like to use this, but I can not get the dang thing to work,
PepsiHog
by PepsiHog
Fri Jul 10, 2020 7:59 pm
Forum: Beginners
Topic: Retrieving text from a terminal window
Replies: 3
Views: 2652

Re: Retrieving text from a terminal window

Ok, Here's more on the last idea. Use sendtext to send some "text" that there is no way would be there otherwise. Then use OCRWindow to get all the text. By processing the text, the sent text will tell what the prompt before it is. Once you know the prompt you need to answer, you can use Press> to s...
cron
Sign up to our newsletter for free automation tips, tricks & discounts