What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Emoticon Saver

Pages: (3): « First [ 1 ] 2 3 » Last »
Emoticon Saver
Author: Message:
wincy
Junior Member
**


Posts: 67
Reputation: 4
34 / Male / Flag
Joined: Feb 2008
O.P. Emoticon Saver
Hey guys, i had nothing to do this afternoon so i made this:

EMOTICON SAVER 1.0
A very simple script for saving (backup) Custom Emoticons.
(Just because there wasn't something like that yet!)

Features:
List all Custom Emoticons in current account
Possibility to Check/uncheck all emoticons' checkboxes
Preview of each emoticon with a double-click
Saves emoticons in a specific created folder.


Ok, it is really really simple, but if someone wants to improve it, can start from there! :)

.plsc File Attachment: EmoSaver.plsc (15.16 KB)
This file has been downloaded 236 time(s).
05-27-2009 08:30 PM
Profile E-Mail PM Find Quote Report
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
RE: Emoticon Saver
Works good :)

Few requests:

-Allow the "Panel" to be resizable, that little window with "Name" and "Path" is too small to see all of the content at the same time.

-Allow to select where you want the files saved

Besides that, works good (y)
05-27-2009 08:40 PM
Profile PM Find Quote Report
warmth
Veteran Member
*****

Avatar
Electronic Engineer

Posts: 1730
Reputation: 26
39 / Male / Flag
Joined: Jul 2003
RE: Emoticon Saver
Sorry but It doesn't work for me... I think is maybe cause I am using WLM, MP!L and Windows Vista SP2... all in spanish! so path aren't the same... and you are not using local/global environment variables!
@warmth - Beta Testing a life!
Official Nokia (former Ovi) Suite Beta Tester | Nokia Beta Labs Contributor of the month (June, 2011)
05-28-2009 12:58 AM
Profile PM Web Find Quote Report
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
36 / Male / Flag
Joined: Jul 2007
RE: Emoticon Saver
Here it works perfectly. In fact it loops through the enumeration Messenger.CustomEmoticons and stores the ones you check with the checkboxes (!) in a random folder inside the script directory.

Windows Vista Home Premium Service Pack 2 (6.0.6002)
Windows Live Messenger 14.0.0206
MessengerDiscovery 2.0.43
LiveScratcher
Messenger Plus! Live 4.81.0.358
Skin: fuse 1.0.1
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
05-28-2009 07:06 AM
Profile E-Mail PM Web Find Quote Report
wincy
Junior Member
**


Posts: 67
Reputation: 4
34 / Male / Flag
Joined: Feb 2008
O.P. RE: RE: Emoticon Saver
quote:
Originally posted by warmth
Sorry but It doesn't work for me... I think is maybe cause I am using WLM, MP!L and Windows Vista SP2... all in spanish! so path aren't the same... and you are not using local/global environment variables!

It shouldn't make difference the language you are using.
The script saves emoticons in "CFolder", which is:
var CFolder = MsgPlus.ScriptFilesPath+"\\"+DateDemo()+"_"+rand;
(DateDemo() like day_month_year and rand a random number)
And those path should be always valid.

Maybe the problem is Vista SP2 but mynetx seems not to have problems. What does Debug for Script says?

@SonicSam: I wouldn't show each emoticon path (i put width="0" and Visible="False" in path column) because it's not necessary, in my opinion. Selection of saving folder is a great idea.

Thanks for all comments and testing! :)
05-28-2009 12:14 PM
Profile E-Mail PM Find Quote Report
Moh
Senior Member
****


Posts: 553
Reputation: 10
– / Male / Flag
Joined: Dec 2008
RE: Emoticon Saver
Nice idea. (Y)

Is it possible to make the small preview change to the selected emoticon when switching between emoticons using the keyboard (beside the one click)?
05-28-2009 12:52 PM
Profile PM Find Quote Report
wincy
Junior Member
**


Posts: 67
Reputation: 4
34 / Male / Flag
Joined: Feb 2008
O.P. RE: Emoticon Saver
Hum.. I don't think it's possible switch items using keyboard for this, because MsgPlus doesn't capture the event. Correct me if i'm wrong...
05-28-2009 01:12 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Emoticon Saver
Javascript code:
function OnWindowIdEvent_LstViewSelStateChanged(pPlusWnd, sControlId, nItemIdx, bSelectedState) {
    if (nItemIdx === -1) return false;    // no item selected or white space clicked
 
    /*
        Do stuff here
    */

}

05-28-2009 01:49 PM
Profile E-Mail PM Find Quote Report
wincy
Junior Member
**


Posts: 67
Reputation: 4
34 / Male / Flag
Joined: Feb 2008
O.P. RE: Emoticon Saver
Thanks! :)
Moh, it's possible to change selection with keyboard by adding this:

function OnWndAboutEvent_LstViewSelStateChanged(PlusWnd, ControlId, ItemIdx, SelectedState) {
    if(ItemIdx === -1){ return false; }
    if(SelectedState==true){
        Pid = PlusWnd.LstView_GetItemText(ControlId, ItemIdx, 1);
        PlusWnd.ImageElmt_SetImageFile('avatar', '\\'+Pid);
    }
}
05-28-2009 02:06 PM
Profile E-Mail PM Find Quote Report
warmth
Veteran Member
*****

Avatar
Electronic Engineer

Posts: 1730
Reputation: 26
39 / Male / Flag
Joined: Jul 2003
RE: Emoticon Saver
:( I wanna use it... but it doesn't work for me...
@warmth - Beta Testing a life!
Official Nokia (former Ovi) Suite Beta Tester | Nokia Beta Labs Contributor of the month (June, 2011)
05-28-2009 03:01 PM
Profile PM Web Find Quote Report
Pages: (3): « First [ 1 ] 2 3 » Last »
« Next Oldest Return to Top Next Newest »


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