Mantis Bug Tracker

View Revisions: Issue #143 Back to Issue ]
Summary 0000143: Autocompletion
Revision 2013-04-16 05:39 by administrator
Description create a new alias file, paste this:

foo { ;                |
.comopen a Scripting.FileSystemObject }

Put the cursor on the | and click the down arrow.
Revision 2013-04-16 05:39 by administrator
Description create a new alias file, paste this:

foo { ; |
.comopen a Scripting.FileSystemObject }

Put the cursor on the | and click the down arrow.
Revision 2013-04-16 05:31 by administrator
Description create a new alias file, paste this:
run_clean {
  if ($1 == -s) run clean_install\mirc_clean.exe
  else {
    var %f $+($iif($1 == $null | ?:\* !iswm $1,$mircdir),$1\,clean_install\)
    if ($isdir(%f)) {
      .comopen a Scripting.FileSystemObject
      noop $com(a,GetFolder,1,bstr*,%f,dispatch* b) $com(b,Delete,1)
    }
    mkdir $qt(%f)
    .copy $qt($mircexe) $qt(%f $+ mirc_clean.exe)
    if ($isfile(mirc.chm)) .copy mirc.chm $qt(%f $+ mirc.chm)
    write -c $qt(%f $+ mirc.ini)
    writeini $qt(%f $+ mirc.ini) options n2 0,0
    write $qt(%f $+ aliases.mrc) f2 editbox -a //echo -a $!editbox($active) $crlf f7 clear -a
    run -h $qt(%f $+ mirc_clean.exe)
    .timer 1 3 noop $!exe(mirc_clean.exe).kill $(|) writeini $qt(%f $+ mirc.ini) afiles n0 aliases.mrc $(|) writeini $qt(%f $+ mirc.ini) options n2 $!readini( %f $+ mirc.ini,options,n2) $(|) run $qt(%f $+ mirc_clean.exe)
    :error
    if ($com(a)) .comclose a
    if ($com(b)) .comclose b
  }
} put your cursor on the faulty '|' meant to be a "||" and hit the down arrow keu twice, you get the completion for the com object


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker