|
|
|
02-24-2017, 08:28 AM
|
#41
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,584
|
little code improvement and added dock position saving:
It saves dock position globally (for all projects),hope this fixed your issue (at my end it works perfectly,even when closing and opening reaper again)
Last edited by Sexan; 02-25-2017 at 10:47 AM.
|
|
|
02-24-2017, 10:03 AM
|
#42
|
Human being with feelings
Join Date: Apr 2014
Location: NY
Posts: 175
|
Quote:
Originally Posted by Sexan
|
You rock bro, Sexan for president!!!
Thank you so much!!!!
|
|
|
02-24-2017, 10:17 AM
|
#43
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,584
|
Small fix uploaded
|
|
|
02-24-2017, 10:25 AM
|
#44
|
Human being with feelings
Join Date: Apr 2014
Location: NY
Posts: 175
|
Quote:
Originally Posted by Sexan
Small fix uploaded
|
Unfortunately my default project doesn't open with the script anymore... First of all i deleted the old script, then i loaded the new one and placed it in the right place and then i saved the project as my default template... Please let me know if i'm doing something wrong, thanks.
|
|
|
02-24-2017, 01:57 PM
|
#45
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,584
|
Please tryagain because I've updated again and paste the error if there is any
|
|
|
02-24-2017, 11:19 PM
|
#46
|
Human being with feelings
Join Date: Apr 2014
Location: NY
Posts: 175
|
I just added the latest update of the script as a project start up action in the SWS menu and everything seems to be working flawlessly, Great job Sexan!!!
|
|
|
02-25-2017, 10:47 AM
|
#47
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,584
|
One more update (Latest version in first post.), not necessary to install (just some more code simplification). Different counting and storing code now so it will forget your previous project time if you install it.
Regarding what triggers it:
It checks if user made any action, on every made action internal afk timer is reset and it counts to 60,after 60 it stops counting and you are in AFK mode
Last edited by Sexan; 02-25-2017 at 10:52 AM.
|
|
|
02-28-2017, 03:26 AM
|
#48
|
Human being with feelings
Join Date: Nov 2015
Posts: 642
|
Hello,
thanks for this nice little script - the AFK feature is big.
I have some questions:
1. It got delivered with the ReaPack Manager but the version there isn't the latest but the initial one. Any idea why? (I copied the new code manually from your github rep)
2. The initial version docked it self as a tab so it was always reachable. Now I can run the script, it opens in a new little window and when I click / use the Reaper interface it "falls" into the background. Is there a possibility to switch to the old behaviour?
Best regards.
|
|
|
02-28-2017, 03:39 AM
|
#49
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,584
|
Quote:
Originally Posted by Luster
Hello,
thanks for this nice little script - the AFK feature is big.
I have some questions:
1. It got delivered with the ReaPack Manager but the version there isn't the latest but the initial one. Any idea why? (I copied the new code manually from your github rep)
2. The initial version docked it self as a tab so it was always reachable. Now I can run the script, it opens in a new little window and when I click / use the Reaper interface it "falls" into the background. Is there a possibility to switch to the old behaviour?
Best regards.
|
1. The version from ReaPack is not from my github,so its not updated. I'm currently working on linking MY github with ReaPack.
2.You can do this your self atm:
open script in edit mode and go to end of the script and you will see
Code:
local dock_pos = reaper.GetExtState("time", "dock")
dock_pos = dock_pos or 0
modify it to :
Code:
dock_pos = dock_pos or 513
to be always docked at the start.
But latest script actually remembers where you docked the script,so when you open it second time it should be at the position where you left it.
|
|
|
02-28-2017, 03:48 AM
|
#50
|
Human being with feelings
Join Date: Nov 2015
Posts: 642
|
Thanks for the super fast help. Got it.
|
|
|
02-28-2017, 04:19 AM
|
#51
|
Human being with feelings
Join Date: May 2011
Location: Padova
Posts: 1,626
|
AMAZING!!!! I was looking for something like this since years! How's I've never seen it???
Finally I can really have a way to see how much I work for free for the extra-bugdet time I need to work for the extra and not payed requests by the client
thanks!
|
|
|
02-28-2017, 05:58 AM
|
#52
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,584
|
Away From Keyboard - if project is opened but you are not doing anything it stops the time. Script only counts time IF you are actually working on the project
|
|
|
02-28-2017, 06:23 AM
|
#53
|
Human being with feelings
Join Date: May 2011
Location: Padova
Posts: 1,626
|
I guess I'm missing something...I can see only the numbers with out the D:H:M:S above them. Not a big deal, just wondering why...
The other thing that seems isn't working is the docking part.
I can't dock the little window with the timer and actually, it always open as a tiny window that I have to enlarge (see the licecap)...what am I doing wrong?
photo upload
|
|
|
02-28-2017, 07:11 AM
|
#54
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,584
|
Yeah "D:H:M:S" is removed from code. You want it?
When you dock it,and close the script, it should stay on that possition, Right-click dock does not work?
It is coded to open first time as window so users can dock it where they like.
Please keep me informed whats happening because I see you are on OSX. Try to dock it and then close/terminate it or close reaper and start it again. It should be docked then (it remembers the dock position)
|
|
|
02-28-2017, 08:36 AM
|
#55
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
|
Hi Sexan,
would you do a alternative version with just hours and minutes ?
(I don't need days and seconds actually plus it would also save a bit of space).
Thanks.
|
|
|
02-28-2017, 08:48 AM
|
#57
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
|
Oh damn that was unexpectedly fast.
Thank you, much appreciated.
|
|
|
02-28-2017, 09:02 AM
|
#58
|
Human being with feelings
Join Date: May 2011
Location: Padova
Posts: 1,626
|
Quote:
Originally Posted by Sexan
Yeah "D:H:M:S" is removed from code. You want it?
When you dock it,and close the script, it should stay on that possition, Right-click dock does not work?
It is coded to open first time as window so users can dock it where they like.
Please keep me informed whats happening because I see you are on OSX. Try to dock it and then close/terminate it or close reaper and start it again. It should be docked then (it remembers the dock position)
|
the faster replies ever! thanks!
Don't worry, I don't need D:H:M:S if it is correct they shouldn't be there...I was just curious why I couldn't see them, but I can say the reason now is obvious
Yes, I'm on OSX both 10.6.8 and 10.9 (two different computers). I can't even dock it, the right click doesn't work and the window always open tiny as in the previous post and I have to resize it to read the numbers.
It's not a problem, I can live with that...don't kill yourself if it's a PITA to fix it
|
|
|
02-28-2017, 09:59 AM
|
#59
|
Human being with feelings
Join Date: Nov 2015
Posts: 642
|
A constructive suggestion:
The seconds counter I believe isn't needed but the fact that it makes transparent when the AFK feature kicks in makes it handy. So instead of the seconds counter a status signalling would be cool. E.g. -Paused-
|
|
|
02-28-2017, 10:21 AM
|
#60
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,584
|
Quote:
Originally Posted by metal_priest
the faster replies ever! thanks!
Don't worry, I don't need D:H:M:S if it is correct they shouldn't be there...I was just curious why I couldn't see them, but I can say the reason now is obvious
Yes, I'm on OSX both 10.6.8 and 10.9 (two different computers). I can't even dock it, the right click doesn't work and the window always open tiny as in the previous post and I have to resize it to read the numbers.
It's not a problem, I can live with that...don't kill yourself if it's a PITA to fix it
|
Hmmm... do not know why you cannot dock... anyway edit the script and at the end
Code:
dock_pos = dock_pos or 0
set 513 instead of 0
then it will start docked
I will edit the main script to be always docked,to avoid this problem
EDIT: updated the script with this change
Last edited by Sexan; 02-28-2017 at 10:29 AM.
|
|
|
02-28-2017, 12:39 PM
|
#61
|
Human being with feelings
Join Date: May 2011
Location: Padova
Posts: 1,626
|
this is wierd...I've downloaded your last update and still it doesnt' work...always the same little window and still I have to resize it to read...
maybe I'm doing something wrong?
I import the lua in the action list as usual and then i run it, is it correct?
|
|
|
02-28-2017, 01:11 PM
|
#62
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,584
|
yeah you are doing all good...do not know whats wrong maybe gfx.dock is different on OSX ??
please try this one:
https://stash.reaper.fm/30004/test.lua
One question, are you right clicking on script window title bar?
edit:Sorry regarding windows size (was set on minimal number). On Windows it cannot be smaller than some xy number so if its set to 0 it will be like 50-100 pixels,but apparently on OSX reads it right so 0 is 0.will update that in a second
edit2: updated
Last edited by Sexan; 02-28-2017 at 02:02 PM.
|
|
|
02-28-2017, 01:58 PM
|
#63
|
Human being with feelings
Join Date: Nov 2015
Posts: 642
|
For me at Windows the option to dock it only appears when I right clicked on the title bar of the script. Not in the script or the icon on the left top of the window. Just mentioning it..
|
|
|
02-28-2017, 11:08 PM
|
#64
|
Human being with feelings
Join Date: May 2011
Location: Padova
Posts: 1,626
|
BUM! now it works! I've downloaded the test.lua above and loaded, it opens docked
thank you very much for your kindness and helpfulness!
|
|
|
08-12-2017, 01:18 PM
|
#65
|
Human being with feelings
Join Date: Jun 2011
Posts: 603
|
Hi Sexan,
Thanks for this great Script. I have a request if possible and I'm ready to donate your work.
- I need 3 Timers in one script.
- First Timer is the Windows System Clock.
- Second Timer starts when the project is opened and stops when the project is closed. So this is the timer without AFK Mode.
- Third timer is just like the script as it is now.(AFK Mode)
I hope this is possible and you have time and will to do it.
Regards.
|
|
|
08-13-2017, 03:09 AM
|
#66
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,584
|
ok,I will make it tonight. Do you need project open timer to be stored with the project? (to add time to it every time its opened? basically this is the basic timer without afk code)
|
|
|
08-13-2017, 10:48 AM
|
#68
|
Human being with feelings
Join Date: Jun 2011
Posts: 603
|
Thank you Sexan Please check your private messages.
|
|
|
08-13-2017, 03:30 PM
|
#69
|
Human being with feelings
Join Date: Apr 2014
Location: NY
Posts: 175
|
Quote:
Originally Posted by Sexan
|
Thank you so much Sexan, those additions are very useful!!!
|
|
|
08-14-2017, 12:11 AM
|
#70
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,584
|
Update:
Fixed storing last dock position for both scripts
Both available on ReaPack or on the link above
|
|
|
08-15-2017, 01:08 AM
|
#71
|
Human being with feelings
Join Date: Feb 2017
Posts: 76
|
This is bloody brilliant. It might also be slightly depressing. But thank you anyway
|
|
|
05-05-2019, 06:16 PM
|
#72
|
Human being with feelings
Join Date: Feb 2017
Location: Hollywood, CA
Posts: 125
|
@Sexan Is it possible to have the script save the time to a text file in the project folder for quick reference?
|
|
|
11-11-2019, 05:53 AM
|
#73
|
Human being with feelings
Join Date: Aug 2019
Location: beijing
Posts: 612
|
Hi sexan, have a little question here.
how do i reset the time counter back to 0 in the current project?
is it possible to make a button for restting the time ?
thank u ~~~
|
|
|
02-21-2020, 02:05 AM
|
#74
|
Human being with feelings
Join Date: Jun 2011
Posts: 195
|
Quote:
Originally Posted by todoublez
Hi sexan, have a little question here.
how do i reset the time counter back to 0 in the current project?
is it possible to make a button for restting the time ?
thank u ~~~
|
I have the exact same question.
The scenario is an always growing template. When I start a new project I save the previous project as a new project and just delete all items.
There is only a need to reset the counter.
Cheers
|
|
|
04-08-2020, 03:26 PM
|
#75
|
Human being with feelings
Join Date: Jul 2009
Posts: 429
|
Yo, thanks, great script
I have a pretty awkward request.
Could it be possible that the script window has a title? It is almost impossible to switch between tabs in the docker
Last edited by barbaroja; 04-29-2023 at 01:14 AM.
|
|
|
02-27-2022, 05:13 PM
|
#76
|
Human being with feelings
Join Date: Jan 2012
Location: Long Beach, CA
Posts: 77
|
Just found out about this via another thread. Brilliant!!!! I would also hope @Sexan could provide a reset button for template’s. Happy to donate to make this happen. Thank you!
|
|
|
02-28-2022, 12:46 AM
|
#77
|
Human being with feelings
Join Date: Mar 2013
Posts: 181
|
@Djmajik You can try this script
|
|
|
02-28-2022, 09:48 PM
|
#78
|
Human being with feelings
Join Date: Jan 2012
Location: Long Beach, CA
Posts: 77
|
Quote:
Originally Posted by PelF
|
Perfect! Thank you!
|
|
|
04-18-2022, 05:37 AM
|
#80
|
Human being with feelings
Join Date: Apr 2022
Posts: 14
|
Hi. Sorry if this is an old thread but I’m using the script and is very useful. However, the links in the main page are down and the only version I could download has to be manually opened every time I open reaper. Is there away someone could give me a hand? I downloaded the version that only has a timer and days, hours, and seconds, since it's the most useful to me. I only need it to open manually, and maybe no not have afk since sometimes I forgot to click in the main window to make it star. Thanks!
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 01:23 AM.
|