What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Help » Error importing scripts' files

Error importing scripts' files
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Error importing scripts' files
1
quote:
Originally posted by PhilNelwyn
The error occurs with every script I try and import...
...but the one I WANT to get running (for real  lol) is :

CONVO NOTIFIER
Can you attach the script pack which isn't working to a post in this thread. Thus I mean the script pack which you have on your disk, which fails importing.


2
quote:
Originally posted by PhilNelwyn
When importing any script (.plsc), this error message is displayed :
"An error occured while importing script's files"
(In fact, the message is : "Une erreur est survenue lors de l'importation des fichiers du script"... hope the translation is good  ^^)

At this time, the script doesn't appear in the imported scripts list.
I close and open again WLM, go to the MP!L prefs, and then the script appears in the list, not running.
This can be normal if the script pack got corrupted, or if files inside the script pack are not saved properly in the correct format (or when they got corrupted).

In such cases, Plus! will indeed import the script pack, but say that the script pack is corrupted and thus the script can't be run.

quote:
Originally posted by PhilNelwyn
I get it running, apply changes, close the window, reopen it to be sure the script's running... it is.
But it doesn't work, and its settings window is not available in the MP!L menu of the contact list.
This also indicates the same thing; the files could be corrupted somehow.


3

What you might wanna try, as experiment, is to close Messenger completely. Then go to the script files (you'll find them in C:\program files\Messenger Plus!Live\Scripts\scriptname) open the individual files one by one in notepad (textfiles, JS files, XML files, anything else, except for DLLs).

Then in notepad you go to "File > Save As". There you make sure the Encoding is set to "Unicode" and then you save the file again, even if it was already in unicode, re-save it. Do this for all the files in the script (except for binary files like DLLs).

When you've done all this report back if the script is now running and working properly...


4
quote:
Originally posted by Sunshine
Now what i want you to do is save the script to your computer, rightclick the file and choose "Open with", then select "Messenger Plus! Live Tools" from the list and check the box below to always open these types of files with this program. That should take care of the file association problem and at that possibly the importing problems.
Nope, as PhilNelwyn said, this will not make the proper association with MPTools.exe because MPTools.exe expects a parameter as input:

"C:\Program Files\Messenger Plus! Live\MPTools.exe" /ImportScript="%1"

By auto-associating with the "Open with..." method, Windows will just create the link:
"C:\Program Files\Messenger Plus! Live\MPTools.exe" "%1"

In other words, you must be carefull to use "Open With..." to associate files like that since not all programs simply expect only the filename.

quote:
Originally posted by PhilNelwyn
To extract files manually is useless, because the only file that can be imported in MP!L is the .plsc pack.
This just as a sidenote:

Yes, but importing is actually nothing more than extracting the files to a directory, setting some registry check and run the script.

All this can be done manually by simply manually extracting the script into a directory, restarting Messenger and enabling the script in the Plus! preferences.

quote:
Originally posted by PhilNelwyn
I wonder if it's not a problem with XML or JAVASCRIPT in WLM...?
Scripts do not related to XML or "javascript" in Windows Live Messenger. It is Messenger Plus! which functions as the scripting host. Also the relation between WLM and Internet Explorer has got nothing todo with all this.

PS: it is not Javascript, but JScript, which is very similar and related, though not the same...


5
quote:
Originally posted by PhilNelwyn
P.S. : errrr... isn't there a way to associate a type of file with a prog in the registry ?
Sunshine already explained one method. Though this method should be used carefully.

A better method if you want to make detailed associates, you need to go to:
    Windows Explorer (or press Win+E as a shortcut) > Tools > Folder options > File types

In there you must select the file extension (if it already exist) or create a new one (if it doesn't already exist).

When the file extension is created, you click on "Advanced" to set the proper actions and links like so:

Title: Messenger Plus! Script Pack
Action: open
Application to open it with:
"C:\Program Files\Messenger Plus! Live\MPTools.exe" /ImportScript="%1"
(pay attention to he spaces and the quotes)
("C:\Program Files\Messenger Plus! Live" might of course be different on your computer, so change that accordingly)

But note that there was already a proper file association before you did SunShine's method. Otherwise you would never had that Plus! error either. So the association was not at fault (though, if you used Sunshine's method it might be corrupted now also)...

If you're not comfortable using this manual method, then you also might wanna simply reinstall Messenger Plus! to fix it for you.


6
As a final thing todo (in this case to try):
a) clear your browser cache
b) restart your browser
c) redownload the script pack
d) re-import the script pack




---------------------------

Can you perform the above actions (1, 3, 5 and 6) one by one and report each time the outcome

This post was edited on 01-17-2007 at 12:28 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
01-17-2007 12:26 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Error importing scripts' files - by PhilNelwyn on 01-16-2007 at 12:08 PM
RE: Error importing scripts' files - by Sunshine on 01-16-2007 at 02:10 PM
RE: Error importing scripts' files - by PhilNelwyn on 01-16-2007 at 04:12 PM
RE: Error importing scripts' files - by FineWolf on 01-16-2007 at 04:26 PM
RE: Error importing scripts' files - by Sunshine on 01-16-2007 at 05:10 PM
RE: RE: Error importing scripts' files - by FineWolf on 01-16-2007 at 05:13 PM
RE: Error importing scripts' files - by PhilNelwyn on 01-16-2007 at 05:51 PM
RE: Error importing scripts' files - by Sunshine on 01-17-2007 at 11:35 AM
RE: Error importing scripts' files - by CookieRevised on 01-17-2007 at 12:26 PM
RE: Error importing scripts' files - by PhilNelwyn on 01-17-2007 at 12:44 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On