Search found 386 matches

by PepsiHog
Mon Jun 24, 2019 10:09 pm
Forum: Technical / Scripting
Topic: vbs
Replies: 10
Views: 71

Re: vbs

Hello Everyone, Thanks goes out to Grovkillen and Marcus for the help with getting this VBScript working. While I was trying to get the VBScript to work, I grabbed this script from the internet to see if it would work. I like this one because it has an 'IF' statement to be sure no error occurs. Than...
by PepsiHog
Mon Jun 24, 2019 5:53 pm
Forum: Scripts and Tips
Topic: Find or Wait for Object then Click other object
Replies: 5
Views: 116

Re: Find or Wait for Object then Click other object

@Sam71, If you use the Object wizard to identify the object (button) you'd like to click, the next tab in Object Wizard let's you choose what action to take. If everything goes well, you will be able to choose "Left click the object" Assuming that...... You then could use OnEvent to setup a "hotkey"...
by PepsiHog
Mon Jun 24, 2019 2:38 pm
Forum: Technical / Scripting
Topic: vbs
Replies: 10
Views: 71

Re: vbs

@Marcus,
Thanks. It worked. I swear I tried that previously.

PepsiHog

[edit] - Ok. I know. I did not try removing the parentheses. I tried removing the percent signs. Well doesn't this fit with exactly what I was saying. Something so simple. Dang! Isn't that a kick in the head!
by PepsiHog
Sat Jun 22, 2019 9:01 pm
Forum: Technical / Scripting
Topic: vbs
Replies: 10
Views: 71

Re: vbs

I have tried every permutation I can think of. I even installed v12. If you insert the path directly into the vbscript it works. I went online and found another vbscript and it also works if the paths are directly inserted into the vbs. Using strings causes an error, "path not found". To me, there i...
by PepsiHog
Sat Jun 22, 2019 7:08 pm
Forum: Technical / Scripting
Topic: vbs
Replies: 10
Views: 71

Re: vbs

When writing a macro, do you ever feel like everything in the universe is simultaneously working against you?

PepsiHog
by PepsiHog
Sat Jun 22, 2019 7:05 pm
Forum: Technical / Scripting
Topic: vbs
Replies: 10
Views: 71

Re: vbs

I tried that and even removing them from the fso.movefolder line. Adding to vbrun made no difference. It still reports invalid path. The fso thing causes another error. I changed to %Desktop_Dir% to ensure the path was correct. I added \ to the end of each, together and one by one. The answer is lik...
by PepsiHog
Sat Jun 22, 2019 3:37 pm
Forum: Technical / Scripting
Topic: vbs
Replies: 10
Views: 71

Re: vbs

Not sure what you mean. Did you scroll the window and I did thus suggesting that's wrong, or you didn't scroll and suggesting that is what it needs?

Thanks for helping,
Pepsihog
by PepsiHog
Fri Jun 21, 2019 10:12 pm
Forum: Technical / Scripting
Topic: vbs
Replies: 10
Views: 71

vbs

Hello Everyone, Does anyone know why I am getting "Path not found" with this vbs? VBStart Option Explicit Sub MoveFolder(Source,Dest) Dim fso Set fso = CreateObject("Scripting.FileSystemObject") fso.MoveFolder "%Source%","%Dest%" End Sub VBEND //C:\Users\Felix The Cat\Desktop\Move this folder //C:\U...
by PepsiHog
Fri Jun 21, 2019 3:51 pm
Forum: The Water Cooler
Topic: uiClick
Replies: 2
Views: 84

Re: uiClick

Thanks for responding, Marcus. I was thinking standard window stuff(rules). But I guess you're right. It depends on how they designed it. But here's the riddle. After I posted this post the first time, I was wondering if I was just nuts. Maybe I didn't see what I thought I saw. So I made the "error"...
by PepsiHog
Fri Jun 21, 2019 3:22 pm
Forum: Technical / Scripting
Topic: Remove included script
Replies: 10
Views: 106

Re: Remove included script

@JRL,
LOL! Don't we wish! I think the book is "Mastering RegEx before the turn of the century"

I'll send you a copy at the turn of the century. :lol:

PepsiHog

but go ahead and send the Pepsi. I wouldn't want it to go bad.
by PepsiHog
Fri Jun 21, 2019 2:06 am
Forum: Technical / Scripting
Topic: Remove included script
Replies: 10
Views: 106

Re: Remove included script

@JRL, That's not the answer I wanted. Try again. Ha-ha. I was hoping you had some great book that told you everything. You do A LOT of research. That is impressive. I tire out too easily when I start trying to find out about some programming aspect on the net. I know how much it takes to do that typ...
by PepsiHog
Thu Jun 20, 2019 6:24 am
Forum: Technical / Scripting
Topic: Remove included script
Replies: 10
Views: 106

Re: Remove included script

@ Grovkillen, Well blow me down! It actually worked. I really did not expect it to work for the aforementioned reasoning! It even let the file be deleted and re-written. I tried that because I want to get rid of previous code. You are a genius, Grovkillen. Thank you. Thank you. Thank you. I regret m...
by PepsiHog
Thu Jun 20, 2019 5:37 am
Forum: Technical / Scripting
Topic: Remove included script
Replies: 10
Views: 106

Re: Remove included script

@ Grovkillen, I will give that a try. It's a concept. I only fear though, I suspect it won't work. The script files while loaded into the editor won't allow access to them again. So, back to how do we unload an include? If only there were a genius programmer that could add a command to the next vers...
by PepsiHog
Thu Jun 20, 2019 5:17 am
Forum: Technical / Scripting
Topic: Remove included script
Replies: 10
Views: 106

Re: Remove included script

Hey JRL, Nice to have you in the forum again. Thanks for the sample script. I should have it decoded within a year. Just out of curiosity, do you like ever write simple scripts? Is there one script of yours that doesn't have LibFunc or API something this that and the other in it? :lol: Like always I...
by PepsiHog
Tue Jun 18, 2019 9:58 pm
Forum: Technical / Scripting
Topic: Return partial variables within string
Replies: 3
Views: 113

Re: Return partial variables within string

Here is a more simplistic form of the above.

Code: Select all

let>nDate=11/22/33
RegEx>(\d\d?).(\d\d?).(\d\d?),nDate,0,match,nom,1,$1,x
RegEx>(\d\d?).(\d\d?).(\d\d?),nDate,0,match,nom,1,$2,y
RegEx>(\d\d?).(\d\d?).(\d\d?),nDate,0,match,nom,1,$3,z

mdl>%x%/%y%/%z%