MediaPortal Forums HTPC/MediaCenter

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


Reply
 
LinkBack Thread Tools Display Modes
Old 2006-05-05, 11:50   #1 (permalink)
Moderateur
 
framug's Avatar
 
Join Date: Jan 2005
Location: South of France
Age: 42
Posts: 3,768
Thanks: 14
Thanked 33 Times in 26 Posts

Country:

My System

Default Multishortcut plugin to execute programs from home menu!

THIS POST HAS BEEN MOVED FROM #320 TO #1
- Spragleknas


Quote:
Originally Posted by BlockbusterF View Post
really great plugin/hack! Searched quite a while for something like that.
Hi,
Well, I don't consider it as a hack cause, MultShortcut provide its own plugin and, hack it to grant many shortcuts.
Therefore, MultShortcut doesn't need some modified MP dll.

Quote:
Originally Posted by BlockbusterF View Post
But... I've got one little question/request:

This plugin is would be absolutely perfect to use in combination with TrueCrypt. e.g. I set up your plugin to execute "TrueCrypt.exe" with corresponding parameters listet in the TrueCrypt Manual.

The parameters of course had to end with ..../p "mypassword"

It would be perfect if we could set up the plugin to add the arguments which are typed with the onscreen Keyboard to the arguments already filled in the configuration.

ATM the arguments just replaced if your set the OSK.

Does anybody understand what I mean?
I believe I understand what you mean and, it's a good idea.
Then, why not trying this new MultiShortcut 1.7 version then ?

A new thread is created for MultiShortcut plugin.
Please, post there.
Here is the link :
MultiShortcut plugin.
Attached Files
File Type: rar MultiShortcut.rar (1,020.9 KB, 503 views)

Last edited by framug; 2009-12-28 at 13:44.. Reason: Add link to new thread.
framug is offline   Reply With Quote
These User Thank You:
Old 2006-05-05, 14:44   #2 (permalink)
NLS
Portal Member
 
Join Date: Apr 2006
Age: 35
Posts: 913
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   #3 (permalink)
Retired Team Member
 
mzemina's Avatar
 
Join Date: Feb 2005
Location: Tulsa, OK
Posts: 2,064
Thanks: 43
Thanked 13 Times in 13 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   #4 (permalink)
NLS
Portal Member
 
Join Date: Apr 2006
Age: 35
Posts: 913
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   #5 (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   #6 (permalink)
NLS
Portal Member
 
Join Date: Apr 2006
Age: 35
Posts: 913
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   #7 (permalink)
NLS
Portal Member
 
Join Date: Apr 2006
Age: 35
Posts: 913
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   #8 (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   #9 (permalink)
NLS
Portal Member
 
Join Date: Apr 2006
Age: 35
Posts: 913
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   #10 (permalink)
Retired Team Member
 
smnnekho's Avatar
 
Join Date: Feb 2006
Location: Germany
Age: 26
Posts: 486
Thanks: 3
Thanked 2 Times in 1 Post

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 offline   Reply With Quote
Reply

Bookmarks

Tags
execute, 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 On


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 MediaPortal 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 MediaPortal Plugins 5 2005-08-13 12:12
Home plugin and menu shortcuts igalan MediaPortal Plugins 0 2005-07-27 18:25


All times are GMT +1. The time now is 04:25.


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