PDA

View Full Version : How does mapconvert.vbs work?



ozradar
09-23-2009, 07:44 AM
First of all thanks for keeping MySEQ alive. If I can get it working I will really enjoy playing EQ again.

The only issue I am having is the use of the VB script to convert the "Mapfiend" maps to SEQ format.

When I try to run the file "mapconvert.vbs" by simply clicking it in windows explorer, I see an error dialog box appear:

Script: C:\Program Files\MySEQ\maps\mapconvert.vbs
Line:16
Char:1
Error: Type mismatch: 'objExplorer.Left'
Code: 800A000D
Source: Microsoft VBScript runtime error

Would anyone please help ?


Update: With a bit more research I found a possible solution. The script has two lines that appear to be trying to locate the status window within the users screen.
objExplorer.Left = (intHorizontal - 400) / 2
objExplorer.Top = (intVertical - 200) / 2

I removed both of these lines and ran the script from a DOS window using cscript. It's running now and looks good so far!

reference article for anyone interested
http://www.microsoft.com/technet/scriptcenter/resources/qanda/mar05/hey0316.mspx