Use Flickr for your desktop slideshow

baarod

New member
I've attached a cool program my son wrote originally to fetch a random image from Flickr (Welcome to Flickr - Photo Sharing) and set it as your desktop background. I thought it was so cool that I added a few new features and thought I'd post it here for feedback.

View attachment Flippr.zip

Here's the content of the readme.txt file:

Code:
Flippr


Description: 
    
    Flippr is a SmallBasic program that "flips" the desktop background to a 
    (optionally) random image from Flickr (www.flickr.com).


Usage:

    Flippr [/window] [taglist]

    /window        Show a status window in the upper right corner of the 
            desktop while Flippr is working.
    tagist        One or more Flickr tags to search for separated by 
            spaces. If the tag contains spaces surround it with 
            double quotes.


Notes:

    This program was originally written as a test of Microsoft SmallBasic 
    (http://msdn.microsoft.com/en-us/devlabs/cc950524.aspx) by my 16 year
    old son following the "Getting Started Guide" included with the 
    product. The program name was his idea -- Flickr/Flippr -- clever...

    "Hey, Dad. Check this out! Look what I wrote!"

    I was blown away. He'd never written a line of code in his life and
    somebody on the internet turned him on to this one day and the next
    he's writing cool programs. Show it to your kids.

    I added command line parsing, the status window and created a Windows 7
    Task Scheduler XML with an installer script. Oh, and this readme file.

Files:

    Flippr.exe        Main executable. Depends on 
                SmallBasicLibrary.dll below.

    Flippr.sb        SmallBasic source code for Flippr.exe

    Flippr.xml        Task Scheduler task for installation with
                Install.cmd below

    Install.cmd        Task Scheduler install script, edit Flippr.xml
                per the instructions below and run this to 
                automatically change your desktop background
                on a schedule.

    readme.txt        this file

    SmallBasicLibrary.dll    SmallBasic runtime DLL, leave in same folder
                as Flipper.exe


Flippr.xml:

    Hopefully you know something about XML by now.  If not, it's just a
    fancy text file.  For those of you that know about XPath just change

        /Task/Actions/Exec/Command/text()
    
    to the full path to Flippr.exe

        /Task/Actions/Exec/Arguments/text()

    to the desired command line arguments and

        /Task/Triggers/CalendarTrigger/Repetition/Interval/text()

    to the run interval i.e. PT1H is 1 hour, PT10M is 10 minutes, etc. 
    
    If you're lost at this point read on otherwise just run Install.cmd
    to install the scheduler task and happy Flippn...

    Rather than explaining what XML is in detail just do the following to
    get going:

    1) Open Flippr.xml with notepad.
    2) Search for "<Interval>" without the quotes.
    3) Replace the text between <Interval> and </Interval> with PT1H if
    you want the desktop wallpaper to flip every hour, PT2H every two
    hours, PT10M every 10 minutes, PT30M every 30 minutes and so on.
    4) Search for "<Command>".
    5) Replace the text between <Command> and </Command> with the full
    path to Flippr.exe.  If you move it later you'll have to edit this
    file again and rerun Install.cmd to update it.
    6) Search for "<Arguments>".
    7) Replace the text between <Arguments> and </Arguments> with the 
    desired program arguments as documented in the Usage section above.
    8) Save the file and run Install.cmd to install the scheduler task.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Apple
OS
El Capitan / Windows 10
CPU
i7-4980HQ
Memory
16GB
Graphics Card(s)
Iris 5200
Interesting - Display Fusion does that as well....
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    The Beast Model A (homebrew)
    OS
    Windows 11 21H2 Current build
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spec
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Plat
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    SteelSeries Apex Pro Wired Gaming Keyboard
    Keyboard
    SteelSeries Apex Pro
    Mouse
    Logitech MX Master 3S | MX Master 3 for business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Antivirus
    Windows Defender + MB 3
    Browser
    Nightly (default) + Firefox (stable),Chrome, Edge
  • Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Dell Latitude E5470
    OS
    ChromeOS Flex Dev Channel (current)
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics Card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Keyboard
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
Back
Top