MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2006-05-05, 14:44   #1 (permalink)
NLS
Portal Member
 
Join Date: Apr 2006
Age: 34
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default Multishortcut plugin to execute programs from home menu!

This is a great new plugin that ALLOWS FOR (MULTIPLE) MENU ITEMS, EACH ONE CALLING THE EXECUTABLES YOU WANT! It's the one vital feature missing from MP!

IT CAN EVEN WORK WITH BATCH FILES OR LINK (shortcut) FILES, if you need to pass parameters! I even called an .scr file (screensaver)!

NOTE that this plugin is more of a hack, since it implements dynamic ID manipulation that is not normally supported from MP. It all comes as a temporary (?) solution until someone rewrites "Home" plugin to support calling external programs (like it should from version 0.0001).

Here are the instructions:

1) Unpack zip archive (duh!)...

2) Copy the file "DllFix.exe" to you MediaPortal\Plugins\Window directory.

3) For every button you want:

3.1) Copy file MultiShortcut.dll to MediaPortal\Plugins\Window directory.

3.2) Rename it the way you want it (just keep the .dll).

3.3) Repeat 3.1/3.2 for any extra buttons you want.

4) After you've copied all the DLLs you want, start DLLFix.exe. NOTICE: DLLFix needs to be run from a local drive and has to be in the same directory as the MultiShortcut DLLs (if you did 2 and 3 correctly, this is the case anyway).

5) Start MP configuration.

5.1) Find your plugins (under Window plugins - I prefer to name them MS-something.dll, so to keep them all together, but you can name them as you want, DLLFix will find them anyway).

5.2) Configure each one (the config form is self explanatory - remember you don't need quotes in the "exefile", and although it says "exefile" it really means full path along with the file, that doesn't need to be an exe)

5.3) Go to Home plugin and add the plugins you just created and configured, wherever you want.

6) Close MP configuration (wow! a complex step, I know)...

...that's it... go in MP and try things out!

The author didn't really want to make this plugin for himself or really maintain it. So if you find some major bug, report it in the thread, or find him in IRC (with the nickname you see in the plugin) and he MAY help you out (or me). Note again: that he doesn't really have any intention to maintain the plugin, just created a hack (that gets the job done) because I asked him to and found his soft spot.

(you will find the file in plugins/automation when it gets approved and I will edit this post to have the appropriate link)
__________________
NLS

...never thought I would advertise MP around that much, so soon...
(and when some dev adds better menu handling, multiple calls to modules and plugins with different options and much better dbase handling, it will be love... ah and a nice 3D front end and inter-module messaging system and...)

NLS is offline   Reply With Quote
Old 2006-05-05, 15:20   #2 (permalink)
Retired Team Member
 
mzemina's Avatar
 
Join Date: Feb 2005
Location: Ft Smith, AR
Posts: 2,040
Thanks: 34
Thanked 12 Times in 12 Posts

Country:


Default

Is that what you are calling it? Multishortcut plugin? Just checking.

Mike
mzemina is offline   Reply With Quote
Old 2006-05-05, 16:13   #3 (permalink)
NLS
Portal Member
 
Join Date: Apr 2006
Age: 34
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

yes - not me, the author
__________________
NLS

...never thought I would advertise MP around that much, so soon...
(and when some dev adds better menu handling, multiple calls to modules and plugins with different options and much better dbase handling, it will be love... ah and a nice 3D front end and inter-module messaging system and...)

NLS is offline   Reply With Quote
Old 2006-05-06, 08:31   #4 (permalink)
Portal Member
 
Join Date: Oct 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts


Default Great plugin!

Thanks for a great plugin!

I just started to use it to get a "Play DVD" buttom in home menu.
The script buttom is starting my external DVD player ZoomPlayer.
It actually works - but the problem is now that the program doesnt start ON TOP. I use "Mediaportal Always on top" because otherwise my MCE remote stops working from time to time.
So for now - i cant see Zoomplayer until i close MP

So now i wonder - how to start an application ON TOP / FOCUSED ?

Thanks in advance
Martin
MrMartin is offline   Reply With Quote
Old 2006-05-06, 09:55   #5 (permalink)
NLS
Portal Member
 
Join Date: Apr 2006
Age: 34
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

this is not a problem related to the plugin - if you chose mp to stay on top, it will... so stop doing it and find some way to keep it on focus when needed (or make the remote talk to that window all the time - try girder)
__________________
NLS

...never thought I would advertise MP around that much, so soon...
(and when some dev adds better menu handling, multiple calls to modules and plugins with different options and much better dbase handling, it will be love... ah and a nice 3D front end and inter-module messaging system and...)

NLS is offline   Reply With Quote
Old 2006-05-07, 20:50   #6 (permalink)
NLS
Portal Member
 
Join Date: Apr 2006
Age: 34
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

Well in fact Tobias listened to your request and released a fix (go to the file section and get it), that I have not tested yet.

There is now a new flag, which if you set to true, it tries to minimize MP while the other program runs (and restores it after that).

Also there is a default caption "-unnamed-".
__________________
NLS

...never thought I would advertise MP around that much, so soon...
(and when some dev adds better menu handling, multiple calls to modules and plugins with different options and much better dbase handling, it will be love... ah and a nice 3D front end and inter-module messaging system and...)

NLS is offline   Reply With Quote
Old 2006-05-08, 09:50   #7 (permalink)
Portal Member
 
Join Date: Oct 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by NLS
Well in fact Tobias listened to your request and released a fix (go to the file section and get it), that I have not tested yet.

There is now a new flag, which if you set to true, it tries to minimize MP while the other program runs (and restores it after that).

Also there is a default caption "-unnamed-".
Wow! Thanks a lot man! Sounds great

I will test it out as soon as i get home today

Martin

EDIT: It works perfectly as i requested Really appretiate your effort! Thanks a lot again!
MrMartin is offline   Reply With Quote
Old 2006-05-08, 12:31   #8 (permalink)
NLS
Portal Member
 
Join Date: Apr 2006
Age: 34
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

8)
__________________
NLS

...never thought I would advertise MP around that much, so soon...
(and when some dev adds better menu handling, multiple calls to modules and plugins with different options and much better dbase handling, it will be love... ah and a nice 3D front end and inter-module messaging system and...)

NLS is offline   Reply With Quote
Old 2006-05-08, 12:44   #9 (permalink)
Retired Team Member
 
smnnekho's Avatar
 
Join Date: Feb 2006
Location: Germany
Age: 24
Posts: 482
Thanks: 3
Thanked 0 Times in 0 Posts

My System

Send a message via ICQ to smnnekho
Default

really great stuff. love to use it for several stuff. mostly i use it for several web-stuff, eg my cinemas actual programm or the calling-list from my fritzbox via fullscreen browser with large fonts....

i know the author does not really intend to maintain the plugin and i#m okay with it as it is working fine anyway, but one feature would be cool:

if you determine a specific URL in the arguments field, would it be possible to add, lets say a %$% or sth similar as a variable for sth you can enter in MP? to be clear:

i set firefox as exefile, and in the arguments it set -fullscreen -URL "http://en.wikipedia.org/wiki/%$%" and when i call it mp i can enter anything for "%$%" so that i have sth like the wikipedia plugin, just as a webbrowser though(-;... could be used with google and in fact with everything else..

would be great, just if it is not that much of work (cause in fact i have no idea of coding, the things that seem most easy are often very complicated (-; ]
smnnekho is online now   Reply With Quote
Old 2006-05-08, 12:59   #10 (permalink)
NLS
Portal Member
 
Join Date: Apr 2006
Age: 34
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

pass a variable...

we'll see
__________________
NLS

...never thought I would advertise MP around that much, so soon...
(and when some dev adds better menu handling, multiple calls to modules and plugins with different options and much better dbase handling, it will be love... ah and a nice 3D front end and inter-module messaging system and...)

NLS is offline   Reply With Quote
Reply

Bookmarks

Tags
execute, home, menu, multishortcut, plugin, programs

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pinnacle MediaCenter 100i Remote kadafi General Support 28 2007-02-06 19:57
New My Programs Plugin TNDAri Plugins 43 2006-09-05 10:10
Execute external programs without stopping playback? hoganbp General Support 0 2006-05-23 18:16
Plugin example doesnt show in list Anonymous Plugins 5 2005-08-13 12:12
Home plugin and menu shortcuts igalan Plugins 0 2005-07-27 18:25


All times are GMT +1. The time now is 20:16.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden