Old 09-22-2018, 12:17 AM   #1
Ameliance SkyMusic
Human being with feelings
 
Ameliance SkyMusic's Avatar
 
Join Date: Mar 2018
Location: Ukraine
Posts: 115
Default [API] GetLast...function(s)

A couple of months ago I wrote about problems with the positioning of midi notes.
Later it turned out that this is due to the peculiarities of PPQ.
https://forum.cockos.com/showthread.php?t=206764

After some time I found a solution for myself, but I have to constantly monitor this and every time I record midi items or draw midi item I have to use a custom action manually.
https://youtu.be/eP79xv8_cwo

I would like to bring this to automatism,
since I sometimes forget to use a custom action and get unintended consequences
https://forum.cockos.com/showthread.php?t=208696

So I would like to suggest this API-function
to solve this problem and apply a custom action
to all newly created items after clicking on the "space" (if there is a record)
or after drawing the item in pencil:
GetLastCreatedItem()

Perhaps in these there is a sense too:
GetLastTouchedTrack()
GetLastCreatedTrack()
GetLastAddedItem()
Ameliance SkyMusic is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.