Shoutbox

[REQUEST] Received files by user? - 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: [REQUEST] Received files by user? (/showthread.php?tid=85428)

[REQUEST] Received files by user? by AlfmaniaK on 08-16-2008 at 03:01 AM

I was wondering if it is possible to organize received files by user folders.

In this computer I have multiple users account signed in, and all the files each receive, goes to the same folder. It would be nice if those files could be stored in folders assigned to each user.

I've been looking around and only found some scripts to store the received files by senders.

Can it be done? :$


RE: [REQUEST] Received files by user? by NanaFreak on 08-16-2008 at 03:28 AM

dempsey was working on something like this but it was unreliable and he also didnt get around to finishing it...


RE: [REQUEST] Received files by user? by AlfmaniaK on 08-16-2008 at 04:34 AM

The script, Dempsey, was working on is what I found: a received file organiser by contacts. What I'm asking for is the opposite, a organiser by users, that sign in to messenger in the same computer.

As far as I understood, there was somekind of issue with Xniff (wich should help identify the sender, so it could place the received file in the correct folder ...I guess), however, what I have in mind is something that when some file is received, the script is triggered and place the file in the folder assigned to the user who receives it.


RE: [REQUEST] Received files by user? by NanaFreak on 08-16-2008 at 04:40 AM

well with dempseys that could be set up...just by making it put all into a folder per user...


RE: [REQUEST] Received files by user? by AlfmaniaK on 08-16-2008 at 04:44 AM

Hehehhehe

I guess I'm about to start reading some scripting help!


RE: [REQUEST] Received files by user? by CookieRevised on 08-16-2008 at 10:52 AM

The only thing you need to do, for what you want, is making a script which changes the BINARY registry key:
HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger\FtReceiveFolder

This must be done in an OnEvent_Signin() event (or OnEvent_SigninReady()).
and, if you wish, maybe change it back to what it was in an OnEvent_SignOut() event.

Forget about any script which uses Xniff, that isn't needed at all and will only cause errors and crashes (although you wont notice them).


RE: RE: [REQUEST] Received files by user? by AlfmaniaK on 08-16-2008 at 09:44 PM

quote:
Originally posted by CookieRevised
The only thing you need to do, for what you want, is making a script which changes the BINARY registry key:
HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger\FtReceiveFolder



I don't think this is that simple. The event to trigger the changes in registry should be associated to the send file/receive file, so it could identify the user signed in and wich is receiving the file. So that the script can apply the destination folder before the temp file is moved to its final place.

If I use the OnEvent_Signin(), it isn't useful when I have multiple users signed in. As it only change the destination folder for the last user signed in.

Is there any event trigger that notifys when a file transfer is about to start?
Or maybe the solution is, to receive the file into the default folder, and the script just moves it into the final folder assigned to the user which received the file. ^o)