Search found 32 matches

by mostlywrong
Thu Feb 12, 2009 9:22 pm
Forum: newLISP and the O.S.
Topic: is it possible to use autoit from newlisp
Replies: 17
Views: 15476

sorry it looks like I dropped an S on the words strings in that sentence. I am trying to understand what the differences between LPCSTR LPWSTR LPCWSTR. How Utf-8 relates to it (because there is a utf-8 newlisp) The desire to do the project that i first had in mind is a lot smaller now, but I would l...
by mostlywrong
Thu Feb 12, 2009 2:12 am
Forum: newLISP and the O.S.
Topic: is it possible to use autoit from newlisp
Replies: 17
Views: 15476

ok, real question. windows does not Do utf-8?

it looks like the string in unicode are all 16bit unicode. how does that mesh with newlisps utf-8 ?
by mostlywrong
Wed Feb 11, 2009 8:47 pm
Forum: newLISP and the O.S.
Topic: is it possible to use autoit from newlisp
Replies: 17
Views: 15476

Its never something easy is it. :-) edit: Well now i know (sorta) what "LPCSTR" "LPWSTR" "LPCWSTR" is and i cant really think of anything constructive to say. http://msdn.microsoft.com/en-us/library/cc245847(PROT.10).asp An LPCSTR is a 32-bit pointer to a constant null-terminated string of 8-bit Win...
by mostlywrong
Wed Feb 11, 2009 1:48 am
Forum: newLISP and the O.S.
Topic: is it possible to use autoit from newlisp
Replies: 17
Views: 15476

quick question. In the above code. the import line in the generated file looks like this (import AutoItX3_dll "AU3_CDTrayLPCWSTR") then header file line looks like so AU3_API long WINAPI AU3_CDTray(LPCWSTR szDrive, LPCWSTR szAction); The "LPCWSTR" doesnt belong there, where would the edit go to fix ...
by mostlywrong
Tue Feb 10, 2009 1:47 am
Forum: newLISP and the O.S.
Topic: is it possible to use autoit from newlisp
Replies: 17
Views: 15476

Thank you. This will be a nice challenge.
by mostlywrong
Sun Feb 08, 2009 10:11 pm
Forum: newLISP and the O.S.
Topic: is it possible to use autoit from newlisp
Replies: 17
Views: 15476

ok so the dll from autoit3 is an activex dll then and cant be imported.
looks lits possible to make a regular dll with what they have provided though.
by mostlywrong
Sat Feb 07, 2009 12:43 am
Forum: newLISP and the O.S.
Topic: is it possible to use autoit from newlisp
Replies: 17
Views: 15476

seems the dll mentioned above was a custom job.
by mostlywrong
Fri Feb 06, 2009 9:40 pm
Forum: newLISP and the O.S.
Topic: is it possible to use autoit from newlisp
Replies: 17
Views: 15476

i did, i did search some. now that i out in just autoit i see a ton more. feeling like a dope now. off to do some reading
by mostlywrong
Fri Feb 06, 2009 1:58 am
Forum: newLISP and the O.S.
Topic: is it possible to use autoit from newlisp
Replies: 17
Views: 15476

is it possible to use autoit from newlisp

I sure it is. I'm also pretty sure I'm doing something wrong. I tried a couple of the examples of importing functions into newlisp with the autoitx3.dll that is installed with autoit and Im not really getting any results, well any good ones. The functions are all defined in the help files for autoit...
by mostlywrong
Sun Feb 01, 2009 5:09 am
Forum: newLISP in the real world
Topic: Help me understand please.
Replies: 3
Views: 2751

i want to do this but dont see how.

if I find string1 and string2 println

I'm not getting the and relationship in the right place.


edit. got it. dropped a ")"
by mostlywrong
Sun Feb 01, 2009 1:10 am
Forum: newLISP in the real world
Topic: Help me understand please.
Replies: 3
Views: 2751

thanks. what i want to do is this. I want to find several strings grouped by "Job:" for example string1 to srting5 I will always find "Job:" I will find 0 to 5 of the other strings. at the next Job: repeat I have a list of several jobs and i want to pull out several items and group them by job. seem...
by mostlywrong
Sat Jan 31, 2009 9:17 pm
Forum: newLISP in the real world
Topic: Help me understand please.
Replies: 3
Views: 2751

Help me understand please.

;Original copy/past from codepatterns ;(dolist (file-name (3 (main-args))) ; (set 'file (open file-name "read")) ; (println "file ---> " file-name) ; (while (read-line file) ; (if (find (main-args 2) (current-line) 0) ; (write-line))) ; (close file)) ; ;(exit) ; ;some small edits by me. and one err...
by mostlywrong
Tue Jan 20, 2009 12:48 am
Forum: Anything else we might add?
Topic: small error in docs
Replies: 0
Views: 3386

small error in docs

In http://www.newlisp.org/CodePatterns.html Many built-in functions when returning a list or array or an element belonging to a list or array referenced by a symbol, return a reference to the list – not a copy. This can be used to nest buil-in functions when modifying a list: ^ a dropped T in that p...
by mostlywrong
Mon Jan 19, 2009 9:13 pm
Forum: newLISP Graphics & Sound
Topic: starting java using process
Replies: 19
Views: 19348

wow! Google indexed the pages very quickly. i would not have thought it would be so quick.
by mostlywrong
Mon Jan 19, 2009 2:01 am
Forum: newLISP Graphics & Sound
Topic: starting java using process
Replies: 19
Views: 19348

just in case you missed it. i edited my last post to say i found the trouble and the original guiserver.lsp now works like a champ.
by mostlywrong
Mon Jan 19, 2009 1:39 am
Forum: newLISP Graphics & Sound
Topic: starting java using process
Replies: 19
Views: 19348

i found it. i think let me make sure im using the original guiserver.lsp copied from above: ("Path" "PATH=C:\\WINDOWS;C:\\WINDOWS\\system32;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\UltraEdit-32;C:\\Program Files\\Altiris\\Software Virtualization Agent\\;C:\\Program Files\\ATI Technologies\\ATI...
by mostlywrong
Mon Jan 19, 2009 1:26 am
Forum: newLISP Graphics & Sound
Topic: starting java using process
Replies: 19
Views: 19348

what is your path and maybe the (env) from newlisp.
programming is a hobby but PC troubles is like an itch.
by mostlywrong
Mon Jan 19, 2009 1:10 am
Forum: newLISP Graphics & Sound
Topic: starting java using process
Replies: 19
Views: 19348

you got me Lutz. and it was painful. my eyes are not as good as they use to be. newlisp c:\newlisp\guiserver\buttom-demo.lsp That m in buttoM killed me! :) Things seem t work as expected now. Thank you for your Patience. What it different about my machine that the path to CMD does not work like othe...
by mostlywrong
Sun Jan 18, 2009 11:06 pm
Forum: newLISP Graphics & Sound
Topic: starting java using process
Replies: 19
Views: 19348

(process "c:\\WINDOWS\\system32\\cmd.exe /c dir")
works just fine.
by mostlywrong
Sun Jan 18, 2009 10:57 pm
Forum: newLISP Graphics & Sound
Topic: starting java using process
Replies: 19
Views: 19348

sorry I wasn't clear before.

I installed to the default dir at first.

Then moved to the root folder.

I will delete and reinstall to the default folder.
by mostlywrong
Sun Jan 18, 2009 2:36 pm
Forum: newLISP Graphics & Sound
Topic: starting java using process
Replies: 19
Views: 19348

from a cmd prompt ( just happens to be in newlisp dir) cmd /c dir gave me a dir listing of the current dir. changed to c:\ and repeated and gave me dir listing of current dir. from newlisp: (process "notepad.exe") returned nil. no notepad. (process "c:/windows/system32/notepad.exe") works and opens ...
by mostlywrong
Sat Jan 17, 2009 8:52 pm
Forum: newLISP Graphics & Sound
Topic: starting java using process
Replies: 19
Views: 19348

no. its the same problem. I moved new lisp folder to where you see it now and changed all the shortcuts and env settings tring to see if it was a "space in the path" problem.

thanks for asking though. bugging me to death.
by mostlywrong
Sat Jan 17, 2009 3:21 pm
Forum: newLISP Graphics & Sound
Topic: starting java using process
Replies: 19
Views: 19348

!dir From cmd shell in the newlisp folder: gives a dir listing of the "newlisp" folder. From the lower pain of newLISP edit: gives a dir listing of "C:\Documents and Settings\fred" which is the root of my login folder for my windows settings. ---------------------- (process "cmd /c dir") From cmd sh...
by mostlywrong
Sat Jan 17, 2009 3:05 am
Forum: newLISP Graphics & Sound
Topic: starting java using process
Replies: 19
Views: 19348

starting java using process

looking at the problem i have with running the demo programs newlisp is not starting java with the process function. I have been trying to get Java to start from newlisp for several days now and pretty much out of ideas. I can pretty much run any none java program with any arguments that i want usin...
by mostlywrong
Fri Jan 16, 2009 12:08 am
Forum: newLISP Graphics & Sound
Topic: running demo guiserver scripts
Replies: 9
Views: 10646

after playing with this for a day or two I tried something different. I used python to make a small script that takes the filename of what ever is dropped on it and starts the newlisp-GS with that file as its argument. at least i can start a file now without typing quite so much.