|
|
|
01-21-2019, 04:19 PM
|
#1
|
Banned
Join Date: Jul 2015
Posts: 391
|
Cycle action? Solved
In cycle action I tried making an action to turn on full screen if it is not on.
Basically this is what I tried, this is not exact. It doesn't work for some reason.
If not
Turn on full screen
End
Last edited by cutnpaste; 01-22-2019 at 02:24 PM.
|
|
|
01-22-2019, 03:25 AM
|
#2
|
Human being with feelings
Join Date: May 2016
Posts: 681
|
Quote:
Originally Posted by cutnpaste
In cycle action I tried making an action to turn on full screen if it is not on.
Basically this is what I tried, this is not exact. It doesn't work for some reason.
If not
Turn on full screen
End
|
There is an action 'toggle fullscreen', which does exactly what you want if I don't misread you post..?
hth
|
|
|
01-22-2019, 04:51 AM
|
#3
|
Banned
Join Date: Jul 2015
Posts: 391
|
Quote:
Originally Posted by o_e
There is an action 'toggle fullscreen', which does exactly what you want if I don't misread you post..?
hth
|
I'm aware of that, I'm using the one you are referring to but also using "if not" to activate full screen when it is not active, I further place the cycle action in the global start command, this way it always starts in full screen when I start reaper. But it doesn't work as expected.
Thank you.
|
|
|
01-22-2019, 04:58 AM
|
#4
|
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,770
|
The toggle fullscreen action will always activate full screen if it is not currently full screen.
|
|
|
01-22-2019, 05:25 AM
|
#5
|
Banned
Join Date: Jul 2015
Posts: 391
|
Quote:
Originally Posted by Coachz
The toggle fullscreen action will always activate full screen if it is not currently full screen.
|
That is what I thought but if you had full screen active when you shut down reaper, the next time you start reaper it will go out of the full screen mode because I have it setup to run the full screen function every time reaper is started.
|
|
|
01-22-2019, 05:30 AM
|
#6
|
Human being with feelings
Join Date: Jan 2013
Posts: 1,126
|
To the o/p, you need to put the toggle action twice
If NOT
[Toggle action]
[Toggle action]
End
|
|
|
01-22-2019, 05:38 AM
|
#7
|
Banned
Join Date: Jul 2015
Posts: 391
|
Quote:
Originally Posted by lexaproductions
To the o/p, you need to put the toggle action twice
If NOT
[Toggle action]
[Toggle action]
End
|
Thank you for this information.
Was this information published somewhere?
|
|
|
01-22-2019, 06:14 AM
|
#8
|
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,770
|
You imply that there is a way to run actions automatically on startup. Is that possible?
|
|
|
01-22-2019, 08:22 AM
|
#9
|
Human being with feelings
Join Date: Jul 2009
Posts: 1,071
|
@cutnpaste
Code:
--fullscreen LUA
function main()
fullscreen = reaper.GetToggleCommandState(40346)
if fullscreen ==0 then
reaper.Main_OnCommand(40346, 0)
end
end
main()
This should work I think - attached
@Coachz search global in actions.
|
|
|
01-22-2019, 08:32 AM
|
#10
|
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
|
Quote:
Originally Posted by Coachz
You imply that there is a way to run actions automatically on startup. Is that possible?
|
SWS startup actions. There's also __startup.{lua,eel}.
Last edited by cfillion; 01-22-2019 at 08:40 AM.
|
|
|
01-22-2019, 08:56 AM
|
#11
|
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,770
|
Most excellent. Thanks!
|
|
|
01-22-2019, 02:25 PM
|
#12
|
Banned
Join Date: Jul 2015
Posts: 391
|
Thank you for your responses
|
|
|
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 04:22 AM.
|