What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » [Suggestion] *.LNK Plugin

[Suggestion] *.LNK Plugin
Author: Message:
Menthix
forum admin
*******

Avatar

Posts: 5537
Reputation: 102
40 / Male / Flag
Joined: Mar 2002
RE: [Suggestion] *.LNK Plugin
quote:
Originally posted by Jaguar
1. Plus! can execute a .lnk file with the scheduler already.. so there would be no need to make up a new file. The advantage of having it a .lnk file is that it's totally Window compatible.
Scheduler does use shell indeed to execute everything, nice :). Any extension can be made windows compitable without much work. My point is that .lnk is meant to be purely a shortcut to another file. A .lnk file itself doesn't contain any other data besides the name and location of the file it should execute, optionally it can has one or more comman line switches.

So when you use pure .lnk you can only store the whole "script" in the shortcut itself by using the command line switches, or have the "script" stored somewhere else and make the .lnk shortcut refer to this. Both methods have downsides:
- .lnk is used, also by by non-plus! users, when they doubleclick these Plus! "scripts" Windows will still try to execute, causing errors.
- The actual "scripts" themselves have to be stored somewhere anyway, when they are stored somewhere in seperate files people can exchange them with eachother on MSN and sites which will boost popularity big time. Ofcourse you can store the "scripts" in .lnk files too, but it must be on one command line, which will be very messy with bigger "scripts", also see point above here.


quote:
Originally posted by Jaguar
2. & 4. Why would you want other people to be able to run commands on your computer?
Many reason, ever did scripting in mIRC or simulair? It's great to have automatic response to certain message/commands. But i understand such things might be to advanced to create in a plugin, certainly for a new plugin.



quote:
Originally posted by Jaguar
3. Plus! already has a delay funtion in quick texts so you could just use that. (I can't remember the command.)
That's true, forgot about that for a moment (even while i was the one requesting it once :O).


quote:
Originally posted by Jaguar
5. The whole point is making them .lnk files so Windows and other programs can use them.
I understand and agree with that. My main point is just that:
- It's not a good idea to store the actual "script" code in a .lnk file
- I think the "scripts" should be stored in seperate files (with other extensions then .lnk) so people can send them to eachother, publish them on sites and such. If you store the "scripts" in either registry, one big file or some kind of database type you would have to import/export "scripts" first which makes it less simple to use.

To be able to run "scripts" from any program there should be something that handles them from command line. Something like:
code:
"C:\Program Files\Messenger Plus! 3\Plugins\scriptlauncher.exe" -run c:\Program Files\Messenger Plus! 3\Plugins\somescript.mps
Took .mps as extension for the file that contains the "script" code (Messenger Plus! Script).



quote:
Originally posted by Stigmata
code:
private sub Form_Load(command as string)
if command = "status=busy" then
messengerapi.mystatus = 2
else
Msgbox "Command Not Reconised"
end if
end sub

Nice, but i prefer pure simple syntax as Jaguar showed in his picture, altough it would require way more programming to be able to use advanced functions in simple syntax mode.
Finish the problem
Menthix.net | Contact Me
12-31-2004 07:18 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Suggestion] *.LNK Plugin - by John on 12-21-2004 at 07:21 PM
RE: [Suggestion] *.LNK Plugin - by Millenium_edition on 12-21-2004 at 07:28 PM
RE: [Suggestion] *.LNK Plugin - by user27089 on 12-21-2004 at 07:49 PM
RE: [Suggestion] *.LNK Plugin - by John on 12-28-2004 at 07:54 PM
RE: [Suggestion] *.LNK Plugin - by L. Coyote on 12-28-2004 at 08:30 PM
RE: [Suggestion] *.LNK Plugin - by azn angel on 12-29-2004 at 11:49 AM
RE: [Suggestion] *.LNK Plugin - by (CyBeRDuDe) on 12-29-2004 at 10:09 PM
RE: [Suggestion] *.LNK Plugin - by John on 12-30-2004 at 11:17 AM
RE: [Suggestion] *.LNK Plugin - by Menthix on 12-30-2004 at 04:13 PM
RE: [Suggestion] *.LNK Plugin - by Tarry on 12-30-2004 at 04:21 PM
RE: [Suggestion] *.LNK Plugin - by Menthix on 12-30-2004 at 04:29 PM
RE: [Suggestion] *.LNK Plugin - by Stigmata on 12-30-2004 at 04:56 PM
RE: [Suggestion] *.LNK Plugin - by (CyBeRDuDe) on 12-30-2004 at 06:39 PM
RE: [Suggestion] *.LNK Plugin - by Plik on 12-30-2004 at 06:43 PM
RE: [Suggestion] *.LNK Plugin - by (CyBeRDuDe) on 12-30-2004 at 06:46 PM
RE: RE: [Suggestion] *.LNK Plugin - by John on 12-31-2004 at 03:31 PM
RE: [Suggestion] *.LNK Plugin - by Ash_ on 12-31-2004 at 03:32 PM
RE: [Suggestion] *.LNK Plugin - by Plik on 12-31-2004 at 04:11 PM
RE: [Suggestion] *.LNK Plugin - by Ash_ on 12-31-2004 at 04:19 PM
RE: [Suggestion] *.LNK Plugin - by Menthix on 12-31-2004 at 07:18 PM
RE: [Suggestion] *.LNK Plugin - by John on 01-01-2005 at 07:16 AM
RE: [Suggestion] *.LNK Plugin - by L. Coyote on 01-01-2005 at 07:21 AM
RE: [Suggestion] *.LNK Plugin - by John on 01-01-2005 at 07:25 AM
RE: [Suggestion] *.LNK Plugin - by John on 01-11-2005 at 10:51 AM
RE: [Suggestion] *.LNK Plugin - by (CyBeRDuDe) on 01-11-2005 at 12:42 PM
RE: [Suggestion] *.LNK Plugin - by John on 01-11-2005 at 02:07 PM
RE: [Suggestion] *.LNK Plugin - by Ash_ on 01-18-2005 at 01:34 AM
RE: [Suggestion] *.LNK Plugin - by (CyBeRDuDe) on 01-18-2005 at 07:24 AM
RE: [Suggestion] *.LNK Plugin - by Ash_ on 01-18-2005 at 07:35 AM
RE: [Suggestion] *.LNK Plugin - by John on 01-18-2005 at 09:12 AM
RE: RE: [Suggestion] *.LNK Plugin - by Ash_ on 01-18-2005 at 01:39 PM
RE: [Suggestion] *.LNK Plugin - by (CyBeRDuDe) on 01-18-2005 at 06:18 PM
RE: RE: [Suggestion] *.LNK Plugin - by Ash_ on 01-19-2005 at 12:51 PM
RE: [Suggestion] *.LNK Plugin - by (CyBeRDuDe) on 01-19-2005 at 09:49 PM
RE: RE: [Suggestion] *.LNK Plugin - by Ash_ on 01-20-2005 at 11:32 AM
RE: [Suggestion] *.LNK Plugin - by (CyBeRDuDe) on 01-20-2005 at 03:00 PM
RE: [Suggestion] *.LNK Plugin - by Yousef on 02-07-2005 at 09:31 PM
RE: [Suggestion] *.LNK Plugin - by Tochjo on 02-07-2005 at 09:36 PM


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