Shoutbox

Autosave Photosharing files - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Skype & Live Messenger (/forumdisplay.php?fid=10)
+----- Thread: Autosave Photosharing files (/showthread.php?tid=92726)

Autosave Photosharing files by jsheeler on 10-29-2009 at 05:27 PM

Hello there,
I have been searching and searching for a way to automatically have a shared photo save to my HD.  It is kind of a pain to click on the 'disk' icon to download the hi-res photos.

Is this possible?

Thanks,

Jeff


RE: Autosave Photosharing files by MegaScience on 02-17-2011 at 09:34 PM

I know this is a massive bump, but I have the same question. Is this possible to be done through Messenger Plus?


RE: Autosave Photosharing files by CookieRevised on 02-18-2011 at 12:07 PM

quote:
Originally posted by MegaScience
I know this is a massive bump, but I have the same question. Is this possible to be done through Messenger Plus?
Not via scripting. If something like this is to be added it needs to be added as a buildin feature in Plus! itself.

An alternative would be to completely disable photosharing (by hacking Messenger) and enable auto-accept file requests.

Other than that, let your contacts zip all the photo's and enable 'auto-accept for files' in Messenger Plus!. This will automatically save the recieved files in your recieved files folder set in Messenger.

;)
RE: Autosave Photosharing files by MegaScience on 02-19-2011 at 12:34 AM

quote:
Originally posted by CookieRevised
-Not via scripting. If something like this is to be added it needs to be added as a buildin feature in Plus! itself.

An alternative would be to completely disable photosharing (by hacking Messenger) and enable auto-accept file requests.

Other than that, let your contacts zip all the photo's and enable 'auto-accept for files' in Messenger Plus!. This will automatically save the recieved files in your recieved files folder set in Messenger.

;)

Ah well, that is sad. Some people will send important images, but do not want you to save them. As such, they close the photo share right away,so the "Save Photo" feature grays out. In such a case, this might not even work. But I'd at least like to save those cached preview images from it. Some images are small enough that there doesn't seem to be any quality degradation.

Maybe there's another way?
RE: Autosave Photosharing files by CookieRevised on 02-19-2011 at 02:47 AM

Ah, so you want to save images which the author don't want you to save :p

In that case, you might indeed look for the cached images. Dunno exactly where they are stored though. Maybe someone else knows or can test it quickly (don't have the time to do it at the moment)


RE: RE: Autosave Photosharing files by MegaScience on 02-19-2011 at 03:28 AM

quote:
Originally posted by CookieRevised
Ah, so you want to save images which the author don't want you to save :p

In that case, you might indeed look for the cached images. Dunno exactly where they are stored though. Maybe someone else knows or can test it quickly (don't have the time to do it at the moment)

I checked Temporary Internet Files, didn't find anything Photo Share related. I actually found new friend's MSN Display Pictures, though. Sad I can't figure out where they'd go... But that's why I'd wanted auto-save.

Meh. It's really annoying Google returns nothing on the cache, saving images after the partner has closed, etc.
RE: Autosave Photosharing files by pollolibredegrasa on 02-19-2011 at 12:59 PM

Just tested using WLM 14.0.8117 on Windows Vista and the images got stored with a random filename in "C:\Users\<username>\AppData\Local\Temp\MessengerCache".

Two images get created; a small one which is what you see down the side of the window in the "select photo" area, and the bigger image which you see in the conversation itself.

You can copy these files somewhere else and give them the right file extension to save them permanently, and it's possible to do this using a script, though you'd have to run it manually by entering a command or clicking a menu item - I'm not sure if it's possible to get it to run automatically when a photo sharing invite is accepted.

The only problem with the above is that the folder also gets used to store other things, such as display pictures, so you'd need to either look at all the pictures and select the right one, or find some other way of determining which files are the ones created by photo sharing.

There is also a folder at C:\Users\<username>\AppData\Local\Microsoft\Messenger\<your email>\ObjectStore\Photoshare which gets queried when photo sharing is started, but as far as I can tell, this just stores images that you share and not images sent to you...


RE: RE: Autosave Photosharing files by MegaScience on 02-20-2011 at 09:34 AM

quote:
Originally posted by pollolibredegrasa
Just tested using WLM 14.0.8117 on Windows Vista and the images got stored with a random filename in "C:\Users\<username>\AppData\Local\Temp\MessengerCache".

Two images get created; a small one which is what you see down the side of the window in the "select photo" area, and the bigger image which you see in the conversation itself.

You can copy these files somewhere else and give them the right file extension to save them permanently, and it's possible to do this using a script, though you'd have to run it manually by entering a command or clicking a menu item - I'm not sure if it's possible to get it to run automatically when a photo sharing invite is accepted.

The only problem with the above is that the folder also gets used to store other things, such as display pictures, so you'd need to either look at all the pictures and select the right one, or find some other way of determining which files are the ones created by photo sharing.

There is also a folder at C:\Users\<username>\AppData\Local\Microsoft\Messenger\<your email>\ObjectStore\Photoshare which gets queried when photo sharing is started, but as far as I can tell, this just stores images that you share and not images sent to you...

I use Windows XP. I was able to find C:\Documents and Settings\<username>\Local Settings\Application Data\Microsoft\Messenger\<your email>\ObjectStore\Photoshare in comparison to your C:\Users\<username>\AppData\Local\Microsoft\Messenger\<your email>\ObjectStore\Photoshare, but not MessengerCache at C:\Documents and Settings\<username>\Local Settings\Application Data\Temp\MessengerCache Odd they don't directly correspond... Any ideas?

Edit: Found it at C:\Documents and Settings\<username>\Local Settings\Temp\MessengerCache. Maybe this could be in some documentation... Meh.

Edit2: I composed a simple batch code to simply throw all the files into another folder as Jpg images. Maybe it can be of use.

code:
copy "C:\Documents and Settings\<username>\Local Settings\Temp\MessengerCache\*" "F:\<username>\Desktop\Pics\MessengerCache\*.jpg"
pause

Of course, you'd replace the locations accordingly, but that's how it worked for me.
RE: Autosave Photosharing files by CookieRevised on 02-20-2011 at 10:44 AM

quote:
Originally posted by MegaScience
Edit: Found it at C:\Documents and Settings\<username>\Local Settings\Temp\MessengerCache. Maybe this could be in some documentation... Meh.
Note: Those directories highly depend on how your system is set up: admin account, multiple normal user accounts, no accounts, etc... The directories will change according to this... For example, on my XPSP3 system the MessengerCache is in C:\Windows\Temp\.

quote:
Originally posted by MegaScience
Edit2: I composed a simple batch code to simply throw all the files into another folder as Jpg images. Maybe it can be of use.

code:
copy "C:\Documents and Settings\<username>\Local Settings\Temp\MessengerCache\*" "F:\<username>\Desktop\Pics\MessengerCache\*.jpg"
pause

Small note: not all images are JPGs! Many of them are actually PNGs and even some are GIFs, and there also other types of files in that cache.

Renaming them all to JPG might work if you have a picture viewer which doesn't care about the file extension but actually looks at the binary contents of the file to determine the type of image.

But even so, you should be carefull with that. Not all programs ignore the extension and thus you might come across "invalid image" errors in various programs and you might mistakenly think the images are corrupted because of that, while in fact it is just their file extension which is wrong.

;)
RE: RE: Autosave Photosharing files by MegaScience on 02-20-2011 at 10:04 PM

quote:
Originally posted by CookieRevised
Note: Those directories highly depend on how your system is set up: admin account, multiple normal user accounts, no accounts, etc... The directories will change according to this... For example, on my XPSP3 system the MessengerCache is in C:\Windows\Temp\.

Ah... I updated to SP3, and it still went there... Guess what Service Pack started out on matters.

quote:
Originally posted by CookieRevised
Small note: not all images are JPGs! Many of them are actually PNGs and even some are GIFs, and there also other types of files in that cache.

Renaming them all to JPG might work if you have a picture viewer which doesn't care about the file extension but actually looks at the binary contents of the file to determine the type of image.

But even so, you should be carefull with that. Not all programs ignore the extension and thus you might come across "invalid image" errors in various programs and you might mistakenly think the images are corrupted because of that, while in fact it is just their file extension which is wrong.

;)

I know they're not all .jpg, but my cache is quite large and I wouldn't have time to check each one. How else would I be able to tell? I suppose there's some programs out there that can do quick checks for me... If so, could you tell me? I have no idea what to search.

So far, setting the folder I sent these into to Thumbnail view has not shown problems. Everything in there came out displaying right, and 99% sure because of it checking binary while knowing they're images.
RE: Autosave Photosharing files by CookieRevised on 02-21-2011 at 12:11 PM

quote:
Originally posted by MegaScience
Ah... I updated to SP3, and it still went there... Guess what Service Pack started out on matters.
Nope, service pack doesn't realy matter. It's how you have set up your user accounts (or lack of). And of course the OS you're using (XP, Vista, ...)

You can find the proper path by getting Windows' temporary directory (also see the Windows environment variable %TEMP% or %TMP%) and add "MessengerCache" to it.

Thus, for your batch file, this should return the proper path:
%TEMP%\MessengerCache

quote:
Originally posted by MegaScience
So far, setting the folder I sent these into to Thumbnail view has not shown problems. Everything in there came out displaying right, and 99% sure because of it checking binary while knowing they're images.
correct

;)
RE: Autosave Photosharing files by Arcticwolfx on 02-21-2011 at 12:17 PM

Does the batch file need to be ran every time or would an automated start-up on Boot suffice?

I suppose a "folder synchronizing" application could be used, set to copy one way only.

Where did Windows Live Messenger's own "Shared Folder" go anyway? I've never used it, haven't kept track of it's updates or removal. Personally I would love a well designed Context Menu entry.

(Select files in any directory, right click, Send to > Messenger Contact > Name)


RE: Autosave Photosharing files by CookieRevised on 02-21-2011 at 12:35 PM

quote:
Originally posted by Arcticwolfx
Does the batch file need to be ran every time or would an automated start-up on Boot suffice?
It needs to run everytime. It simply copies what is in the cache to a directory you have specified in the batch file, there is no automation at all.

quote:
Originally posted by Arcticwolfx
I suppose a "folder synchronizing" application could be used, set to copy one way only.
it could indeed.

PS: for stuff like this there are some programs/tools specific for Messenger though. Most were made in the MSN Messenger-age (to steal your contact's DP). But I dunno how up-to-date such programs/tools are, or if there is one which will work with the new cache directory.

See old threads about 'stealing contact display pictures'.

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

[off topic]

quote:
Originally posted by Arcticwolfx
Where did Windows Live Messenger's own "Shared Folder" go anyway? I've never used it, haven't kept track of it's updates or removal.
'Shared Folders' was a feature of MSN Messenger 8.0 or something (dunno exactly anymore, but it's old :p). It has been removed since a long time in favor of the much more versatile SkyDrive.

quote:
Originally posted by Arcticwolfx
Personally I would love a well designed Context Menu entry.
(Select files in any directory, right click, Send to > Messenger Contact > Name)
You might be interested in the 'SendTo' script.
http://www.msgpluslive.com/scripts/view/181-SendTo/
http://www.msgpluslive.net/Downloads/Download-Details/DocumentID/8415/

Note: on XP you can send a file directly via the context menu. On Vista or higher you need to select a contact from a list.

[/off topic]

RE: RE: Autosave Photosharing files by MegaScience on 02-21-2011 at 10:41 PM

quote:
Originally posted by CookieRevised
Nope, service pack doesn't realy matter. It's how you have set up your user accounts (or lack of). And of course the OS you're using (XP, Vista, ...)

You can find the proper path by getting Windows' temporary directory (also see the Windows environment variable %TEMP% or %TMP%) and add "MessengerCache" to it.

Thus, for your batch file, this should return the proper path:
%TEMP%\MessengerCache

correct

;)

Ah, that's work? I was thinking there's different Temp folders, so something like that wouldn't work correctly. Maybe replace the username with whatever %% is for the current user.

Also... I'm sure there's programs for reading files and assigning correct filetypes... right? What would they be called?