Показать сообщение отдельно
Старый 24.01.2006, 20:13   #2  
Antant is offline
Antant
Участник
 
82 / 17 (1) ++
Регистрация: 03.12.2005
может перекрыть в классе runBaseBatch метод prompt:
PHP код:
public boolean prompt()
{
    if (! 
super())
    {
        if (
dialogCanceled && this.batchInfo())
            
this.batchInfo().parmBatchExecute(false);

        return 
false;
    }

    
// benchmark start
    
if (BMMainControl::inAction())
    {
        if (
BMMainControl::batchEnabled())
        {
            
this.batchInfo().parmBatchExecute(true);
            
this.batchInfo().doBatch();
            return 
false;
        }

    }
    
// benchmark end

    // <-- здесь установка программно наименования пакета и галки для постановки в очередь)

    
if (this.batchInfo() && (this.batchInfo().parmBatchExecute() || this.mustGoBatch()))
    {
        
this.batchInfo().doBatch();
        return 
false;
    }

    return 
true;