Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ivan_will
Partner - Creator II
Partner - Creator II

how to BUNDLE additional SOUNDS into a QVW doc. and use them?

Hi all,

I have an idea to bundle up to 10 sounds in a qvw. and then use them in the Macro Module / like - ActiveDocument.PlaySound "qmem://<bundled>/sound/tada.wav>"

Is it possible and how to do that !

Many thanks in advance!

1 Solution

Accepted Solutions
ivan_will
Partner - Creator II
Partner - Creator II
Author

That works !!!!!!!!!!!


in the script:

Sound:

LOAD * INLINE [

mainsound,dir,name

tada.wav,C:\Windows\Media\, tadato

];

Bundle load mainsound,dir&mainsound Resident Sound;

in the macro module:




sub PlaySound

ActiveDocument.PlaySound "qmem://mainsound/tada.wav"

end sub

Enjoy QlikView Freaks 🙂

View solution in original post

4 Replies
ivan_will
Partner - Creator II
Partner - Creator II
Author

That works !!!!!!!!!!!


in the script:

Sound:

LOAD * INLINE [

mainsound,dir,name

tada.wav,C:\Windows\Media\, tadato

];

Bundle load mainsound,dir&mainsound Resident Sound;

in the macro module:




sub PlaySound

ActiveDocument.PlaySound "qmem://mainsound/tada.wav"

end sub

Enjoy QlikView Freaks 🙂

fernandotoledo
Partner - Specialist
Partner - Specialist

Does it work with Actions, since macros will stop working in the near future!

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Fernando, have you seen a statement about the future of macros?

-Rob

fernandotoledo
Partner - Specialist
Partner - Specialist

Yep, I actually heard a statement about the future of macros in a official QlikTech's presentation late 2011.

You know that QlikTech never encouraged the use of macros and the latest versions came with "Actions" that make most of things we're used to do with macros.

They never said when it will happen, but that it's comming in the near future.

By the way, I´m using the Action "Show Info" to play sounds loaded with "INFO LOAD". But It launches an external player, in my case Winamp.

Regards,

Fernando