View Single Post
  #5  
Old 04-15-2015, 12: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:
Quote:
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
Code:
strSelection = Replace(strSelection, ":")
strSelection = Replace(strSelection, ".")
And placed them in the script between strSelection = Trim(crt.Screen.Selection) and g_strSearchBase = "http://aruljohn.com/mac/" like you suggested.

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