View Single Post
Old 04-15-2015, 01:59 AM
e2script e2script is offline
Registered User
Join Date: Sep 2014
Posts: 34
Hi Todd,

That's funny because that's exactly what I tried after your first post, but I received an error message so I figured that I did something wrong.
I tried again now and I'm still receiving the same error message.

Error looks like this:
Microsoft VBScript runtime error

Error: Wrong number of arguments or invalid property assignment: 'Replace'
File: <file-path>\<script-name>.vbs
Line: 30
Line 30 is referring to strSelection = Replace(strSelection, ":")

I copied your exact lines
strSelection = Replace(strSelection, ":")
strSelection = Replace(strSelection, ".")
And placed them in the script between strSelection = Trim(crt.Screen.Selection) and g_strSearchBase = "" like you suggested.

Any input on how to fix this?
Thanks for your help so far.
Reply With Quote