View Single Post
Old 19th December 2004, 15:59   #49
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
You need something in the plugin to check when the URL's Pushed on to the stack end. E.g.

Push "start urls"
Push "url 1"
Push "save to"
Push "url 2"
Push "save to"
InetLoad::Load /SILENT

InetLoad just needs to keep Popping off the stack until it finds the string "start urls" (or something).
Currently it's Popping everything off the stack in case that it's another download URL. This is silly because we might need to use the stack for other strings as well. We call InetLoad and after that they're all gone!

Edit: I don't think Kichik told you, but this has to be the default behaviour. Check out all the NSISdl macro's on the archive which do exactly the same thing...

-Stu
Afrow UK is offline   Reply With Quote