What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » General Chit Chat » should plus,,,

Pages: (2): « First [ 1 ] 2 » Last »
should plus,,,
Author: Message:
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
O.P. should plus,,,
incorporate a python scripting engine as well?
i know if it did i would script:P

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














09-07-2008 12:33 AM
Profile E-Mail PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: should plus,,,
but python needs to be installed... where as jscript is in windows ;)
09-07-2008 12:53 AM
Profile PM Find Quote Report
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
O.P. RE: should plus,,,
quote:
Originally posted by NanaFreak
but python needs to be installed... where as jscript is in windows ;)
quite probably, it may be able to done just using certain dlls, or somehow integrated with plus?
yeah but i just though it might be a good idea as quite a popular language at the moment, not to mention very powerful.

i have a python25.dll which is used for py2exe which might work somehow

This post was edited on 09-07-2008 at 03:36 AM by Jarrod.

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














09-07-2008 03:35 AM
Profile E-Mail PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: should plus,,,
or.... how about patchou implements choice of WSH languages instead of just using jscript, and then you find a python WSH plugin (which i'm sure one exists, as there's one for PHP and stuff?)
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
09-07-2008 01:29 PM
Profile PM Web Find Quote Report
saralk
Veteran Member
*****

Avatar

Posts: 2598
Reputation: 38
35 / Male / Flag
Joined: Feb 2003
RE: should plus,,,
quote:
Originally posted by ShawnZ
or.... how about patchou implements choice of WSH languages instead of just using jscript, and then you find a python WSH plugin (which i'm sure one exists, as there's one for PHP and stuff?)

But that would just complicate things so much, the great thing about the way things currently work is that most scripts will work on most people's computers, if you started adding things like what language it was made in, and do you have the right WSH plugin to use it, the whole thing becomes a lot more complicated, and most of Plus's users aren't that technically minded
The Artist Formerly Known As saralk
London · New York · Paris
Est. 1989
09-07-2008 04:09 PM
Profile PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: should plus,,,
quote:
Originally posted by saralk

But that would just complicate things so much, the great thing about the way things currently work is that most scripts will work on most people's computers, if you started adding things like what language it was made in, and do you have the right WSH plugin to use it, the whole thing becomes a lot more complicated, and most of Plus's users aren't that technically minded

actually, that'd be the easiest way to do it. it'd probably require only a very small change to plus!' code, whereas implementing a whole new scripting engine that uses a completely different API would take forever. if you're worried about users not having the language DLL, you could include it in your scripts and have a section in scriptinfo to register them or something.
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
09-07-2008 04:20 PM
Profile PM Web Find Quote Report
saralk
Veteran Member
*****

Avatar

Posts: 2598
Reputation: 38
35 / Male / Flag
Joined: Feb 2003
RE: should plus,,,
quote:
Originally posted by ShawnZ
actually, that'd be the easiest way to do it. it'd probably require only a very small change to plus!' code, whereas implementing a whole new scripting engine that uses a completely different API would take forever. if you're worried about users not having the language DLL, you could include it in your scripts and have a section in scriptinfo to register them or something.

I was referring to having the option to have any language compatiable with WSH compatiable with plus. I think it should be kept to just javascript (or a select set of languages).

The idea that you could include the DLLs in the script and then register them during installation is even more ridiculous, there would be a ton of redundancy as every PHP script would include an extra DLL, or not every script would include the DLL and people would complain that a certain script doesn't work

Then when you come to installation, it's again, another thing to potentially go wrong. Especially for people who don't know much about computers (which is probably the majority of plus's users) and don't understand why a script wont work because they don't have a WSH plugin.

Right now, things "just work" and I don't think you should mess with that.
The Artist Formerly Known As saralk
London · New York · Paris
Est. 1989
09-07-2008 04:36 PM
Profile PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: should plus,,,
quote:
Originally posted by saralk
The idea that you could include the DLLs in the script and then register them during installation is even more ridiculous, there would be a ton of redundancy as every PHP script would include an extra DLL, or not every script would include the DLL and people would complain that a certain script doesn't work

because plus scripts can't already do that

oh wait, they can. you can register COM and .NET dlls to use in your scripts -- like xniff, etc. also, if you're going out of your way to install and code in a different language when you're developing the script, copying one DLL and adding a line to scriptinfo shouldn't be a problem.


quote:
Originally posted by saralk
Then when you come to installation, it's again, another thing to potentially go wrong. Especially for people who don't know much about computers (which is probably the majority of plus's users) and don't understand why a script wont work because they don't have a WSH plugin.


again, installation of a wsh plugin is just as complicated as registering a com object -- adding a few registry entries. and there are many more reasons scripts can fail to install than just this...
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
09-07-2008 04:59 PM
Profile PM Web Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: should plus,,,
the choice of one language online was made for many resorts. It brings consistency, makes sure everybody gets the same help everytime and technically, it's more difficult that you would think to support many scripting language: each language has its own restrictions, for example, some allow you to pass variables by value, others by reference. I you chose a language that assumes the second, then you're screwed when you'll want to support a language that supports only the first.

Several thigns like that exist for every language and sticking to one language (here, JScript) helps make sure scripting is kept simple, efficient and optimised in its own environement. More choice is not always better.
[Image: signature2.gif]
09-07-2008 08:40 PM
Profile PM Web Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: should plus,,,
You can always make your own script hosting script :P

I made one before that hosted Ruby scripts just as an experiment, basically you just create an instance of ScriptControl (ActiveX) and forward all the events and objects to it.
09-07-2008 08:54 PM
Profile PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » 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