mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Updated LUA Events (markdown)
parent
1587032590
commit
b2b90e1ab5
@ -19,6 +19,8 @@ profile profile, profileDrawingEventArgs eventArgs
|
|||||||
-- This function will be called after every profile draw.
|
-- This function will be called after every profile draw.
|
||||||
function drawHandler(profile, eventArgs)
|
function drawHandler(profile, eventArgs)
|
||||||
-- Put your code here
|
-- 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
|
end
|
||||||
|
|
||||||
-- Subscribe to the event AFTER defining the function which must be subscribed.
|
-- Subscribe to the event AFTER defining the function which must be subscribed.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user