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

Template message
Author: Message:
Fisher
New Member
*


Posts: 6
35 / Male / Flag
Joined: Jan 2012
O.P. Template message
Hello

I use my msn to write a lot of same stuff, for instance welcoming a new friend or something like that. Is it possible to make a button/rightclick/macro or similar (really not the best scripter, so I'm leaving the best solution choice to you guys) where the message is always the same, but the name is different, for instance "Hi <name> bla bla", where I would click the button in the conversation window or rightclick somewhere and I would get an input box of some kind where I would simply write down the name, after which the script would send the message template to whichever window is focused.

Is something like that possible? If you need more details please don't hesitate to contact me here or via pm.


Thank you for your time and have a great day!
Fisher
01-19-2012 09:48 AM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Template message
Such functionality is already build into Plus! as a basic feature.
You do not need any scripting for that...

Go to the Quick Text options and create a quicktext, using the (!P) tag. You can assign either a macro command or a predefined hotkey. When the command or hotkey is entered a popup will appear where you can fill in the variable paramater....

Plus! > Preferences & Options > Features > Quick Texts

Example:
[Image: attachment.php?pid=1018760]


If you want anything more fancy you do need scripts though.

.jpg File Attachment: plus_quicktext_parameters.jpg (95.71 KB)
This file has been downloaded 341 time(s).
.-= A 'frrrrrrrituurrr' for Wacky =-.
01-19-2012 10:13 AM
Profile PM Find Quote Report
Fisher
New Member
*


Posts: 6
35 / Male / Flag
Joined: Jan 2012
O.P. RE: Template message
Whoa I didn't know it works like this. Thanks a lot buddy, I owe you a beer or something :)

Have a great day!
Fisher
Oh 1 more thing, I forgot about this, is there a way to use 1 shortcut to send something to all open chats? Or everyone online thats in a certain MSN cathegory such as "Friends" ? Its always the same text etc, I just wanna hit lets say alt + shift + g and it should write the same for everyone, either open chats or to all my Friends.

Thank you and have a great day!
Fisher
01-19-2012 11:09 AM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Template message
Start your message with /all to send it to all open conversation windows
<Eljay> "Problems encountered: shit blew up" :zippy:
01-19-2012 12:43 PM
Profile PM Find Quote Report
Fisher
New Member
*


Posts: 6
35 / Male / Flag
Joined: Jan 2012
O.P. RE: Template message
THANK YOU! I love you guys <3

Have a great day!!!!
01-19-2012 12:57 PM
Profile PM Find Quote Report
Fisher
New Member
*


Posts: 6
35 / Male / Flag
Joined: Jan 2012
O.P. RE: Template message
One more small thing, how do i use (!P) for 2 different inputs? For instance I wanna say Hello (!P) how would you like some (!P) today?

They are different words so I need 2 input boxes, should I just add something or..?

Thanks and have a great day!
Fisher

Edit : when I use /all message it does send to all, but it writes /all just for first windows for instance : /all message
and for rest it just writes message, any way to avoid this? Thanks!

Edit 2 : I made /all work by making it work on hotkey rather then / command. I still need the 2 variable command tho :)

This post was edited on 01-19-2012 at 01:14 PM by Fisher.
01-19-2012 01:05 PM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Template message
Not an expert on quick texts, but I think if you use a second (!P) it should ask you to set it the same as the first in another window (one after the other)
<Eljay> "Problems encountered: shit blew up" :zippy:
01-19-2012 04:30 PM
Profile PM Find Quote Report
Fisher
New Member
*


Posts: 6
35 / Male / Flag
Joined: Jan 2012
O.P. RE: Template message
I've tried that but if I put (!P) twice, it asks for input only once and I then replaces both (!P) with the same thing, however, I need it to be different. Tried (!P1) as well :P
01-19-2012 06:48 PM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Template message
quote:
Originally posted by Fisher
I've tried that but if I put (!P) twice, it asks for input only once and I then replaces both (!P) with the same thing, however, I need it to be different. Tried (!P1) as well :P
You can't use it for more than one input (as you've already noticed). There is no other usable tag for multiple inputs.
If you want anything more than a single input via a standard input dialog popup, you'd need to create a script.

quote:
Originally posted by Fisher
Edit : when I use /all message it does send to all, but it writes /all just for first windows for instance : /all message
and for rest it just writes message, any way to avoid this? Thanks!
I'm afraid you just discovered a bug :P

It is not suppose to do that; it should actually _not_ parse the '/all' command at all, in no window, if you have selected 'normal' mode as line break up type (which is selected by default when you create a new Quick Text).

However, it will work as intended if you select 'create multiple messages' for the line break type.

In 'multiple messages' mode you can enter a different individual messages or commands on each new line in the text box.
In 'normal' mode the whole contents of the text box is seen (at least should be seen) as one literal message, thus without command interpretation.

In other words, if you use a command as text (like /all blahblah), you must select 'multiple messages' as line break type.

This post was edited on 01-19-2012 at 07:57 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
01-19-2012 07:33 PM
Profile PM Find Quote Report
Fisher
New Member
*


Posts: 6
35 / Male / Flag
Joined: Jan 2012
O.P. RE: Template message
Hello

Yeah thanks for input on that, but it somehow works if you put hotkey instead of /spam command there :D

About the 2 variables here's the deal :

I usually write something like :

Hello bla bla on *name* bla bla *ammount*

Now here's the kicker. Instead of name, I can put a word one of about 250. Instead of ammount, most of the time its fixed, but sometimes not. So a dropdown menu for name would be okay, but i'd rather simply have the box where I type in what its suppose to say.

How hard would that be to make? I'm really not a scripter, so any help would be deeply appreciated! I'm also up for the dropdown menu for *name* if that is easier, but whoever helps me make this would have to explain how do I input 250 different names to choose from.

Thank you so much for your help, and have a great day!
Fisher
01-19-2012 08:51 PM
Profile PM Find Quote Report
« 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