-
So my objective is to first make sure that the user has opened the project that I want them to. Right now I am doing an spaghetti hack by checking that the names of the tracks are the ones I expect them to be. I guess the best thing, would be if there was some obvious unique identifier I could set in a project? And then check with ableton-js? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You can set and read custom data using the Would that work for your use case? |
Beta Was this translation helpful? Give feedback.
You can set and read custom data using the
song.setData
andsong.getData
methods. This could allow you to give each project file a custom ID that you can check to ensure the correct file is opened.Would that work for your use case?