|
|
Line 1: |
Line 1: |
| PageAuthor|Takhir == Links ==Download:<br><attach>NewAdvSplash.zip</attach><br>[http://forums.winamp.com/showthread.php?s=&threadid=197479 Forum thread]== Description ==NewAdvSplash.dll - startup image banner plug-in with fading effects (win2k/xp) and transparency. Allows background installer initialization. At the same time can play wav-mp3 sound file. On the base of AdvSplash NSIS plug-in.Compatibility: basic - Win95 and later, fadein/fadeout - win2k/winxp. == Entry points and parameters (NSIS script) == newadvsplash::show [/NOUNLOAD] Delay FadeIn FadeOut KeyColor [/BANNER] [/PASSIVE] [/NOCANCEL] FileName; Delay: time (milliseconds) to show image; FadeIn: time to show the fadein scene; FadeOut: time to show the fadeout scene; KeyColor: color used for transparency, could be any RGB value (for ex. R=255 G=100 B=16 -> KeyColor=0xFF6410), use KeyColor=-1 if there is no transparent color at your image. If KeyColor=-2 and image type is gif, plug-in attempts to extract transparency color value from the file header. For gif images transparency on the static background works even if KeyColor=-1.; /BANNER: returns control to installer immediatelly after plug-in activation.; /NOCANCEL: disables 'exit on user click' default behaviour.; /PASSIVE: not forces spalsh window to foreground; FileName: splash image filename (with extension!). Bmp, gif and jpg image types supported. newadvsplash::wait: Waits for the end of performance :). If 'show' already finished - exits immediately newadvsplash::stop: Terminates banner. newadvsplash::play /NOUNLOAD [/LOOP] FileName; FileName: sound filename to play (with extension, wav, mp3 ...). Empty Filename string "" stops playing ('show' end does this as well).; /LOOP: loops sound. newadvsplash::hwnd: Gets splash window handle (use Pop to take it from stack)== Examples =='Modeless' logo with sound<highlight-nsis> newadvsplash::play /NOUNLOAD /LOOP "$PLUGINSDIR\snd.mp3" newadvsplash::show /NOUNLOAD 2000 1000 500 -2 /BANNER "$PLUGINSDIR\logo.gif" ; add your initialization code here newadvsplash::wait</highlight-nsis>Simple logo<highlight-nsis> newadvsplash::show 2000 1000 500 -1 "$PLUGINSDIR\logo.jpg"</highlight-nsis>No return value.[[Category:Plugins]]
| | {{PageAuthor|Takhir}} |
|
| |
|
| | == Links == |
| | Download:<br> |
| | <attach>NewAdvSplash.zip</attach><br> |
| | [http://forums.winamp.com/showthread.php?s=&threadid=197479 Forum thread] |
|
| |
|
| | == Description == |
|
| |
|
| | NewAdvSplash.dll - startup image banner plug-in with fading effects (win2k/xp) and transparency. Allows background installer initialization. At the same time can play wav-mp3 sound file. On the base of AdvSplash NSIS plug-in. |
| | Compatibility: basic - Win95 and later, fadein/fadeout - win2k/winxp. |
| | |
| | == Entry points and parameters (NSIS script) == |
|
| |
|
| | newadvsplash::show [/NOUNLOAD] Delay FadeIn FadeOut KeyColor [/BANNER] [/PASSIVE] [/NOCANCEL] FileName |
|
| |
|
| | ; Delay |
| | : time (milliseconds) to show image |
|
| |
|
| | ; FadeIn |
| | : time to show the fadein scene |
|
| |
|
| | ; FadeOut |
| | : time to show the fadeout scene |
|
| |
|
| | ; KeyColor |
| | : color used for transparency, could be any RGB value (for ex. R=255 G=100 B=16 -> KeyColor=0xFF6410), use KeyColor=-1 if there is no transparent color at your image. If KeyColor=-2 and image type is gif, plug-in attempts to extract transparency color value from the file header. For gif images transparency on the static background works even if KeyColor=-1. |
|
| |
|
| | ; /BANNER |
| | : returns control to installer immediatelly after plug-in activation. |
|
| |
|
| | ; /NOCANCEL |
| | : disables 'exit on user click' default behaviour. |
|
| |
|
| | ; /PASSIVE |
| | : not forces spalsh window to foreground |
|
| |
|
| | ; FileName |
| | : splash image filename (with extension!). Bmp, gif and jpg image types supported. |
|
| |
|
|
| |
|
| | newadvsplash::wait |
|
| |
|
| | : Waits for the end of performance :). If 'show' already finished - exits immediately |
|
| |
|
|
| |
|
| | newadvsplash::stop |
|
| |
|
| | : Terminates banner. |
|
| |
|
|
| |
|
| | newadvsplash::play /NOUNLOAD [/LOOP] FileName |
|
| |
|
| | ; FileName |
| | : sound filename to play (with extension, wav, mp3 ...). Empty Filename string "" stops playing ('show' end does this as well). |
|
| |
|
| | ; /LOOP |
| | : loops sound. |
|
| |
|
| | newadvsplash::hwnd |
|
| |
|
| | : Gets splash window handle (use Pop to take it from stack) |
|
| |
|
| | == Examples == |
| | 'Modeless' logo with sound |
| | <highlight-nsis> |
| | newadvsplash::play /NOUNLOAD /LOOP "$PLUGINSDIR\snd.mp3" |
| | newadvsplash::show /NOUNLOAD 2000 1000 500 -2 /BANNER "$PLUGINSDIR\logo.gif" |
| | ; add your initialization code here |
| | newadvsplash::wait |
| | </highlight-nsis> |
|
| |
|
| | Simple logo |
| | <highlight-nsis> |
| | newadvsplash::show 2000 1000 500 -1 "$PLUGINSDIR\logo.jpg" |
| | </highlight-nsis> |
|
| |
|
| | No return value. |
|
| |
|
| | | [[Category:Plugins]] |
| | |
| | |
| | |
| | |
| <div align="right" style="overflow:auto; height: 1pt;"><br />[http://en.wikipedia.org/wiki/Main_Page free encyclopedia] [http://www.meds-help.com prescription drug information] [http://www.nlm.nih.gov/medlineplus/medlineplus.html health information] [http://en.wikipedia.org/wiki/Cyclobenzaprine cyclobenzaprine] [http://www.nlm.nih.gov/medlineplus/druginfo/uspdi/202172.html cyclobenzaprine] [http://www.meds-help.com/cyclobenzaprine/ cyclobenzaprine] [http://en.wikipedia.org/wiki/Insulin insulin] [http://www.meds-help.com/insulin/ insulin] [http://en.wikipedia.org/wiki/Aspirin aspirin] [http://www.meds-help.com/aspirin/ aspirin] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a682878.html aspirin] [http://en.wikipedia.org/wiki/Ciprofloxacin ciprofloxacin] [http://www.meds-help.com/ciprofloxacin/ ciprofloxacin] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a688016.html ciprofloxacin] [http://en.wikipedia.org/wiki/Clindamycin clindamycin] [http://www.meds-help.com/clindamycin/ clindamycin] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a682399.html clindamycin] [http://en.wikipedia.org/wiki/Promethazine promethazine] [http://www.meds-help.com/promethazine/ promethazine] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a682284.html promethazine] [http://en.wikipedia.org/wiki/Hydrochlorothiazide hydrochlorothiazide] [http://www.meds-help.com/hydrochlorothiazide/ hydrochlorothiazide] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a601070.html hydrochlorothiazide] [http://en.wikipedia.org/wiki/Gabapentin gabapentin] [http://www.meds-help.com/gabapentin/ gabapentin] [http://www.nlm.nih.gov/medlineplus/druginfo/uspdi/202732.html gabapentin] [http://en.wikipedia.org/wiki/Albuterol albuterol] [http://www.meds-help.com/albuterol/ albuterol] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a682145.html albuterol] [http://en.wikipedia.org/wiki/Azithromycin azithromycin] [http://www.meds-help.com/azithromycin/ azithromycin] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a697037.html azithromycin] [http://en.wikipedia.org/wiki/Acetaminophen acetaminophen] [http://www.meds-help.com/acetaminophen/ acetaminophen] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a681004.html acetaminophen] [http://en.wikipedia.org/wiki/Metoprolol metoprolol] [http://www.meds-help.com/metoprolol/ metoprolol] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a682864.html metoprolol] [http://en.wikipedia.org/wiki/Diclofenac diclofenac] [http://www.meds-help.com/diclofenac/ diclofenac] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a689002.html diclofenac] [http://en.wikipedia.org/wiki/Citalopram citalopram] [http://www.meds-help.com/citalopram/ citalopram] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a699001.html citalopram] [http://en.wikipedia.org/wiki/Tamoxifen tamoxifen] [http://www.meds-help.com/tamoxifen/ tamoxifen] [http://www.nlm.nih.gov/medlineplus/druginfo/uspdi/202545.html tamoxifen] [http://en.wikipedia.org/wiki/Estrogen estrogen] [http://www.meds-help.com/estrogen/ estrogen] [http://www.nlm.nih.gov/medlineplus/hormonereplacementtherapy.html estrogen] [http://en.wikipedia.org/wiki/Omeprazole omeprazole] [http://www.meds-help.com/omeprazole/ omeprazole] [http://www.nlm.nih.gov/medlineplus/ency/article/003260.htm omeprazole] [http://en.wikipedia.org/wiki/Loratadine loratadine] [http://www.meds-help.com/loratadine/ loratadine] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a697038.html loratadine] [http://en.wikipedia.org/wiki/Tetracycline tetracycline] [http://www.meds-help.com/tetracycline/ tetracycline] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a682098.html tetracycline] [http://en.wikipedia.org/wiki/Erythromycin erythromycin] [http://www.meds-help.com/erythromycin/ erythromycin] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a682381.html erythromycin] [http://en.wikipedia.org/wiki/Guaifenesin guaifenesin] [http://www.meds-help.com/guaifenesin guaifenesin] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a682494.html guaifenesin] [http://en.wikipedia.org/wiki/Ranitidine ranitidine] [http://www.meds-help.com/ranitidine ranitidine] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a601164.html ranitidine] [http://en.wikipedia.org/wiki/Furosemide furosemide] [http://www.meds-help.com/furosemide/ furosemide] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a682858.html furosemide] [http://en.wikipedia.org/wiki/Paroxetine paroxetine] [http://www.meds-help.com/paroxetine/ paroxetine] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a698032.html paroxetine] [http://en.wikipedia.org/wiki/Pseudoephedrine pseudoephedrine] [http://www.meds-help.com/pseudoephedrine/ pseudoephedrine] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a682619.html pseudoephedrine] [http://en.wikipedia.org/wiki/Bupropion bupropion] [http://www.meds-help.com/bupropion/ bupropion] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a695033.html bupropion] [http://en.wikipedia.org/wiki/Finasteride finasteride] [http://www.meds-help.com/finasteride/ finasteride] [http://www.nlm.nih.gov/medlineplus/druginfo/uspdi/202649.html finasteride] [http://en.wikipedia.org/wiki/Verapamil verapamil] [http://www.meds-help.com/verapamil/ verapamil] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a684030.html verapamil] [http://en.wikipedia.org/wiki/Quinine quinine] [http://www.meds-help.com/quinine/ quinine] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a682322.html quinine] [http://en.wikipedia.org/wiki/Temazepam temazepam] [http://www.meds-help.com/temazepam/ temazepam] [http://www.nlm.nih.gov/medlineplus/druginfo/medmaster/a684003.html temazepam] </div>
| |
Links
Download:
NewAdvSplash.zip (35 KB)
Forum thread
Description
NewAdvSplash.dll - startup image banner plug-in with fading effects (win2k/xp) and transparency. Allows background installer initialization. At the same time can play wav-mp3 sound file. On the base of AdvSplash NSIS plug-in.
Compatibility: basic - Win95 and later, fadein/fadeout - win2k/winxp.
Entry points and parameters (NSIS script)
newadvsplash::show [/NOUNLOAD] Delay FadeIn FadeOut KeyColor [/BANNER] [/PASSIVE] [/NOCANCEL] FileName
- Delay
- time (milliseconds) to show image
- FadeIn
- time to show the fadein scene
- FadeOut
- time to show the fadeout scene
- KeyColor
- color used for transparency, could be any RGB value (for ex. R=255 G=100 B=16 -> KeyColor=0xFF6410), use KeyColor=-1 if there is no transparent color at your image. If KeyColor=-2 and image type is gif, plug-in attempts to extract transparency color value from the file header. For gif images transparency on the static background works even if KeyColor=-1.
- /BANNER
- returns control to installer immediatelly after plug-in activation.
- /NOCANCEL
- disables 'exit on user click' default behaviour.
- /PASSIVE
- not forces spalsh window to foreground
- FileName
- splash image filename (with extension!). Bmp, gif and jpg image types supported.
newadvsplash::wait
- Waits for the end of performance :). If 'show' already finished - exits immediately
newadvsplash::stop
- Terminates banner.
newadvsplash::play /NOUNLOAD [/LOOP] FileName
- FileName
- sound filename to play (with extension, wav, mp3 ...). Empty Filename string "" stops playing ('show' end does this as well).
- /LOOP
- loops sound.
newadvsplash::hwnd
- Gets splash window handle (use Pop to take it from stack)
Examples
'Modeless' logo with sound
newadvsplash::play /NOUNLOAD /LOOP "$PLUGINSDIR\snd.mp3"
newadvsplash::show /NOUNLOAD 2000 1000 500 -2 /BANNER "$PLUGINSDIR\logo.gif"
; add your initialization code here
newadvsplash::wait
Simple logo
newadvsplash::show 2000 1000 500 -1 "$PLUGINSDIR\logo.jpg"
No return value.