Netsabes
7th October 2002, 15:49
I'm using the cvs version of NSIS.
Maybe I'm just dumb, but I'm unable to find any window with the following code:
-----
Name "IsWindowTest"
OutFile "IsWindow.exe"
autoCloseWindow true
Section
IsWindow "${NAME}" ok notok
ok:
MessageBox MB_OK "${NAME} is a window"
notok:
MessageBox MB_OK "${NAME} is not a window"
SectionEnd
;eof
-----
(use makensis with /DNAME, or add a !define NAME in the code)
I've tried with a lot opened programs (tried with /DNAME= "KMeleon", "Winamp", "Winamp v1.x", "Winamp v2.x", "Winamp v2.81", "TextPad", "Mozilla", "Phoenix" and some more) and it kept displaying that they were not windows.
Same with FindWindow.
Am I really dumb (and what should i do then? :), or it is broken?
Maybe I'm just dumb, but I'm unable to find any window with the following code:
-----
Name "IsWindowTest"
OutFile "IsWindow.exe"
autoCloseWindow true
Section
IsWindow "${NAME}" ok notok
ok:
MessageBox MB_OK "${NAME} is a window"
notok:
MessageBox MB_OK "${NAME} is not a window"
SectionEnd
;eof
-----
(use makensis with /DNAME, or add a !define NAME in the code)
I've tried with a lot opened programs (tried with /DNAME= "KMeleon", "Winamp", "Winamp v1.x", "Winamp v2.x", "Winamp v2.81", "TextPad", "Mozilla", "Phoenix" and some more) and it kept displaying that they were not windows.
Same with FindWindow.
Am I really dumb (and what should i do then? :), or it is broken?