Old 06-09-2019, 11:42 PM   #1
Archie
Human being with feelings
 
Archie's Avatar
 
Join Date: Oct 2017
Location: Russia
Posts: 24
Default GetProjectStateChangeCount

Is it possible to fix the function " reaper.GetProjectStateChangeCount(0)"?
When you click on an empty space in TCP the number changes, although the project does not change.






Thanks.
__________________
=================================
ReaPack| Archie-ReaScript: Discussion | Donate

Last edited by Archie; 06-10-2019 at 12:03 AM.
Archie is offline   Reply With Quote
Old 06-10-2019, 12:28 AM   #2
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,394
Default

This deselects a lot like tracks, etc.
So the project might change that way.

Or does it count also twice, when you click twice empty Tcp?
__________________
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635
mespotine is offline   Reply With Quote
Old 06-10-2019, 12:45 AM   #3
Archie
Human being with feelings
 
Archie's Avatar
 
Join Date: Oct 2017
Location: Russia
Posts: 24
Default

If there are no selected tracks, then when you click into the empty space in TCP the project does not become dirty, and the function changes the number. So it should not be, because no changes occurred.
Quote:
Originally Posted by mespotine View Post
Or does it count also twice, when you click twice empty Tcp?
Each click changes the number, it can be seen on the gif
__________________
=================================
ReaPack| Archie-ReaScript: Discussion | Donate
Archie 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 07:39 AM.


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