Icon for an empty main menu entry in a script?
Posted: 15 Jul 2011 07:42
Hi,
I just tried to add an icon to a "main menu entry" which itself doesn't execute any code but it's purpose is to divide the script into several main menus with sub menus (and only the sub menus execute code).
e.g.:
The icon for the submenu works but for the main menu only a ghosted X is shown until I manually hover over this entry.
Is there a way to always display the first icon as well?
I just tried to add an icon to a "main menu entry" which itself doesn't execute any code but it's purpose is to divide the script into several main menus with sub menus (and only the sub menus execute code).
e.g.:
Code: Select all
"Convert &video files to...|<xypath>\<xyexe>"
"... 4:3 DVD-MPEG|<xypath>\<xyexe>"
global $FFmpeg_Cmd, $TempFile, $InputPath, $OutputPath, $SelectedItems, $fopts, $gopts, $FileExtNew;
$FFmpeg_Cmd = quote("<xydrive>\Tools\FFmpeg\ffmpeg.exe");
$TempFile = "%temp%\~ffmpeg.bat";
$InputPath = "<curpath>";
$OutputPath = "<curpath>";
$FileExtNew = "mpg";
$gopts = "-i";
$fopts = "-threads 4 -bufsize 102400k -target pal-dvd -pass 1 -b 2000k -aspect 4:3 -loglevel quiet";
$SelectedItems = report("{Basename}?{Ext}|",1);
$SelectedItems = substr($SelectedItems, 0, -1);
sub "_Execute";Is there a way to always display the first icon as well?