Messaggio di errore

Access denied. You may need to login below or register to access this page.

Access Denied / User log in

Please let our ADS show!

This sites offers only FREE software and it's supported by a few advertisement boxes (no intrusive popups).
Please:

  • disable your AdBlocker by adding CoolSoft website to whitelist
  • give the proper cookie consent
  • enable JavaScript for this website

This seconds wait is to let you update your browser configuration...

Ok, I've done the required changes... now show me your content!
!!! Please enable JavaScript !!!

Login rapido

Usa il tuo social account esistente ed accedi senza bisogno di registrazione: nessuna conferma, nessuna nuova password da ricordare, veloce, facile e sicuro.

...oppure usa un account CoolSoft

Inserisci il tuo nome utente CoolSoft.
Inserisci la password associata al tuo nome utente.
Add reply | CoolSoft

Add reply

Please let our ADS show!

This sites offers only FREE software and it's supported by a few advertisement boxes (no intrusive popups).
Please:

  • disable your AdBlocker by adding CoolSoft website to whitelist
  • give the proper cookie consent
  • enable JavaScript for this website

This seconds wait is to let you update your browser configuration...

Ok, I've done the required changes... now show me your content!
!!! Please enable JavaScript !!!
(If you're a human, don't change the following field)
Your first name.
(If you're a human, don't change the following field)
Your first name.

Warning!

You're posting your message as anonymous user.

By registering you'll be allowed to receive notifications of post replies and new threads.
Registration is really quick and only requires you to choose an username and provide a valid email address.

Click here to to register.

A confirmation mail will be sent to this address.
Your email address won't be published.

Altre informazioni sui formati del testo

Filtered HTML

  • Elementi HTML permessi: <a> <blockquote> <br> <cite> <code> <dd> <del> <dl> <dt> <em> <img> <li> <ol> <p> <pre> <s> <span> <strike> <strong> <ul>
    Allowed Style properties: background-color, color, font-size, font-style, height, text-align, text-decoration, text-transform, width
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <pre>, <c>, <cpp>, <csharp>, <drupal5>, <drupal6>, <javascript>, <php>. The supported tag styles are: <foo>, [foo].
  • Indirizzi web o e-mail vengono trasformati in link automaticamente
  • Linee e paragrafi vanno a capo automaticamente.

Plain text

  • Nessun tag HTML consentito.
  • Indirizzi web o e-mail vengono trasformati in link automaticamente
  • Linee e paragrafi vanno a capo automaticamente.
CAPTCHA
Questa domanda serve a prevenire lo spam e gli accessi non autorizzati.
Annulla
Anonymous user
Yes, it's working! Very

Yes, it's working! Very great! (there was some bug with my macros)...

I wished only it has a editor so I must not switch every time between Eclipse and NSIS Dialog Editor :P

Posts: 1972
Joined: 25 Mar 2012 - 01:19
It already works

Composing a string by adding a variable inside a quited string is allowed in NSIS; the following code:

${NSD_CreateButton} 13u 68u 80u 23u "$(message)"

and creates a button with the content of "message" variable as caption.

You could also write:

${NSD_CreateButton} 13u 68u 80u 23u "prefix $(message) suffix"

and have the string automatically composed.

Please note that the lang string / variable must be defined before the line is executed.
If you tried this code into NSISDialogDesigner, the button appears with $(message) as caption, because the variable is not defined and there's no way to define it.
F5 will compile only a part of the script, no more that what's needed to give the user a visual preview of the form (see the content of %temp%\NSISDialogDesigner folder while the IDE is running).
Header, footer and custom script parts are not compiled because they could contain references to missing functions (included into your real script).

Just try a real script, define your language vars, include the .nsdinc file and it should work.
If it's not working, please send me your project (or at least a part of it).

Anonymous user
Is there a way to support translations?

Is there a way to support translations? Normally in the script we would use someting like

${NSD_CreateLabel} 59u 72u 163u 13u $(SELECT_CPU_TEXT)

to use localized text.
This will not work with the Dialog Designer because it always enclose text associated with a control with quoation marks.

A extra option would be useful "use translation macro" or something similar... and when set, the text should be written as $(TEXT) without quotation marks