Search found 510 matches

by PepsiHog
Thu Jun 17, 2021 6:16 pm
Forum: Technical / Scripting
Topic: vbs silent
Replies: 9
Views: 7120

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

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

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

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

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

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

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

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

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

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

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

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

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...
by PepsiHog
Sun Jan 03, 2021 1:07 am
Forum: Technical / Scripting
Topic: Script on Dropbox causes occasional access violation
Replies: 16
Views: 9662

Re: Script on Dropbox causes occasional access violation

Go back to basics. If I want to save a file, I click a save icon. What commands in MS are you using to accomplish each task? That isn't a question for you to tell me. Reflect on the way you are going about doing each task. Break it down to basics. Get set up so you have the save button. Place an exi...
by PepsiHog
Sat Jan 02, 2021 11:18 pm
Forum: The Water Cooler
Topic: Happy 15th forum birthday to JRL
Replies: 8
Views: 18818

Re: Happy 15th forum birthday to JRL

@JRL,
That's slick. I like that.

PepsiHog
cron
Sign up to our newsletter for free automation tips, tricks & discounts