View Full Version : About osdMenu and reg, ( and a little request tp Mattwire)
mattwire
October 13th, 2002, 12:55 PM
Put this in a [misc] section in the ini file:
setgirderreg=[0..25] - sets girder register to index of menuitem executed.
setgirderstrreg=[0..25] - sets girder textreg to caption of menuitem executed.
mattwire
October 13th, 2002, 12:55 PM
As per the help file:
1.2 Executing Girder Commands from OSDMenu:
-To Execute girder commands from the menu you can do the following:
-In the ini file, under one of your menu sections type this for
the menuitem file:
"[girderdir]girder.exe" -eventstring [youreventstring]
Replace [girderdir] with path to your girder installation.
Set [youreventstring] to match any eventstring assigned to a
command in girder.
-You can assign custom eventstrings through the usual method, selecting
'Girder Events' from the dropdown box. Type the eventstring in
the box.
mattwire
October 13th, 2002, 12:55 PM
Ok, I'll see what I can do. What you've suggested shouldn't be too difficult to implement!
giova
October 13th, 2002, 12:55 PM
hello.
I would like to know if a return data to reg is now possible with OsdMenu v1.35 ?
I ve read in this topic:
http://www.girder.nl/phpBB/viewtopic.php?topic=1226&forum=2
that this function was in the Mattwire's OsdMenu todo list, while version was 1.1
Have i missed something?
_____________________________
I would like to know if it is possible in a .ini file to set an ini command to launch Girder command (like a goto) rather than to launch an exe ?
giova
October 13th, 2002, 12:55 PM
Ok great :smile: thanks, sorry to missed that,and what about my second question, about a ini file that can launch girger commands?
giova
October 13th, 2002, 12:55 PM
Once again i m sorry, my poor english language has failed me.Thanks again for ur attention. I've read again documents, n specialy the release file, n i have now tow requests about osfmenu pluggin that i wish to present to u :
1) May we be able to really use reg in ini files. I mean that an [reg1] wrote in an ini file would be read has the reg1 value by osdmenu pluggin.
Examples:
Let say for my examples that :
reg1 = "DieHard1"
reg2 = "C:MyPlayer.exe d:DieHard1.avi"
_____________________________
So we could have in ini file :
Launch Last Video File=[reg2]
or
Launch [reg1]=[reg2]
_____________________________
May u create something in that way :grin: ?
2)may we have the possibility to insert simple echo line and empty line into a section (see the example below):
example :
reg1 = "DieHard1"
reg2 = "C:MyPlayer.exe d:DieHard1.avi"
reg3 = 1 (means first command of the menu)
_________
Ini File:
[visual]
startpos=[reg3]
[main]
// ---Main Menu---
//
Launch [reg1]=[reg2]
Set Preferences=%Preference
__________
result displayed:
---Main Menu---
Launch DieHard1
Set Preferences
__________
note :
"Launch DieHard1" line would be selected by default, same if we forget to set a startpos, because this line is the first command (previous lines are only text displayed).
I hope u ll apriciate my suggestions :smile:
giova
October 13th, 2002, 12:55 PM
great :grin: Thank u very much !!!
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.