Shoutbox

suggestion for scripts db - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: General (/forumdisplay.php?fid=11)
+---- Forum: Forum & Website (/forumdisplay.php?fid=13)
+----- Thread: suggestion for scripts db (/showthread.php?tid=78818)

suggestion for scripts db by roflmao456 on 11-06-2007 at 09:23 PM

how about adding an Examples or Tutorials category so the new people who want to make their own script could look at some examples/tutorials :P


RE: suggestion for scripts db by Sunshine on 11-06-2007 at 10:00 PM

http://mpscripts.net/

;)


RE: suggestion for scripts db by MeEtc on 11-06-2007 at 10:25 PM

quote:
Originally posted by Sunshine
http://mpscripts.net/

;)
yes, that would be useful, if there was anything useful on there. Sadly, there is very little content. I agree that it would be helpful, but I get more by browsing / searching the forum and looking at other scripts
RE: suggestion for scripts db by Sunshine on 11-06-2007 at 10:36 PM

quote:
Originally posted by MeEtc
yes, that would be useful, if there was anything useful on there. Sadly, there is very little content. I agree that it would be helpful, but I get more by browsing / searching the forum and looking at other scripts
Maybe if people started participating (again) and put stuff on it? Dempsey is updating the site, surely there's some ppl about here who can help with the content...

(don't look at me...if i could i would...)

RE: suggestion for scripts db by NanaFreak on 11-07-2007 at 05:16 AM

I would help on those forums if it was active... and also maybe make some tutorials for windows =\


RE: suggestion for scripts db by Menthix on 11-07-2007 at 06:48 AM

quote:
Originally posted by Sunshine
http://mpscripts.net/
Agreed. Originally the Scripts DB would have had a tutorials section, but because Dempsey already made a good place for it and i don't want to do things double. All developer resources like tutorials, classes, editors and such should go to mpscripts and i'll happily link to there.

The scripts forum here and the forum on mpscripts.net are a bit double though :p.
RE: RE: suggestion for scripts db by Sunshine on 11-07-2007 at 12:22 PM

quote:
Originally posted by NanaFreak
I would help on those forums if it was active...
If everybody thinks like that it'll never get active :P

Besides it's not forums only, the website needs more content. Once that's there the site can get promoted more and forums will become active automaticly.

There's plenty to do for those who can write Plus! scripts...like submit snippets, write tutorials..

quote:
Originally posted by MenthiX
quote:
Originally posted by Sunshine
http://mpscripts.net/
Agreed.... All developer resources like tutorials, classes, editors and such should go to mpscripts and i'll happily link to there.

[Image: sunnynana.gif]
RE: suggestion for scripts db by -dt- on 11-07-2007 at 12:30 PM

well :P people should make a list of what things they want tutorials for :( I would write a few if there was such a list


RE: suggestion for scripts db by markee on 11-07-2007 at 01:10 PM

The biggest problem with trying to write tutorials is we are being asked so much already how to do stuff that we don't get much time to do it.  Either that or we are too lazy.  I can give some code snippets and that, but there has been some great posts on this forum that need to be collected and just written up I think rather than re-writing the info.

EDIT: Thought I might include my list of bookmarked pages if someone feels like taking the info and putting it up. I do realise that this is a big list and you might not find half this stuff useful but I bookmarked it for some reason (I never checked them before posting) so I hope someone else can gather the info from it all.

There have been way more than this which should also be cataloged too but I cba looking, maybe other people can share their lists too.


http://shoutbox.menthix.net/showthread.php?tid=70704
Silent Messages

http://shoutbox.menthix.net/showthread.php?tid=69875
Messenger Plus Scheduler for Live!

http://shoutbox.menthix.net/showthread.php?tid=69951
RECT type ?

http://shoutbox.menthix.net/showthread.php?tid=75...d=826035#pid826035
[?] Trying to get into the advanced stuff

http://shoutbox.menthix.net/showthread.php?tid=70900
[Library] SliderControl - patchou posted some code which might be useful

http://shoutbox.menthix.net/showthread.php?tid=68...d=753434#pid753434
[Release] Exit WLM - Cookie did the regexp for commands in this thread

http://shoutbox.menthix.net/showthread.php?tid=74609
Gettin data from "/" commands

http://shoutbox.menthix.net/showthread.php?tid=69507
[REQ] - Just a question, pls look =]

http://shoutbox.menthix.net/showthread.php?tid=69644
[?] Plus! Colour Picker?

http://shoutbox.menthix.net/showthread.php?tid=68...d=754666#pid754666
Images

http://shoutbox.menthix.net/showthread.php?tid=69172
Download image from URL and save locally

http://shoutbox.menthix.net/showthread.php?tid=69071
[?] EditControls... but how can I control them?

http://www.mpscripts.net/code.php?id=19
Messenger Plus! Live Script Developer Resource - Code Snippets

http://www.mpscripts.net/code.php?id=25
Messenger Plus! Live Script Developer Resource - Code Snippets

http://www.mpscripts.net/code.php?id=9
Messenger Plus! Live Script Developer Resource - Code Snippets

http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html
Pattern (Java 2 Platform SE v1.4.2)

http://shoutbox.menthix.net/showthread.php?tid=72283
[Thx ;)]Little help for Opendlg and .lnk file pls

http://shoutbox.menthix.net/showthread.php?tid=68431
ScrollBarControl

http://shoutbox.menthix.net/showthread.php?tid=68459
Question (newb) about some api

http://shoutbox.menthix.net/showthread.php?tid=78748
A little advice

http://www.devguru.com/technologies/xmldom/quickref/obj_nodeList.html
DevGuru XML DOM NodeList Object

http://mpwiki.net/Main_Page
Main Page - PlusScriptWiki

http://www.pinvoke.net/
pinvoke.net: the interop wiki!

Anyway, back to studying for my exams....


RE: suggestion for scripts db by Dempsey on 11-07-2007 at 01:16 PM

quote:
Originally posted by -dt-
well :P people should make a list of what things they want tutorials for :( I would write a few if there was such a list
I dunno, I guess starting from scratch simple stuff like:

  • how to do show a Hello World window
  • how to catch menu events
  • how to do stuff based on commands
  • etc


quote:
Originally posted by markee
but there has been some great posts on this forum that need to be collected and just written up I think rather than re-writing the info.
yea exactly, I keep meaning to go through the script forum here and finding some snippets to put on mpscrips, but havent got around to it
RE: suggestion for scripts db by markee on 11-07-2007 at 01:20 PM

quote:
Originally posted by Dempsey
# how to do show a Hello World window
# how to catch menu events
# how to do stuff based on commands
There are examples in the scripting documentation for each of them with their associated functions for the latter 2 and the first has its own page, I think it is falled "My First Script"

RE: suggestion for scripts db by Menthix on 11-07-2007 at 01:32 PM

From own experience with the submitted scripts... I'd like to see tutorials on how to use /commands properly, see Need an example of proper /commands to show to other scripters, and something on a multi language class that allows easy translation, switching languages etc.

Didn't look at Markee's list yet, but having tut's like that together at one place would be awesome to point beginning scripters to.


RE: suggestion for scripts db by markee on 11-07-2007 at 01:45 PM

quote:
Originally posted by MenthiX
I'd like to see tutorials on how to use /commands properly, see Need an example of proper /commands to show to other scripters
I remember sending you a PM ages back telling you about the two methods, RegExp and using a split at the spaces.  The RegExp is the only method I recomend these days, even if the person doesn't understand the code then they can just copy and use it, Cookies posts make things basically fail-safe.

quote:
Originally posted by MenthiX
something on a multi language class that allows easy translation, switching languages etc.
This is quite difficult because there are many things that you can't just change the label of through a script and you have to edit the XML of the interface window before opening it.  This is difficult and has to be made of a per script basis to get the naming of everything correct and understand the methods they use (all ui's in one XML or many XML's for example).  What is easier however is using an interface folder with many XML all filled in and naming them like AboutWindow-en.xml and using the MsgPlus.UILangCode property (I accume by the property name that is the reason for having it).  Although this isn't really a nice method for the translator, it is easier and more accurate for the script writer (although harder to update).
RE: suggestion for scripts db by Matti on 11-07-2007 at 08:15 PM

quote:
Originally posted by markee
This is quite difficult because there are many things that you can't just change the label of through a script and you have to edit the XML of the interface window before opening it.  This is difficult and has to be made of a per script basis to get the naming of everything correct and understand the methods they use (all ui's in one XML or many XML's for example).
Well, I was able to translate everything used in my Log Manager script, from labels to ListView headers and tooltips (big credits to Eljay for these by the way! (y)). The only thing I have trouble with at the moment is that when I try to change the window's caption (the name appearing in the taskbar), Plus! automatically adds a title bar to your window, even if your XML didn't define that it should have one. Also, MenuButtonControl's menus can't be translated, however I can fix this by using ButtonControls who open a "standard" Windows menu (the gray one).

But I wouldn't say that you can only make a script multilingual with the use of multiple XML files or XML re-writing, because it works good (and fast!) in my script. :P
RE: suggestion for scripts db by markee on 11-07-2007 at 10:03 PM

quote:
Originally posted by Mattike
quote:
Originally posted by markee
This is quite difficult because there are many things that you can't just change the label of through a script and you have to edit the XML of the interface window before opening it.  This is difficult and has to be made of a per script basis to get the naming of everything correct and understand the methods they use (all ui's in one XML or many XML's for example).
Well, I was able to translate everything used in my Log Manager script, from labels to ListView headers and tooltips (big credits to Eljay for these by the way! (y)). The only thing I have trouble with at the moment is that when I try to change the window's caption (the name appearing in the taskbar), Plus! automatically adds a title bar to your window, even if your XML didn't define that it should have one. Also, MenuButtonControl's menus can't be translated, however I can fix this by using ButtonControls who open a "standard" Windows menu (the gray one).

But I wouldn't say that you can only make a script multilingual with the use of multiple XML files or XML re-writing, because it works good (and fast!) in my script. :P
That's true, but it is A LOT of code that the user won't understand.  You'll also have to get the using some standardised method in the ini file to be able to tell what kind of control each one is to be able to change it.  I understand that it is possible, but for a new scripter those two methods are the best they'll understand.  These scripts currently use different XML's for each language because they are in different scripts so it's not like it is too difficult to manage them in the way i recommended, it would just be a lot easier i think.  However if you want to write up some code to do it your way then I'm not complaining :P
RE: suggestion for scripts db by Matti on 11-08-2007 at 06:34 PM

Well, I may try one day to merge the classes I use for my translation stuff together, so that script developers can use it to easily make a working, multilingual script. But I'd need a lot of time for that, so the earliest I could start on something similar would be during Christmas holidays... :P