What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] Facebook Status as PSM v1.31

Pages: (9): « First « 1 2 3 [ 4 ] 5 6 7 8 » Last »
[Release] Facebook Status as PSM v1.31
Author: Message:
djdannyp
Elite Member
*****

Avatar
Danny <3 Sarah

Posts: 3546
Reputation: 31
37 / Male / Flag
Joined: Mar 2006
O.P. RE: [Release] Facebook Status as PSM v1.21
The prefix is used for if you want something to appear before the facebook status in your PSM, so for example you might want:

"Facebook Status: Danny is happy"

the bit in italics would be the prefix.  It's an optional thing, if you just leave it blank it will just display your status as the personal message.

You find the feed link by clicking on the link in the options window, then scrolling to where you can see 'My Status', then right click on that and choose 'copy' then right click in the feed link box in the options window and choose paste.

That's all explained in the first post :)
[Image: 1ftt0hpk-signature.png]
AutoStatus Script || Facebook Status Script
5215 days, 4 hours, 12 minutes, 12 seconds ago
02-18-2009 11:57 AM
Profile E-Mail PM Find Quote Report
msn-fun-de
New Member
*

Avatar

Posts: 9
45 / – / Flag
Joined: Jan 2009
RE: [Release] Facebook Status as PSM v1.21
Nice, can translate in German , plaese :D ?
http://www.MSN-fun.de - We love MSN and WLM :D
02-23-2009 02:42 PM
Profile E-Mail PM Web Find Quote Report
djdannyp
Elite Member
*****

Avatar
Danny <3 Sarah

Posts: 3546
Reputation: 31
37 / Male / Flag
Joined: Mar 2006
O.P. RE: RE: [Release] Facebook Status as PSM v1.21
quote:
Originally posted by msn-fun-de
Nice, can translate in German , plaese :D ?

Sure, please translate the following:

Settings Window
  • Settings
  • Click to find feed link
  • Prefix
  • Feed Link
  • Timer
  • Mins (short for minutes)
  • Save
  • Close


About Window
  • About
  • This script was created by
  • German translation (not yet present, but will be added to give you thanks)

This post was edited on 02-23-2009 at 07:55 PM by djdannyp.
[Image: 1ftt0hpk-signature.png]
AutoStatus Script || Facebook Status Script
5215 days, 4 hours, 12 minutes, 12 seconds ago
02-23-2009 07:54 PM
Profile E-Mail PM Find Quote Report
LeoXavior
New Member
*


Posts: 1
Joined: Feb 2009
RE: [Release] Facebook Status as PSM v1.22
Would it be possible to add an option to filter out your name from the front of the text. Something like a checkbox to enable the option which enables an input box where the user can input there name, then delete the first part of the string from the facebook status msg.

Example Facebook status:
LeoXavior is suggesting a new feature|option!

Example Msn status would become:
Suggesting a new feature|option!
02-24-2009 07:35 AM
Profile E-Mail PM Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
32 / Male / Flag
Joined: Dec 2004
RE: [Release] Facebook Status as PSM v1.22
I know all this is probably hard work and you won't know how to do half of the stuff, but feedback is better than no feedback. Hopefully this helps you out to improve the script, as it's thumbs up from me so far. :)

Bug #1
Sometimes it simply doesn't work. Unsure of the reason. Also doesn't update straight away after saving settings.

Bug #2
Saved the settings, then status eventually showed in psm. I later cleared my psm and then next time I went to use the script my settings had been cleared. (see Suggestion #2)

Suggestion #1
If possible, I'd like to see how long ago the status was submitted. Example:

quote:
Chris is watching TV. [3 hours ago]

Suggestion #2
An ON/OFF button.

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

Also found this in the Script Debugger, if it helps.

code:
Script is starting
Script is now loaded and ready
Function called: OnEvent_Initialize
Error: unknown (code: -2147418113)
       File: Facebook Status.js. Line: 12.
Function OnEvent_Initialize returned an error. Code: -2147352567
Twitter: @ChrisLozeau
02-25-2009 11:59 PM
Profile PM Find Quote Report
djdannyp
Elite Member
*****

Avatar
Danny <3 Sarah

Posts: 3546
Reputation: 31
37 / Male / Flag
Joined: Mar 2006
O.P. RE: [Release] Facebook Status as PSM v1.22
quote:
Originally posted by LeoXavior
Would it be possible to add an option to filter out your name from the front of the text. Something like a checkbox to enable the option which enables an input box where the user can input there name, then delete the first part of the string from the facebook status msg.

Example Facebook status:
LeoXavior is suggesting a new feature|option!

Example Msn status would become:
Suggesting a new feature|option!


I have looked into this and unfortunately I don't think it's possibe, certainly not easily.  If I had better coding knowledge then it might have been possible when the facebook status was automatically prefaced by 'is' as it might have been possible to remove the first two words....but with variable second words I don't think it would work.

quote:
Originally posted by Chris4
I know all this is probably hard work and you won't know how to do half of the stuff, but feedback is better than no feedback. Hopefully this helps you out to improve the script, as it's thumbs up from me so far. :)

Bug #1
Sometimes it simply doesn't work. Unsure of the reason. Also doesn't update straight away after saving settings.


When it doesn't work it could be that the 'key' part of the Feed Link has changed, not much I can do about that really.  Also, it won't update straight away after saving settings, it will update after however long the timer is set to.

quote:
Originally posted by Chris4

Bug #2
Saved the settings, then status eventually showed in psm. I later cleared my psm and then next time I went to use the script my settings had been cleared. (see Suggestion #2)


There's no reason why your settings should have been cleared, even if you do clear your psm.  Can you repeat this?  Next time it happens check the registry at HKCU>Software>Patchou>Messenger Plus! Live>GlobalSettings>Scripts>Facebook Status>Settings>e-mail address and see if the settings are still showing there (as that's where they get stored)

quote:
Originally posted by Chris4

Suggestion #1
If possible, I'd like to see how long ago the status was submitted. Example:

quote:
Chris is watching TV. [3 hours ago]



Not sure if this is possible, I'll look into it

quote:
Originally posted by Chris4

Suggestion #2
An ON/OFF button.


That definitely can't be done, if you don't want it to operate anymore, then to go the script preferences screen and untick the script (to deactivate it), it won't be uninstalled, simply turned off

quote:
Originally posted by Chris4

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

Also found this in the Script Debugger, if it helps.

code:
Script is starting
Script is now loaded and ready
Function called: OnEvent_Initialize
Error: unknown (code: -2147418113)
       File: Facebook Status.js. Line: 12.
Function OnEvent_Initialize returned an error. Code: -2147352567


Hmm, obviously some of the settings from the registry have been deleted.

Disable the script, then go to that registry location above and delete the whole 'Facebook Status' key

Then re-enable the script and it should be okay again
[Image: 1ftt0hpk-signature.png]
AutoStatus Script || Facebook Status Script
5215 days, 4 hours, 12 minutes, 12 seconds ago
02-26-2009 11:16 AM
Profile E-Mail PM Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
32 / Male / Flag
Joined: Dec 2004
RE: RE: [Release] Facebook Status as PSM v1.22
quote:
Originally posted by djdannyp
When it doesn't work it could be that the 'key' part of the Feed Link has changed, not much I can do about that really.  Also, it won't update straight away after saving settings, it will update after however long the timer is set to.

Just would have thought there would have been a way to check it immediately, then carry on with the timer. If the timer is set to 5mins, you have to wait exactly 5mins before it's updated. Same for 10mins, 15mins, etc.

quote:
Originally posted by djdannyp
There's no reason why your settings should have been cleared, even if you do clear your psm.  Can you repeat this?  Next time it happens check the registry at HKCU>Software>Patchou>Messenger Plus! Live>GlobalSettings>Scripts>Facebook Status>Settings>e-mail address and see if the settings are still showing there (as that's where they get stored)

I can't really repeat it constantly, but I did manage to do it again and I checked the registry settings and they were still there, they didn't change, yet the fields showed blank for some reason.

quote:
Originally posted by djdannyp
That definitely can't be done, if you don't want it to operate anymore, then to go the script preferences screen and untick the script (to deactivate it), it won't be uninstalled, simply turned off

I don't see why not? Isn't it possible to, with a button click, clear the psm and turn the timer off?

quote:
Originally posted by djdannyp
Hmm, obviously some of the settings from the registry have been deleted.

Disable the script, then go to that registry location above and delete the whole 'Facebook Status' key

Then re-enable the script and it should be okay again
Ok, done.
Twitter: @ChrisLozeau
02-26-2009 11:01 PM
Profile PM Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: [Release] Facebook Status as PSM v1.22
I REALLY think you should include an update now button (for those who've increased the check interval) and a refresh of sorts for when you change the prefix :)

Update: I rebooted the comp and this morning, to my surprise, it didn't have my settings saved :-/ I am logged into Facebook already. Are you sure you've saved the settings to file? If so, did you test it with UAC?
If I'm not too bored, I might go through your code, if you don't mind me editing it a bit if I need to :) I'll let you know if I feel there is something a bit out of order :)
and no.. I've not read the rest of the thread yet :P

Edit: djdannyp, could you add me on WLM? I'd like to talk to you for a bit about this script :) My address should be in your (forum PM) inbox :)

This post was edited on 03-05-2009 at 10:43 AM by John Anderton.
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
03-04-2009 04:58 PM
Profile E-Mail PM Web Find Quote Report
Father_Parsley
New Member
*


Posts: 5
– / – / Flag
Joined: Mar 2009
RE: RE: [Release] Facebook Status as PSM v1.22
quote:
Originally posted by djdannyp
quote:
Originally posted by LeoXavior
Would it be possible to add an option to filter out your name from the front of the text. Something like a checkbox to enable the option which enables an input box where the user can input there name, then delete the first part of the string from the facebook status msg.

Example Facebook status:
LeoXavior is suggesting a new feature|option!

Example Msn status would become:
Suggesting a new feature|option!


I have looked into this and unfortunately I don't think it's possibe, certainly not easily.  If I had better coding knowledge then it might have been possible when the facebook status was automatically prefaced by 'is' as it might have been possible to remove the first two words....but with variable second words I don't think it would work.

i'd like that too.
variable second words? you mean if the second word not always is "is"?
but can't you just check for the spaces?
string[0] -> First space = one word
string[0] -> Second space =  two words
?

Or just make a box where one can type how many letters one wants to remove from the string?

or, if you don't have the time, is there a possibility to edit the code one self?

if (sPsm !== newPsm)
{
Messenger.MyPersonalMessage = sPrefix + " " + newPsm;
}



This post was edited on 03-06-2009 at 05:30 PM by Father_Parsley.
03-06-2009 05:28 PM
Profile E-Mail PM Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: [Release] Facebook Status as PSM v1.22
as Father_Parsley said, its quite easily possible :) Just ignore the first two words of the string :P
And oh, make the first letter of the third sentence into upper char :)

Update: Try this on for size :)
code:
var str="John is doing his job which is to study!";
str = str.substring(str.indexOf("is")+3);
str = str.substring(0,1).toUpperCase() + str.substring(1);
Debug.Trace(str);

To test it out, go to W3School's Tryit Editor 1.4 and use the following code :)
code:
<html>
<body>

<script type="text/javascript">

var str="John is doing his job which is to study!";
str = str.substring(str.indexOf("is")+3);
str = str.substring(0,1).toUpperCase() + str.substring(1)
document.write(str + "<br />");

</script>

</body>
</html>

This post was edited on 03-06-2009 at 05:42 PM by John Anderton.
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
03-06-2009 05:32 PM
Profile E-Mail PM Web Find Quote Report
Pages: (9): « First « 1 2 3 [ 4 ] 5 6 7 8 » 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