Shoutbox

[Testing] Received Files Sorter - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Testing] Received Files Sorter (/showthread.php?tid=81971)

[Testing] Received Files Sorter by Spunky on 02-27-2008 at 08:00 PM

I was waiting for Dempsey and Eljay to finish theirs, but I wanted this myself anyway. It might not be 100% accurate (misses 1 in, perhaps, 100).

At the moment it only sorts by contact, not by date or file type (although it will do). Leave feedback and let me know if it works. If Dempsey and Eljay want me to remove this then obviously I will and just keep it for personal use.


RE: [Testing] Received Files Sorter by warmth on 02-27-2008 at 08:34 PM

the script imported fine... but then it failed to start...


RE: [Testing] Received Files Sorter by Chunk1993 on 02-27-2008 at 08:39 PM

same here *-)


RE: RE: [Testing] Received Files Sorter by pollolibredegrasa on 02-27-2008 at 08:43 PM

quote:
Originally posted by warmth
the script imported fine... but then it failed to start...

Same thing here. You have to edit the script to use the IP of your computer rather than the default one :P
RE: [Testing] Received Files Sorter by Ezra on 02-27-2008 at 09:05 PM

Doesn't import here :(, did change the IP to 0.0.0.0


RE: [Testing] Received Files Sorter by matty on 02-27-2008 at 09:34 PM

You need to add a preferences panel and load the IPs that you get from the getLocalIp function into a drop down and let them select which IP they want. Compare the IP Address each time the script loads to make sure it is one that is available, if it isn't then you need to display the config again.

Something along those lines :P

You need to change the IP to the IP address of the network card. Not 0.0.0.0.

P.S. it did work however what might be a good idea is if you copy and not move the file then you can mark the one for deletion on Windows shutting down this will allow the in convo link to still work.

http://msdn2.microsoft.com/en-us/library/aa365240.aspx
This will allow you to move the file after the computer reboots. Which might be a good idea :)


RE: [Testing] Received Files Sorter by roflmao456 on 02-27-2008 at 09:58 PM

quote:
Originally posted by the Debugger
Script is starting
Error: Error 10022 in function WSAIoctl(SIO_RCVALL)
Invalid argument (code: -2147418113)
       File: FileTransfer Monitor.js. Line: 3.
Script has failed to start

code:
// Line 3
xniff.Start();


i am connected to a router btw.

i changed IP to my local IP and got the above message.

now i changed it to my internet IP and got this instead:
quote:
Originally posted by the Debugger
Script is starting
Error: Error 10049 in function Bind
Address not available (code: -2147418113)
       File: FileTransfer Monitor.js. Line: 3.
Script has failed to start

RE: [Testing] Received Files Sorter by Spunky on 02-27-2008 at 10:39 PM

I forgot to change IP back sorry (getLocalIP() didn't work on my connection)

Updated first post

quote:
Originally posted by matty
P.S. it did work however what might be a good idea is if you copy and not move the file then you can mark the one for deletion on Windows shutting down this will allow the in convo link to still work.

Thats why I love you matty (L) ;) Will look into it
RE: [Testing] Received Files Sorter by Dempsey on 02-27-2008 at 10:41 PM

Haven't had chance to have a look yet, but you can have a look what we have so far if you want to see if you can make any use of it?  Maybe the Prefs or something, which i think from memory are pretty much coded.


RE: [Testing] Received Files Sorter by trini on 02-27-2008 at 10:43 PM

I changed the IP to my local IP (i'm using router) and got this error message:

quote:
Script is starting
Script is now loaded and ready
Function called: OnEvent_Initialize
Error: Automation server can't create object (code: -2146827859)
       File: Settings.js. Line: 10.
Function OnEvent_Initialize returned an error. Code: -2147352567

Edit: oh, it got updated till i posted, will test again :P

Edit2: Still doesn't work for me. "The script has been imported but failed to start."

quote:
Script is starting
Error: Error 10049 in function Bind
Address not available (code: -2147418113)
       File: FileTransfer Monitor.js. Line: 3.
Script has failed to start
Also I now get error "The script may be defective or you may not have the proper privilegs to run scripts"
I'm using Vista Business ,other scripts work fine, so don't think this is issue with my PC?
RE: [Testing] Received Files Sorter by NoXia on 02-29-2008 at 06:24 PM

First of all, great idea & addon.

When i receive a file, it does make a new folder but doesn't place
the file in it.

Any idea? :)


RE: [Testing] Received Files Sorter by Spunky on 02-29-2008 at 06:25 PM

Not a clue. It moves a file to a new folder so it could be a Windows error as it works on mine. It isn't to seperate functions to create the folder then move the file, but just the one


RE: RE: [Testing] Received Files Sorter by trini on 03-01-2008 at 03:08 AM

quote:
Originally posted by SpunkyLoveMuff
Not a clue. It moves a file to a new folder so it could be a Windows error as it works on mine. It isn't to seperate functions to create the folder then move the file, but just the one
are you using it on XP or Vista? Because it failes to even start for me on Vista... :^) :(
RE: [Testing] Received Files Sorter by vikke on 03-01-2008 at 07:02 AM

In my experience, Vista can screw up all ActiveX objects very easily. Make sure Xniff compitable with Vista, and that you've registered the DLL.
To register the DLL:
1. Press the Windows key+R. Type "cmd" (without quotes in the box and press enter).
2. Type "cd <PATH>" where <PATH> is the script folder, where the Xniff DLL is located.
3. Type "regsvr32 /u <DLLNAME> " where <DLLNAME> is the Xniff DLL. This will unregister the DLL.
4. Then finally register it again with "regsvr32 <DLLNAME>".

Hopefully it will give you some kind of error, which could be the problem.


RE: [Testing] Received Files Sorter by riahc4 on 03-03-2008 at 10:45 PM

Hmm...This is starting to be a problem: IPGet and Status Icon also have issues with Vista.


RE: [Testing] Received Files Sorter by mynetx on 03-05-2008 at 11:50 AM

I first got the Bind error, then I changed the IP from the default one to my 192.168.0.254, then got this error:

quote:
Originally posted by Debug
Error: Error 10022 in function WSAIoctl(SIO_RCVALL)
Invalid argument (Code: -2147418113)
       File: FileTransfer Monitor.js. Line: 3.
Script failed to start