From b2b90e1ab51211d54b80bc1e09ae76524082bb63 Mon Sep 17 00:00:00 2001 From: Robert Beekman Date: Wed, 2 Nov 2016 13:50:57 +0100 Subject: [PATCH] Updated LUA Events (markdown) --- LUA-Events.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LUA-Events.md b/LUA-Events.md index a432a1d..87fc39c 100644 --- a/LUA-Events.md +++ b/LUA-Events.md @@ -19,6 +19,8 @@ profile profile, profileDrawingEventArgs eventArgs -- This function will be called after every profile draw. function drawHandler(profile, eventArgs) -- Put your code here + -- The Event Arguments are inside the eventArgs parameter, in a Windows Profile, you could do this: + local currentSong = eventArgs.DataModel.Spotify.SongName; end -- Subscribe to the event AFTER defining the function which must be subscribed.