BECOME PART OF THE COMMUNITY - Sign up
here
-
Is there a workflow to achieve this?
this seems to do the job:
1. set focus to the commandline input
2. type the command.via keyboard
3. wait until commandline is empty again
local function UserInteract(syntax, warning)
local pb = StartProgress(warning or 'please complete commandline for plugin to resume')
local shortcuts = CurrentProfile().KeyboardShortCuts
local shortcutstatus = shortcuts.KeyboardShortcutsActive
FindBestFocus(GetDisplayByIndex(1).CmdLineSection)
shortcuts.KeyboardShortcutsActive = false
for i = 1, #syntax do Keyboard(1, 'char', syntax:sub(i,i)) end
shortcuts.KeyboardShortcutsActive = shortcutstatus
while #CmdObj().CmdText > 0 do coroutine.yield(0.1) end
StopProgress(pb)
end
return function()
UserInteract('Select', 'press an exec button')
Echo('interaction done')
end
Display More
-
you can still use external lua file if desired, just enter filename.lua in the FileName property of the plugin component
-
another solution could be to select the desired configuration in the first macroline before storing and creating the sequence
Select Configuration "mybump"
-
plausible solution:
use
Collect (2xSelect) instead of Select:
Select Select Press Page x.y
then your macro could:
Select Collection
Assign Configuration x At Collection
etc
add Collect at end of macro to empty collection
-
but exactly how do you select in the first place?
-
trying to understand the overall full intended workflow here.
do you have the sequence assigned to multiple executors?
how and why (for what purpose) is the sequence selected in the first place?
-
'The variable consisting of only an underscore "_" is commonly used as a placeholder when you want to ignore the variable:'
lua-users wiki: Lua Style Guide
-
cue-numbers are nether integers nor decimal numbers, as cue-numbers are limited to 3 digits after the dot.
this is a number format not supported by $variables
you could workaround this by converting the cue-number to a string before setting the $variable
local currentcue = tostring(cue.No/1000)
or
local currentcue = 'Cue ' .. cue.No/1000
-
Lua "local s,p,o=1,21,99 for _,w in ipairs(ObjectList('ScreenContent '..s..'.*')) do if w.Name=='WindowPresetPool' and w.PresetPoolType==p-1 then w.WindowScrollPositions.ScrollV=o..','..o end end"
edit values for s, p, o
(screen, poolnumber, offset)
-
-
return function()
local app = ShowData().Appearances["Fixture"]
local tokenaddress = app:ToAddr()
local nativeaddress = app:AddrNative()
Printf("Token address = " .. tokenaddress)
Printf("Native address = " .. nativeaddress)
local fromAddr = FromAddr(nativeaddress)
Printf("FromAddr.name: " .. fromAddr.name)
end
-
Set Cue 1 Property "Command" "aaa"
-
How do you make the Execute function to be called?
1. Assign the Plugin to an Executor
2. Assign Master to the fader and e.g. Flash to the key of the executor
3. Watch system monitor while operating key and fader of the executor
Be aware that only the main function has access to the object API,
cleanup and execute functions runs in a pure Lua environment.
-
Via GUI:
Menu>Settings>UserConfiguration>User>Appearance
Via commandline
Assign Appearance x At User y
-
yes they are global,
CD Appearance
you cannot hide these
-
notice the curly brackets in the error message, you need to provide a {table}, however table content is [optional]
Lua "Echo(GetExecutor(201):GetFader({}))"
Lua "Echo(SelectedSequence():GetFader({token='FaderMaster'}))"
-
I believe answers to some or your questions may be found in this thread:
Thread
What's taking so long?? (a.k.a. Where is my software release?)
<Full disclosure: I am not an employee of MA Lighting International or MA Lighting Technology. However, I am an employee of a distributor of MA Lighting products, and also a Beta Tester.>
As a new version of grandMA3 software approaches and everyone gets antsy for its release, some common refrains I hear include the likes of "What's taking so long?", and "Is there a scheduled release date?", and "Can I see the release notes?", among others. And inevitably these choruses get louder in the echo…
---
from my point of view, online polls regarding feature requests would not be very valuable for MA
Users active in online forums are not a representative sample of their actual customer base.
-
1. yes this is possible. (via the GetFader object method)
2. not to my knowledge
-
The signalTable per se is not relevant for the Execute function of this plugin,
exercise:
- replace the second line
local signalTable = select(3,...)
with
local whateverTable = {} - rename signalTable to whateverTable in the rest of the code.
- compare the execute behavior of the original versus the modified plugin.
- it should be exactly the same
-
You could use the "TrackPad Window" in mode "Pan/Tilt"