Irvue AppleScript Commands


Change current wallpaper

Example:

tell application "Irvue" change current wallpaper end tell

Load previous wallpaper

Example:

tell application "Irvue" load previous wallpaper end tell

Change all wallpapers

Example:

tell application "Irvue" change all wallpapers end tell

Load first wallpaper

Example:

tell application "Irvue" load first wallpaper end tell

Get All Channels

Example:

tell application "Irvue" get all wallpapers end tell

Example response:

{"All photos", "Collection #126", "MacOS Wallpapers", "Featured"}

Get Default Channels

Example:

tell application "Irvue" get default wallpapers end tell

Example response:

{"Featured", "All photos"}

Get Current Channel

Example:

tell application "Irvue" get current channel end tell

Example response:

"MacOS Wallpapers"

Set Current Channel

Example:

tell application "Irvue" set current channel "Featured" end tell

Remove Channel

Example:

tell application "Irvue" remove channel "Nature" end tell

Add Channels

Example:

tell application "Irvue" add channels from "Nature" end tell tell application "Irvue" add channels from "https://unsplash.com/@leonspok" end tell tell application "Irvue" add channels from "https://unsplash.com/collections/curated/127" end tell tell application "Irvue" add channels from "https://unsplash.com/collections/347317/tech" end tell

Set Update Interval

Example:

tell application "Irvue" set update interval 15 end tell

Save current wallpaper

Example:

tell application "Irvue" save current wallpaper end tell

Toggle like current wallpaper

Example:

tell application "Irvue" toggle like current wallpaper end tell

Get link to Unsplash for the current wallpaper

Example:

tell application "Irvue" get current wallpaper url end tell

Get information about the current wallpaper

Example #1:

tell application "Irvue" set wallpaper to get current wallpaper info wallpaper end tell

Output #1:

{likes count:301, location longitude:0.0, is liked:false, location latitude:0.0, path:"/Users/igorsavelev/Library/Containers/com.leonspok.osx.Irvue/Data/Library/Application Support/Irvue/unsplash_111.jpg", unsplash url:"https://unsplash.com/photos/-111", name of the author:"Author"}

Example #2:

tell application "Irvue" set wallpaper to get current wallpaper info likes count of wallpaper end tell

Output #2:

301