Search found 510 matches

by PepsiHog
Mon Jun 25, 2012 12:22 pm
Forum: Technical / Scripting
Topic: RegEx (again)
Replies: 8
Views: 10992

WOW!

WOW! I did not know about dropbox. That is awesome! So much for worrying about the length of my macro.

Great idea, Marcus!

I can't thank you enough! And I have no doubt this will help others as well.

Thank ya, thank ya, thank ya. :)

PepsiHog
by PepsiHog
Mon Jun 25, 2012 12:01 pm
Forum: Technical / Scripting
Topic: RegEx (again)
Replies: 8
Views: 10992

thanks again

Great code, Marcus! Thanks a lot! That's EVEN shorter! ArraySort never managed to get into my common use list, but it is now. The macro I'm writting is really just for fun and it's a pretty big challenge. I won't say what it does. (I don't want one of these smarties to beat me to the punch.) But the...
by PepsiHog
Mon Jun 25, 2012 11:04 am
Forum: Technical / Scripting
Topic: RegEx (again)
Replies: 8
Views: 10992

thanks

Thanks Marcus! However, I had already written something similar. Funny, same number of lines as yours. I'm writting a long macro, so whenever possible I try to go with the shortest solution. If you are curious, this was what I came up. let>MyString=3175 let>asd=0 RegEx>\d,MyString,0,matches,nom,0 Re...
by PepsiHog
Mon Jun 25, 2012 4:48 am
Forum: Technical / Scripting
Topic: RegEx (again)
Replies: 8
Views: 10992

RegEx (again)

Hello Everyone, I searched the web and played around. I tried to figure this out, but with no luck. I have a string.... let>MyString=3714 The numbers in MyString will always be between 1 and 7. No delimeters, but each digit is a separate number. And MyString will never be more than 4 digits long. I ...
by PepsiHog
Tue Jun 05, 2012 1:50 am
Forum: Technical / Scripting
Topic: Need a bit of RegEx Help
Replies: 3
Views: 3074

me

**giggle,giggle**

Thanks again!!!

I went online and, thanks to your example, I now have learned just a bit more about how to use RegEx. :D

PepsiHog
by PepsiHog
Tue Jun 05, 2012 1:20 am
Forum: Technical / Scripting
Topic: Need a bit of RegEx Help
Replies: 3
Views: 3074

not me...

Thanks! jpuziano! That is exactly what I need. One caveat: if a number, let's say 45... were to appear three times in the string... you'd get 45 as a result twice. Not a problem. Any given number can only be repeated once. Just one line huh? You're not asking for much are you. Nah. LOL! Actually con...
by PepsiHog
Wed May 30, 2012 3:42 pm
Forum: Technical / Scripting
Topic: Need a bit of RegEx Help
Replies: 3
Views: 3074

Need a bit of RegEx Help

Hello Everyone, I have actually done this by using multiple lines of code. But because I am no expert at RegEx, I thought maybe one of you might know how to do the same in just one line. Let's say you have a string. Let>MyString=45;23;22;45;11 Is there a pattern I can use with Regex that will return...
by PepsiHog
Sun Apr 22, 2012 2:35 am
Forum: Technical / Scripting
Topic: Video?
Replies: 2
Views: 2403

Hello

Thanks, Marcus!

LOL! I never thought of just executing the video file. I was thinking more along the lines of having a small video playing in a dialog, but this can work as well.

Thanks again,
PepsiHog
by PepsiHog
Fri Apr 20, 2012 7:27 pm
Forum: Technical / Scripting
Topic: Video?
Replies: 2
Views: 2403

Video?

Hello,

Is it possible to use MS to play a video? Maybe by using vbs?

If>yes
MDL>Please show work. Thanks
endif

PepsiHog
by PepsiHog
Tue Apr 17, 2012 3:12 am
Forum: Technical / Scripting
Topic: Blow my mind!!
Replies: 17
Views: 11826

Hello

Ok, let me clear something up. I knew the inline if was both a goto and gosub. I have used it for both Labels and srts. My conclusion to change it to being only a gosub was based on it be deprecated and possibly removed all together. I was saying since it is very useful instead of removing it (then ...
by PepsiHog
Mon Apr 16, 2012 4:50 am
Forum: Technical / Scripting
Topic: Blow my mind!!
Replies: 17
Views: 11826

Hello

But using the inline format and jumping to subroutines is/(potentially) was convenient. I agree. In fact, I can't say that I understand why it is deprecated. Marcus said because the IF,ELSE,ENDIF block is easier to read. Ok, maybe, but if you don't know how to read an inline IF, you likely aren't a...
by PepsiHog
Sat Apr 07, 2012 4:07 pm
Forum: Technical / Scripting
Topic: Blow my mind!!
Replies: 17
Views: 11826

Hello

After posting, I realized I could encompass everything in one big IF. So I will either do that or write other srt's.

Thanks,
PepsiHog
by PepsiHog
Fri Apr 06, 2012 7:03 am
Forum: Technical / Scripting
Topic: More HTTPRequest Help Needed
Replies: 3
Views: 3726

Hello

RegEx ROCKS!!! Yeah man!!!

I use it like crazy now.

Pointless post, sorry.
PepsiHog
by PepsiHog
Fri Apr 06, 2012 6:03 am
Forum: Technical / Scripting
Topic: Blow my mind!!
Replies: 17
Views: 11826

Hello

Here's a thought.

We're all worried about what will work in the next version. You know not using deprecated commands.

Well....how do we know the commands we use now, will still work in version 20? Good question, huh?

I'm just saying... that's food for thought.
PepsiHog
by PepsiHog
Fri Apr 06, 2012 5:55 am
Forum: Technical / Scripting
Topic: Blow my mind!!
Replies: 17
Views: 11826

Hello Again

Me_again said: Just have the If> block terminate with an Endif at the END> of the srt If only it were that simple. See, the problem is meanwhile before it gets to the end of the srt, it is processing the unwanted number. Which means if I did as you say, I'd have to undo what's already been done. And...
cron
Sign up to our newsletter for free automation tips, tricks & discounts