[Solved] Random Slide Show Request

Discuss the presentation application
Post Reply
pizza_parlor
Posts: 5
Joined: Fri Oct 05, 2012 10:37 pm

[Solved] Random Slide Show Request

Post by pizza_parlor »

Hello Impress extension developers, I would like to make a request.

Function: random slide sorter extension for Impress similar to TM Randomize Slideshow for PowerPoint.

Key Features:
-- ability to skip the first x slides (intro slides) and/or the last y slides ("Thank you," "Goodbye," etc.)
-- ability to randomize the slides singly; or, in groups of 2 (question and answer pairs)

Who Would Want This Feature?
Teachers and students! Everyone knows that flashcards are a great learning tool. And, if you can randomize your slide show, you can use it like flashcards to teach yourself or to teach others.

Teacher testimonials from the TM Randomize Slideshow website:
Education:

R.N. who works at a high risk school in the Western U.S. writes: "I have been working with teachers to create flash card programs using power point. The randomizer would keep students from memorizing word or fact order."

Allen O, a foreign language teacher, uses the add-in for vocabulary lessons

Justin B uses the add-in for multiple education projects

Peter B shows "developments at the edge of science during idle moments"

Tim F finds that flashcards in a particular format shown in random sequence help enhance learning and information retention

Dave P teaches math and displays multiplication problems to teach students struggling to learn multiplication tables
--------------------------------------------------------------------------------------------------------------------------------

Acnack once wrote, "Sorry, I didn't mean to imply that it's not a valid request. I only meant that, if you want to the feature to get any consideration from the developers, someone needs to request it. Since no one has asked--unless I missed it of course, the feature is not even on the radar."

Therefore, I request it!

In this link, I see that someone has graciously supplied some code toward this purpose. But, it does not have all of the "key" features named, above, which would make it really practical for classroom use.

I think to myself, "I'll bet this would be a pretty easy extension for someone to write." Would anyone care to create a nice little extension module for Impress? I could use it in my classroom right now...

I hope so. Thank you for your time and consideration.
Last edited by RoryOF on Mon Oct 08, 2012 3:18 pm, edited 2 times in total.
Reason: added green tick (RoryOF)
OpenOffice 3.4 on Windows 7
hanya
Volunteer
Posts: 885
Joined: Fri Nov 23, 2007 9:27 am
Location: Japan

Re: Random Slide Show Request

Post by hanya »

I made a prototype macro to make randomized slideshow in custom slideshow.
The attached presentation document contains the macro, push button on the first slide. Not well tested.
Attachments
TestPre.odp
Prototype
(15.91 KiB) Downloaded 970 times
Please, edit this thread's initial post and add "[Solved]" to the subject line if your problem has been solved.
Apache OpenOffice 4-dev on Xubuntu 14.04
pizza_parlor
Posts: 5
Joined: Fri Oct 05, 2012 10:37 pm

Re: Random Slide Show Request

Post by pizza_parlor »

Wow, thank you, Hanya. I'm testing it now...
OpenOffice 3.4 on Windows 7
pizza_parlor
Posts: 5
Joined: Fri Oct 05, 2012 10:37 pm

Re: [Solved] Random Slide Show Request

Post by pizza_parlor »

Thanks, Hanya. It works!! I closed the ticket. Any chance that this can be turned (eventually, one day) into an actual add-on module? Thanks again!!!
OpenOffice 3.4 on Windows 7
hanya
Volunteer
Posts: 885
Joined: Fri Nov 23, 2007 9:27 am
Location: Japan

Re: [Solved] Random Slide Show Request

Post by hanya »

pizza_parlor wrote:Thanks, Hanya. It works!! I closed the ticket. Any chance that this can be turned (eventually, one day) into an actual add-on module? Thanks again!!!
Thanks for testing it. I packed it as OXT package with built in help file and other fix for UI strings:
https://github.com/hanya/RandomizeSlideShow/downloads
Please, edit this thread's initial post and add "[Solved]" to the subject line if your problem has been solved.
Apache OpenOffice 4-dev on Xubuntu 14.04
pizza_parlor
Posts: 5
Joined: Fri Oct 05, 2012 10:37 pm

Re: [Solved] Random Slide Show Request

Post by pizza_parlor »

Wow, I just saw this. Awesome! I downloaded and will try it out. Thank U, Hanya!!!!
OpenOffice 3.4 on Windows 7
pizza_parlor
Posts: 5
Joined: Fri Oct 05, 2012 10:37 pm

Re: [Solved] Random Slide Show Request

Post by pizza_parlor »

OMG it works!! And, as a built-in Impress feature!! And, with help files (as u said)!!! THANK U!!!!! I WILL USE IT TODAY WITH MY STUDENTS. THEY WILL LOVE THIS!!!!!!!
OpenOffice 3.4 on Windows 7
GeoVa
Posts: 5
Joined: Tue Mar 11, 2014 11:44 pm

Re: [Solved] Random Slide Show Request

Post by GeoVa »

Hello,
I use a macro assign to a interaction batton, to jump to a RANDOM slide in a presentation.
In Powerpoint i use this macro code, that works perfect:
Jump to a Random Slide:
------------------------
This is the code to jump to a random slide within a given range.
Give to an action button an action of Run > Macro > randjump to use it.

To generate the random number use this formula:
Number =Int((highest number in range - one less that lowest number)*rnd + lowest number in range)

Example:
For a number between 4 and 10
Number = Int((10-3)*rnd+4) ---OR -- Int(7*rnd +4)


So here's the code to jump to a random slide between 4 and 10





Sub randjump()
randomize
Dim Inum As Integer
Inum = Int(7 * Rnd + 4)
ActivePresentation.SlideShowWindow.View.GotoSlide (Inum)
End Sub




Now, i try to use this CODE to OO Impress, but an error message come out: "Basic Runtime error. Object variable not set".
HOW CAN I MODIFY THE ABOVE CODE TO WORK WITH OPEN OFFICE 4.1 IMPRESS?
OpenOffice 4.1 on Windows 7
Post Reply