Search found 497 matches

by PepsiHog
Sat Jun 19, 2021 1:55 am
Forum: Technical / Scripting
Topic: vbs silent
Replies: 9
Views: 384

Re: vbs silent

...side note. I did work for a company a few years back, where I used to drive a van. I had a cell phone that my manager would call me on. I downloaded and edited the song "If I Only Had a Brain" and uploaded it to my phone and selected it as the ringtone for my manager. Everyone thought it was funn...
by PepsiHog
Sat Jun 19, 2021 1:41 am
Forum: Technical / Scripting
Topic: vbs silent
Replies: 9
Views: 384

Re: vbs silent

@JRL, May have been when I was "wee" little. But I have no idea about the reference of "the man behind the curtain". Yep, all Star Trek. And I'm not about to read it just for the purpose of knowing something on this forum. Not even if it answered all questions about RegEx.((a)If you claim it does, I...
by PepsiHog
Thu Jun 17, 2021 6:16 pm
Forum: Technical / Scripting
Topic: vbs silent
Replies: 9
Views: 384

Re: vbs silent

@JRL-
Clever idea. I like it. Thanks. I only have one question. How'd you know I'm a Treky?

PepsiHog
by PepsiHog
Tue Jun 15, 2021 6:22 pm
Forum: Technical / Scripting
Topic: vbs silent
Replies: 9
Views: 384

Re: vbs silent

Hi mightycpa, I'm sorry for being so long on a reply. I sometimes take a break from programming. And this has been one of those times. I am working on a macro that is very brain intensive(unrelated). That plus other macros and I burn out. I will check out what you suggested. Thanks for the help. Muc...
by PepsiHog
Fri Mar 19, 2021 3:28 pm
Forum: Technical / Scripting
Topic: vbs silent
Replies: 9
Views: 384

vbs silent

Hello Everyone, Every time I use VBS it displays a message that says the script is taking longer than expected. Is there a way of suppressing these messages? Or fixing it? This is the speak VBS. I want to use this, but the control message is undesired. VBSTART Sub Speak(text) Dim Talk Set Talk = Cre...
by PepsiHog
Sun Mar 14, 2021 6:34 pm
Forum: General Discussion
Topic: Scroll to Precise Window Location
Replies: 3
Views: 3045

Re: Scroll to Precise Window Location

@JRL Here's the thing. What functionality does the actual window have? I looked up on the internet for functions of notepad. If you press Ctrl-G you get a prompt for what line you want to jump to. You could send the line number, but does the window your working with have the same function? Without i...
by PepsiHog
Sun Mar 14, 2021 6:01 pm
Forum: General Discussion
Topic: how can I debug script called by macro>
Replies: 4
Views: 5973

Re: how can I debug script called by macro>

The way I prefer doing this is to combine them together. Eliminate the macro call. Then debug. Once it works, split the two apart again.

Include shows the code included when it's running but then disappears when it stops. Makes debugging difficult.

Good Luck,
PepsiHog
by PepsiHog
Sun Mar 14, 2021 5:49 pm
Forum: Technical / Scripting
Topic: RegEx
Replies: 6
Views: 456

Re: RegEx

@JRL and Bob, In my first post I was talking about excluding the number zero. This was something I was first trying to do. I then shifted to [1-7] which for this case worked, and was more simple. My attention to detail when posting needs a little work. Sorry for that. Thanks to both of you for helpi...
by PepsiHog
Sun Mar 14, 2021 5:33 pm
Forum: Technical / Scripting
Topic: Advice for passing variables
Replies: 6
Views: 409

Re: Advice for passing variables

@mightycpa, It seems like you are doing more work than is needed. You can pass info between macros by using command line. ExecuteFile>YourPath\YourFilename.exe,YourParameters(you can just place your strings here.) Like %string1%;%string2%; Then in the called exe, you would import the parameters like...
by PepsiHog
Fri Mar 12, 2021 5:00 pm
Forum: The Water Cooler
Topic: Spy
Replies: 0
Views: 1003

Spy

Hello All,
I want a spy. How do I get a spy? You know..."Last edited by your mamma!....."

Please give me a spy.
PepsiHog
by PepsiHog
Fri Mar 12, 2021 3:54 pm
Forum: Technical / Scripting
Topic: RegEx
Replies: 6
Views: 456

Re: RegEx

@Bob Why not, not? :lol: The why is because I LOVE RegEx. I can get what I want with just one line. Plus, I have to think about Marcus. He introduced me to RegEx and I wouldn't want to let him down. Also, RegEx is mind bending, stimulating, bang your head against the wall, rip out your hair, finally...
by PepsiHog
Fri Mar 12, 2021 3:41 pm
Forum: Technical / Scripting
Topic: RegEx
Replies: 6
Views: 456

Re: RegEx

@JRL, The solution was to exclude \d. RegEx>[1-7],string,0,match,nom,0 Originally I had \d[1-7] thinking I was specifying that the digit(\d) needed to be 1 through 7. PepsiHog We have a tattle tale right here. I think it's spying on us. It KNOWS how to add. This is getting SCARY!! 1,2,3,.. 4! Four t...
by PepsiHog
Wed Mar 10, 2021 5:39 pm
Forum: Technical / Scripting
Topic: RegEx
Replies: 6
Views: 456

Re: RegEx

Ok,

I got it. I was doing this

RegEx>\d[1-7]

Thinking I was specifying a digit between 1 and 7. But [1-7] is a stand alone argument.

PepsiHog
by PepsiHog
Wed Mar 10, 2021 5:03 pm
Forum: Technical / Scripting
Topic: EasyPatterns Not so easy
Replies: 7
Views: 461

Re: EasyPatterns Not so easy

LOL! I jump into helping without looking! Oops. But it's the thought that counts. Right? Hello mightycpa, You just misinterpreted the RegEx. A few corrections, and it works. //start with 4 or 5 digit alphanumeric string //verify pattern: letter digit letter digit optional letter //where first 2 lett...
by PepsiHog
Wed Mar 10, 2021 4:35 pm
Forum: Technical / Scripting
Topic: RegEx
Replies: 6
Views: 456

RegEx

Hello All, Programming is not working for me today. This SHOULD be simple. Yet, no. let>Number=0;1; RegEx>\d[^0]...... I just want the two numbers in Number, except excluding the number if it is zero. Why is this impossible for me? I have done like a billion freaking combinations. Please help. (My w...
Sign up to our newsletter for free automation tips, tricks & discounts