Re: Hey PETE EBERLEIN

new topic     » goto parent     » topic index » view thread      » older message » newer message

In wee.exw,
Add the following lines to WinMain() if they're not there already.

    sequence cmdline

    cmdline = command_line()


Then after

    new_file()

insert the lines

   if length(cmdline) > 2 then
        open_file(cmdline[3])
    end if

That should do it.

And Jesus, %1 is correct for reading the first argument in msdos.
But when I created Edit under file types, the %1 wasn't neccessary.
Hmmm..

Later,
 _______  ______  _______  ______
[    _  \[    _ ][ _   _ ][    _ ]
[/| [_] |[/| [_\][/ | | \][/| [_\]
  |  ___/  |  _]    | |     |  _]
[\| [/]  [\| [_/] [\| |/] [\| [_/]
[_____]  [______] [_____] [______]
xseal at harborside.com  ICQ:13466657
http://www.harborside.com/home/x/xseal/euphoria/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu