Search found 100 matches
- Thu Apr 23, 2015 6:13 pm
- Forum: newLISP and the O.S.
- Topic: [SOLVED] Run an executable without opening console (Win32)
- Replies: 5
- Views: 14112
Re: [SOLVED] Run an executable without opening console (Win3
Run a newLISP script from a Windows .js file without console window. Full version: ; // Posted by alex from newlisp.org ; var ScriptName = WScript.ScriptFullName; ; var App = "newlisp.exe " + ScriptName; ; var objArgs = WScript.Arguments; ; for (i = 0; i < objArgs.length; i++) { App = App +" \"" + o...
- Thu May 08, 2014 3:59 pm
- Forum: newLISP and the O.S.
- Topic: Windows install
- Replies: 35
- Views: 34412
- Tue Oct 23, 2012 4:54 pm
- Forum: newLISP and the O.S.
- Topic: 1 dime tip for today: Console2
- Replies: 6
- Views: 9323
Re: 1 dime tip for today: Console2
It may be interesting variant : http://code.google.com/p/conemu-maximus5/wiki/ConEmu
With support "xterm 256 color mode" :-)
Your opinion?
With support "xterm 256 color mode" :-)
Your opinion?
- Thu Jun 14, 2012 4:15 pm
- Forum: newLISP in the real world
- Topic: Please make it portable
- Replies: 3
- Views: 3891
- Thu Jun 14, 2012 3:58 pm
- Forum: newLISP and the O.S.
- Topic: Portable NewLisp & GuiServer(Windows only)
- Replies: 2
- Views: 4552
Re: Portable NewLisp & GuiServer(Windows only)
I know one of variants now. I install jre-6u32-windows-i586.exe to directory c:\...\java\jre6 on my computer with Windows XP(32) OS. I copy directory jre6 to q:\test\jre6 on my flashcard q:. I uninstall JRE from my computer with Windows XP(32) OS. I copy directory "newlisp" to q:\test\newlisp on my ...
- Sun Jun 10, 2012 10:59 pm
- Forum: newLISP and the O.S.
- Topic: Portable NewLisp & GuiServer(Windows only)
- Replies: 2
- Views: 4552
Portable NewLisp & GuiServer(Windows only)
Our friend Maurizio ask interesting question (http://newlispfanclub.alh.net/forum/viewtopic.php?f=16&t=4119) The question is interesting for me too. I read Lutz answer, but it is not enough for Windows-OS. If I have no installed JavaVM(it can be a lot of reason), how I can run newlisp-edit.lsp? If Y...
- Sat Jun 02, 2012 5:05 am
- Forum: newLISP in the real world
- Topic: Please make it portable
- Replies: 3
- Views: 3891
Re: Please make it portable
It can be only part of answer to your question, but problem with environment variable can be decided.
Place file MyNewLisp.cmd to the same directory, that newlisp.exe and run it.
MyNewLisp.cmd
Place file MyNewLisp.cmd to the same directory, that newlisp.exe and run it.
MyNewLisp.cmd
Code: Select all
@set NEWLISPDIR=%~dp0\
@set NEWLISPDIR=%NEWLISPDIR:\\=%
@%NEWLISPDIR%\newlisp.exe
- Fri Mar 16, 2012 11:37 am
- Forum: newLISP and the O.S.
- Topic: Run a newLISP script as a Windows batch file: FINAL
- Replies: 15
- Views: 15398
Re: Run a newLISP script as a Windows batch file: FINAL
Thanks xytroxon, Your variant is best now!
- Fri Mar 09, 2012 11:30 pm
- Forum: newLISP and the O.S.
- Topic: Run a newLISP script as a Windows batch file: FINAL
- Replies: 15
- Views: 15398
Re: Run a newLISP script as a Windows batch file: FINAL
All o'k, thank You Lutz!
- Fri Mar 09, 2012 10:44 pm
- Forum: newLISP and the O.S.
- Topic: Run a newLISP script as a Windows batch file: FINAL
- Replies: 15
- Views: 15398
Re: Run a newLISP script as a Windows batch file: FINAL
I am sorry, smile is bad. I will correct...
- Fri Mar 09, 2012 10:03 pm
- Forum: newLISP and the O.S.
- Topic: Run a newLISP script as a Windows batch file: FINAL
- Replies: 15
- Views: 15398
Re: Run a newLISP script as a Windows batch file: FINAL
only .cmd - not .bat
- Fri Mar 09, 2012 10:01 pm
- Forum: newLISP and the O.S.
- Topic: Run a newLISP script as a Windows batch file: FINAL
- Replies: 15
- Views: 15398
Re: Run a newLISP script as a Windows batch file: FINAL
Run a newLISP code as ".cmd"-file(Windows 2000 and more)
Code: Select all
@rem Posted by alex from newlisp.org
@newlisp.exe "%~f0" %* & goto :EOF
# begin newlisp-program
(println "Hello World!")
(exit)
# end newlisp-program
- Fri Mar 09, 2012 8:11 pm
- Forum: newLISP and the O.S.
- Topic: Run a newLISP script as a Windows batch file: FINAL
- Replies: 15
- Views: 15398
Re: Run a newLISP script as a Windows batch file: FINAL
I don't knew, who tuning "Code Snippets", but, please, correct first string and specify, that extension of batch-file MUST be ".cmd"
- Tue Feb 21, 2012 4:13 pm
- Forum: newLISP and the O.S.
- Topic: Run a newLISP script as a Windows batch file: FINAL
- Replies: 15
- Views: 15398
Re: Run a newLISP script as a Windows batch file: FINAL
2 xytroxon
It was good variant, when I used Win2k and Win98 together. New variant is simpler, I think.
It was good variant, when I used Win2k and Win98 together. New variant is simpler, I think.
- Fri Feb 10, 2012 3:57 pm
- Forum: newLISP and the O.S.
- Topic: Run a newLISP script as a Windows batch file: FINAL
- Replies: 15
- Views: 15398
Run a newLISP script as a Windows batch file: FINAL
For Windows 2000 and more You can add ONLY ONE short string before newLISP text. Example: file HelloWorld.cmd contain @newlisp.exe %0 %* & goto :EOF # begin newlisp-program (println "Hello World!") (exit) # end newlisp-program :-) Correction 2012.02.21 First string must be @newlisp.exe "%~f0" %* & g...
- Mon Feb 06, 2012 11:23 am
- Forum: newLISP newS
- Topic: newLISP development release v.10.3.10
- Replies: 9
- Views: 10403
Re: newLISP development release v.10.3.10
I have the same problem, that HPW (see http://newlispfanclub.alh.net/forum/vie ... dll#p18427) with Windows2000 professional - error an starting newLISP: the procedure entry point freeaddinfo could not be located in the dinamic link library WS2_32.DLL.
- Wed Aug 10, 2011 4:44 pm
- Forum: newLISP and the O.S.
- Topic: Exploit?
- Replies: 5
- Views: 6112
Re: Exploit?
I understand my mistake. Thanks you, Lutz.
- Sat Aug 06, 2011 7:21 pm
- Forum: newLISP and the O.S.
- Topic: Exploit?
- Replies: 5
- Views: 6112
Re: Exploit?
I knew about 'error-number' and 'error-text', but why such "dramatical" :-) exit without newlisp error and with Windows error?
More precise variant, with the same exit:
Has Linux the same problem?
More precise variant, with the same exit:
Code: Select all
(define (my-error-handler) (test2))
(error-event 'my-error-handler)
(test)
- Thu Aug 04, 2011 4:55 pm
- Forum: newLISP and the O.S.
- Topic: Exploit?
- Replies: 5
- Views: 6112
Exploit?
Code: Select all
(define (test) (test1))
(define (my-error-handler)
(println "error # " (error-text (error-number)) " has occurred\n"))
(error-event 'my-error-handler)
(test)
newlisp = v.10.3.2
newlisp window closed without messages, but I have Windows messge about error.
- Wed Jul 27, 2011 7:30 pm
- Forum: newLISP and the O.S.
- Topic: For the Lazy developer
- Replies: 4
- Views: 7012
Re: For the Lazy developer
Final variant, I think, for Windows 2000 and more.
Add ONLY ONE short string before newlisp text!
Example:
file hw.cmd contain (for example):-)
Add ONLY ONE short string before newlisp text!
Example:
file hw.cmd contain (for example)
Code: Select all
@newlisp.exe %0 %* & goto :EOF
# begin newlisp-program
(println "Hello World!")
(exit)
# end newlisp-program
- Fri May 13, 2011 2:49 pm
- Forum: newLISP newS
- Topic: newlisp Documentation, NEW layout proposal
- Replies: 6
- Views: 7316
Re: newlisp Documentation, NEW layout proposal
Very good proposals! Thanks to newdep and Kazimir! I like joined variant, with 2 top strings: 1. ( Introduction ) ( Functions ) ( Lambda ) ( Destructive ) ( Contexts ) ( Foop ) ( Xml ) ( Cilk ) ( utf-8 ) ( Error Codes ) ( System Symbols ) 2. ! +-*/% Ab Ap As Ba Ca Cl Co Cu De Di Do En Ex Fi Fl Ga Gl...
- Thu Jun 26, 2008 9:03 am
- Forum: newLISP and the O.S.
- Topic: Problem with (parse-date)
- Replies: 1
- Views: 3458
Problem with (parse-date)
I use example from manual, but it not work!
Code: Select all
newLISP v.9.3.17 on Win32 IPv4, execute 'newlisp -h' for more info.
> (parse-date "2007.1.3" "%Y.%m.%d")
ERR: invalid function : (parse-date "2007.1.3" "%Y.%m.%d")
>
- Sun Dec 30, 2007 4:35 am
- Forum: Anything else we might add?
- Topic: packed-newlisp
- Replies: 1
- Views: 3242
packed-newlisp
If You feel, that file newlisp.exe
is very big for Your floppy/flash disk
(because of Your program is big too ;-)),
You can pack it by UPX.
Use
NL.exe size is 82432
HAPPY NEW YEAR!
:-)
is very big for Your floppy/flash disk
(because of Your program is big too ;-)),
You can pack it by UPX.
Use
newlisp.exe size is 207360upx.exe -oNL.exe newlisp.exe
NL.exe size is 82432
HAPPY NEW YEAR!
:-)
- Wed Nov 21, 2007 9:15 am
- Forum: Anything else we might add?
- Topic: Confused with main-args
- Replies: 5
- Views: 4746
See http://www.alh.net/newlisp/phpbb/viewto ... highlight= as variant...
- Sun May 13, 2007 1:27 pm
- Forum: Anything else we might add?
- Topic: How I can check regex-string?
- Replies: 7
- Views: 5892