Search found 510 matches

by PepsiHog
Wed Apr 04, 2012 3:47 pm
Forum: Technical / Scripting
Topic: Blow my mind!!
Replies: 17
Views: 11864

Thanks

Thanks for explaining JRL and Marcus. OK. So the cat is about to die. Curious. It makes the code easier to read. Is that the only reason? I personally always went with inline.(when possible) It just seems more advanced, so to me that said "Better" Marcus.... So here is how I tend to structure my pro...
by PepsiHog
Tue Apr 03, 2012 8:14 pm
Forum: Technical / Scripting
Topic: Blow my mind!!
Replies: 17
Views: 11864

Blow my mind!!

According to Marcus...... ///////////////////////////////////////////////////////////////////////////////// Marcus Tettmar, Apr 02 12:33 (BST): No, you just need to use better structured logic. Inline ifs are deprecated and not recommended. If you then want the script to proceed elsewhere once the s...
by PepsiHog
Sat Feb 18, 2012 8:21 pm
Forum: Beginners
Topic: IF Color = ???
Replies: 3
Views: 9033

hello

@JRL I love the vbScript! But you may not be entirely correct. You see, I woke up today and decided I wanted to know how to "decode" the color number that is used throughout MS. So I did some research. I found that the number is created by a couple of steps. First change each of the RGB numbers to h...
by PepsiHog
Sat Feb 18, 2012 7:50 pm
Forum: Beginners
Topic: how do i cut text from webpage and paste to outlook 2010
Replies: 1
Views: 5122

hello

Have you tested to see if you can copy the text from said newspaper? I just pressed CTRL A for Select All and then pressed CTRL C. And opened a notepad and pressed CTRL V. I did this after I read your post and ALL the text was copied to the notepad. No problem. MS has a PRESS command to send these k...
by PepsiHog
Sat Feb 18, 2012 7:18 pm
Forum: Technical / Scripting
Topic: Identical Array code works in one macro but not in another
Replies: 1
Views: 3299

hello

I'd like to help, but I'm not clear on what you are doing with the other macros. Or is it only the one with more Arrays?

Can you try and explain more clearly? Maybe you can give some examples?
by PepsiHog
Sat Feb 18, 2012 7:08 pm
Forum: Technical / Scripting
Topic: Hex To Decimal
Replies: 0
Views: 6138

Hex To Decimal

Hello Everyone, I have something in mind for this macro. Until today, I had NO idea how to do this. Now I have learned how and I wrote a macro that I hope will be usefull to some of you. ENJOY!! This macro prompts for a hex number and then calculates what the decimal number is. let>NewValue= let>mat...
by PepsiHog
Mon Feb 06, 2012 10:14 pm
Forum: General Discussion
Topic: Complex Let
Replies: 0
Views: 10545

Complex Let

Now that a user no longer needs to initialize a variable, I'm curious if the restriction on the complex let statement could be removed. I am refering to the error - "If statement options must be the same type" Maybe I don't understand the restriction. If that is the case then please explain the reas...
by PepsiHog
Wed Feb 01, 2012 4:08 am
Forum: Technical / Scripting
Topic: 3x Variables From One Path
Replies: 6
Views: 6563

Hello

Hey CyberCitizen, RegEx is an awesome tool. But here's how you can do it without RegEx. let>Path=C:\Documents and Settings\ALL USERS\Desktop\Desktop Slider v1.03\Desktop Slider\desktop slider.exe Separate>Path,\,Path let>MyCount=%Path_count% let>var3=Path_%MyCount% let>MyCount=%MyCount%-1 let>var2=P...
by PepsiHog
Wed Feb 01, 2012 3:52 am
Forum: General Discussion
Topic: MSMemo AutoScroll
Replies: 5
Views: 12027

Thanks

Thanks for your help and suggestions.

An ending comment(not meant to lead this on). I have a bad taste in my mouth. I swear I've seen and played around with something like this non-existant AutoScroll!!! URRRR!!! I hate when you can't place something!!!

Thanks again to both of you.
PepsiHog
by PepsiHog
Tue Jan 31, 2012 2:49 pm
Forum: General Discussion
Topic: MSMemo AutoScroll
Replies: 5
Views: 12027

Thanks

Thanks for helping, JRL.

But I set it to ssBoth and still no AutoScroll. Maybe I don't understand your response. Will you explain a bit more?

PepsiHog
by PepsiHog
Mon Jan 30, 2012 3:38 pm
Forum: General Discussion
Topic: MSMemo AutoScroll
Replies: 5
Views: 12027

MSMemo AutoScroll

Hello Everyone, I swear I remember a dialog property for MSMemo called AutoScroll. But there is no such property. What I'd like is for MSMemo to display the end of the block of text. When you update the MSMemo field it shows the top of the text entered. Assuming there is enough text that the MSMemo ...
by PepsiHog
Sat Jan 28, 2012 1:41 am
Forum: General Discussion
Topic: Change file's date and time
Replies: 3
Views: 10852

hello

Good program NirCmd. I've used it in the past as well.
by PepsiHog
Fri Jan 27, 2012 3:26 pm
Forum: General Discussion
Topic: Change file's date and time
Replies: 3
Views: 10852

not sure

Someone probably has a vbScript or a better solution. But if the files you want to copy are small, but you want the new files to reflect the current time and date, then you could do this. ReadFile>C:\Documents and Settings\.....\Desktop\scrpts\a Create Button Group.scp,File WriteLn>C:\Documents and ...
by PepsiHog
Fri Jan 27, 2012 2:54 pm
Forum: General Discussion
Topic: Select-case
Replies: 5
Views: 10895

Hello

I'm curious (again) if there would be any advantage of having a command in MS that would abort a srt. srt>Name ..... IF>result=0 Abort>Name endif ..... end>Name One advantage I see, is it would make scripts neater, easier to follow. Another would be less Labels. (But this likely doesn't matter.)
by PepsiHog
Fri Jan 27, 2012 2:44 pm
Forum: General Discussion
Topic: Select-case
Replies: 5
Views: 10895

Hello

@Jerry I understand using goto is a less desirable function. That is, if you don't need to use it, or can avoid it, then don't. But curious what your solution might be. Two things. Would you agree an IF statement is a GOTO? Difficult, at best, to not use an IF statement in a program. I write srts al...
cron
Sign up to our newsletter for free automation tips, tricks & discounts