WarmUpTill
c59acd836a
Reduce size of audio action widget
...
Only show audio fade options when they are needed.
2023-06-17 13:57:35 +02:00
WarmUpTill
1e81181312
Add option to toggle filter
2023-06-09 20:28:01 +02:00
WarmUpTill
8a796efdb3
Allow specifying custom prompts for variable input
2023-06-07 12:36:39 +02:00
WarmUpTill
1a07a93552
Add spacer if not modifying strValue and remove it otherwise
2023-06-07 12:36:39 +02:00
WarmUpTill
bd74629420
Add helpers to add and remove trailing spacer items in QBoxLayouts
2023-06-07 12:36:39 +02:00
WarmUpTill
dabb293cc0
Mark locale maps as const
...
There is no reason to have these not be const as new locale entries will
not be added at runtime.
2023-06-03 22:38:42 +02:00
WarmUpTill
05fa3af2ac
Fix crash while waiting for transition and no transition is selected
2023-05-31 13:39:47 +02:00
WarmUpTill
c52166bfec
Add option to trigger OBS hotkeys directly
...
Main use case would be to interact with other plugins which offer
hotkeys.
The benefit of this method is that it does not require a key to be bound
to the particular hotkey to trigger the functionality.
2023-05-30 13:14:58 +02:00
WarmUpTill
6d3964fa5d
Fix non-modal-dialog answer being ignored
2023-05-30 13:14:58 +02:00
WarmUpTill
65545d85ba
Let OBS handle dock restoration on first startup and cleanup on shutdown
...
The "manual" attempt at restoring the docks should only be performed on
scene collection change as OBS will already take care of this on
starutp.
Do not delete the macro dock widgets on shutdown so OBS is able to save
their location and size properly.
2023-05-30 12:58:23 +02:00
WarmUpTill
dea4ff47cd
Add option to prompt user for value to be assigned to variable
2023-05-28 19:59:12 +02:00
WarmUpTill
258a5f6ab7
Move NonModalMessageDialog to separate file
2023-05-28 19:59:12 +02:00
WarmUpTill
2048ca2816
Add scenes to possible selection of "Source" condition type
...
It might be useful to check if a given scene is visible outside of it
being the currently active scene, as scenes can also be used as sources
within other scenes.
2023-05-26 21:45:45 +02:00
WarmUpTill
eb9e2e8062
Const correctness
2023-05-26 21:45:45 +02:00
WarmUpTill
3229bf0150
Clean up source condition and action
...
* Add hints directing to the scene item visibility action / condition as
they frequently get mixed up
* Clean up layout of the source condition (removed spaces in locale as
this unnecessary spacing in the layout when the settings check was not
selected
2023-05-26 21:45:45 +02:00
WarmUpTill
dfa12f9807
Add support for configuring additional streaming options
...
* Set server
* Set stream key
* Set username
* Set password
2023-05-26 20:42:16 +02:00
WarmUpTill
e0917a35fd
Fix function priorities not being saved
2023-05-20 06:18:32 -07:00
WarmUpTill
78402f6546
Fix plugin state and timer action not being translated
2023-05-17 13:47:45 -07:00
WarmUpTill
a1b5fbb1fe
Add OSC action
2023-05-17 06:31:43 -07:00
WarmUpTill
b71f633fac
Add support for websocket messages not following the OBS WS protocol
2023-05-17 04:39:04 -07:00
WarmUpTill
dbb674aa8e
Add "Display" condition
...
Allows you to check for the amount and name of the connected displays
2023-05-17 04:38:44 -07:00
WarmUpTill
018daf7f09
Move GetMonitorNames() to utility
2023-05-17 04:38:44 -07:00
WarmUpTill
a07a84a8b1
Add option to rename buttons of macro dock
2023-05-17 02:20:35 -07:00
WarmUpTill
0f36f34a4f
Cleanup
...
* Const correctness
* Group functionality
* Move Actions() and Conditions() implementation
2023-05-17 02:20:35 -07:00
WarmUpTill
cf2cebd0fc
Ignore "StatusIndicator" window on MacOS
...
It interferes with the focus window checks
2023-05-14 04:44:49 -07:00
WarmUpTill
90dd59abe6
Rework window condition
...
Layout changes to make controlling the checkboxes less confusing.
Added variable support for the winddow title selection.
Previously window title matching was mandatory, which is now optional.
This would make it difficult to set up condition which are independent
of the window title. For example, a condition wich triggers on focus
window change.
Add support for configuring the regex options used for the window title
options.
Also adds the option to check the content displayed in a given window
using the Windows API as an alternative to the OCR of the video
condition.
2023-05-14 04:44:49 -07:00
WarmUpTill
5332ed6bef
Regex config improvements
...
* Use icon instead of checkbox
* Enable use of custom save name
* Allow access to functions modifying the enable state
2023-05-14 04:44:49 -07:00
WarmUpTill
d45d4ded99
Insert duplicated macro after original macro
2023-05-12 16:26:43 -07:00
WarmUpTill
25b5590d2c
Add option to automatically close OBS
2023-05-10 12:44:01 -07:00
WarmUpTill
d2b2ced5bf
Add support for non modal dialogs for DisplayMessage() helper
2023-05-10 12:44:01 -07:00
Erik van der Veen
c551953283
Fix crash brightness
...
This will prevent a crash when the brightness is calculated and the source has no output (yet).
2023-05-08 11:52:56 -07:00
WarmUpTill
5ae1f38ea8
Enable using received MIDI messages in variables
2023-05-07 11:33:52 -07:00
WarmUpTill
372f12de95
Fix libremidi build files being picked up by the Windows installer
2023-05-07 11:33:52 -07:00
WarmUpTill
9cfa88dd8c
Add support setting title and icon of system tray message
2023-05-06 11:53:45 -07:00
WarmUpTill
7b355ebc49
Add type alias for NumberVariable
2023-05-02 15:17:49 -07:00
WarmUpTill
43a56c8ec8
Resolve variables even when calling const functions
...
This is done to ensure that logs printed before actions are executed
contain the correct parameter values instead of potentially outdated
ones.
2023-05-02 15:17:49 -07:00
WarmUpTill
3da90bfa97
Display warning if libremidi directory cannot be found
2023-05-01 13:59:50 -07:00
WarmUpTill
dd572a7456
Fix NameUsed() of source and scene selection widgets
...
Would always return false as the variable would already be deleted
whenever NameUsed() was called
2023-05-01 04:18:24 -07:00
WarmUpTill
8cd818b80e
Enable use of variables in filter selection
2023-05-01 04:18:24 -07:00
WarmUpTill
530bbc07c5
Add MIDI condition and action
...
This new action will allow you to send MIDI messages to the selected
device.
The condition type will allow you to perform actions based on the MIDI
messages received from the selected device.
2023-04-30 16:54:56 -07:00
WarmUpTill
a992f7a0e8
Enable regex checks to also use useTransitionTargetScene toggle
2023-04-30 16:53:13 -07:00
WarmUpTill
ca3718594d
Display warning symbol for the General tab if plugin is stopped
2023-04-30 16:52:30 -07:00
WarmUpTill
17a66853d5
Clean up SetupGeneralTab()
2023-04-30 16:52:30 -07:00
WarmUpTill
8c317c1396
Add option to check for and set keyframe interval settings
2023-04-30 16:51:56 -07:00
WarmUpTill
20f888b991
Fix video condition parameters not saving due to namespace changes
2023-04-30 13:13:18 -07:00
WarmUpTill
cd0d3862c7
Style changes platform-funcs.hpp
2023-04-30 13:13:18 -07:00
WarmUpTill
443ffb7906
Mark free functions static where applicable
2023-04-30 13:13:18 -07:00
WarmUpTill
5967c83b03
Remove switch-priority.cpp
2023-04-30 13:13:18 -07:00
WarmUpTill
66498a03ce
SwitcherData style changes
2023-04-30 13:13:18 -07:00
WarmUpTill
9ec772f723
Restructure includes
...
The intention of this change is to reduce the interdependency of the
various components to reduce compile time when applying changes.
2023-04-30 13:13:18 -07:00
WarmUpTill
20eb56db2d
Add helpers for logging, translation, and synchronized data access
2023-04-30 13:13:18 -07:00
WarmUpTill
e4d064aaa3
Rename file
2023-04-30 13:13:18 -07:00
WarmUpTill
5602dfa09a
Clean up SwitcherData
...
* Moved various functions, members, and definitions
* Separated out priority related functionality
* Visually grouped various function groups
2023-04-30 13:13:18 -07:00
WarmUpTill
0138b412b4
Style changes in utility.hpp
2023-04-30 13:13:18 -07:00
WarmUpTill
20a934c9ab
Move platform-funcs.hpp include
2023-04-30 13:13:18 -07:00
WarmUpTill
09d2b397dc
Move scene group files to legacy folder
2023-04-30 13:13:18 -07:00
WarmUpTill
482a99cf15
Clean up shutdown handling
2023-04-30 13:13:18 -07:00
WarmUpTill
81ac45a1d4
Move AskForBackup() definition
2023-04-30 13:13:18 -07:00
WarmUpTill
0b8078f3bf
Move scene switch related functions to separate files
2023-04-30 13:13:18 -07:00
WarmUpTill
8b6ace902c
Style changes in advanced-scene-switcher.hpp
2023-04-30 13:13:18 -07:00
WarmUpTill
1dead9fca5
Group function definitions of advanced-scene-switcher.hpp
2023-04-30 13:13:18 -07:00
WarmUpTill
524c4b71d7
Add option to set recording folder and file format string
2023-04-23 05:37:59 -07:00
WarmUpTill
e51318768d
Fix websocket events not being processed
...
This could happen if a websocket event message arrived just after the
macro condition checks of the current interval completed and just before
the websocket event message buffers were cleared.
2023-04-17 11:33:24 -07:00
WarmUpTill
c821bb20d0
Add specialValueText() to variable spinbox
2023-04-17 11:33:24 -07:00
WarmUpTill
c6b693b4ac
Reduze status label column to minimum size
2023-04-17 11:33:24 -07:00
WarmUpTill
2c5caabab0
Add advss namespace
...
Fixes name conflict with "Duration" class and typedef of the same name
on MacOS
2023-04-17 11:33:24 -07:00
WarmUpTill
b7479e8342
Enable plugin callbacks to be peformed after condition checks completed
...
Also run these callbacks before restarting the plugin.
This should ensure that no outdated signals received while the plugin
was stopped will trigger unexpected actions. (E.g. websocket messages
that were received while the plugin was stopped)
2023-04-17 11:33:24 -07:00
WarmUpTill
ffca124762
Enable use of vblog in plugins
2023-04-17 11:33:24 -07:00
WarmUpTill
9bedbf6fb8
Display warning if plugin could not be loaded
2023-04-11 03:55:30 -07:00
WarmUpTill
853150e458
Resize MacroPropertiesDialog to fit contents
2023-04-11 03:55:30 -07:00
WarmUpTill
1ddd48e008
Improve dock handling when changing scene collections
...
Note that the positions of the docks will still not be restored
perfectly when changing scene collections.
To my understanding this would somehow have to be handled by the
QMainWindow which is controlled by OBS.
This might have to be revisited at a later date.
2023-04-11 03:55:30 -07:00
WarmUpTill
17d24d642e
Add more error handling for reordering macros
2023-04-11 03:55:30 -07:00
WarmUpTill
87a46684cd
Remove "Studio mode" backwards compatabilty fallback
...
This should remove the frequent logs of complaining about a name
conflict between different action types.
2023-04-11 03:55:30 -07:00
WarmUpTill
2e969bf6dd
Fix video condition's pattern match mode not loading correctly
2023-04-11 03:55:30 -07:00
WarmUpTill
6db26d9f7b
Fix crash when using OCR check of video condition
2023-04-11 03:55:30 -07:00
WarmUpTill
4f02c9ec36
Ask for confirmation even if only a single macro is being deleted
2023-04-06 00:36:07 -07:00
WarmUpTill
2fdd39fba5
Use exprtk lib to evaluate mathematical expressions
2023-04-01 05:37:40 -07:00
WarmUpTill
fe1ddc3a94
Fix connection selection being lost after renaming connection
2023-04-01 05:37:40 -07:00
WarmUpTill
cff2d805db
Fix variable selection being lost after renaming variable
2023-04-01 05:37:40 -07:00
WarmUpTill
4ac4f00620
Fix icons not loading on Linux and MacOS
2023-03-25 16:15:55 -07:00
WarmUpTill
e30a4623c5
Fix HideSelectedMacro() hiding the incorrect index
2023-03-25 15:17:19 -07:00
WarmUpTill
e2f4dcaaee
Fix warnings
2023-03-25 15:17:19 -07:00
WarmUpTill
ebbf64ddae
Add simple tests
2023-03-25 15:17:19 -07:00
WarmUpTill
8b105ad22b
Add support for abs, sin, cos, tan, sqrt function in math expression
2023-03-25 15:17:19 -07:00
WarmUpTill
f3416c5b1d
Add option to remove Run or Pause button from macro dock
2023-03-25 12:50:49 -07:00
WarmUpTill
e194fc5ee4
Fix crash when deleting multiple macros in combination with a group
2023-03-25 12:50:49 -07:00
WarmUpTill
e465c81bf1
Fix rename via contenxt menu not updating macro name line edit
2023-03-25 12:50:49 -07:00
WarmUpTill
9dce6a99fd
Prevent crashes in case obs_module_text() is called during shutdown
2023-03-25 12:50:49 -07:00
WarmUpTill
6f2c53d14e
Add option to create docks of macros
...
These docks allow to control the pause state and manual execution of the
macro actions
2023-03-25 12:50:49 -07:00
WarmUpTill
9044ae4ade
Move OBSDock definition
2023-03-25 12:50:49 -07:00
WarmUpTill
0a422174bc
Remove unnecessary cast
2023-03-25 12:50:49 -07:00
WarmUpTill
c2020fe77c
Fix crash when selecting new audio source in audio condition
2023-03-24 14:39:41 -07:00
WarmUpTill
8beca6fcc7
Do not allow duplication of groups
...
Functionality has to be implemented first.
Otherwise visual issues might occur when expanding or collapsing the
new copy of the group entry.
2023-03-24 14:39:41 -07:00
WarmUpTill
18769df2ca
Fix duplication of macro not copying references to macros or segments
2023-03-22 11:09:41 -07:00
WarmUpTill
2806fd6cdb
Add support for variables in various path selections
2023-03-19 03:52:21 -07:00
WarmUpTill
b607940c8c
Add variable support to OpenVR condition
2023-03-19 03:52:21 -07:00
WarmUpTill
dff599df4c
Add variable support for scene item order condition
...
Also cleaned up condition type being defined globally
2023-03-19 03:52:21 -07:00
WarmUpTill
b3cd38e019
Add variable support for OBS stats condition
...
Also move definition of stat type and condition type into
MacroConditionStats
2023-03-19 03:52:21 -07:00
WarmUpTill
61975e1992
Fix macro list layout margins
2023-03-19 03:52:21 -07:00
WarmUpTill
1a8ad69f23
Add variable support for macro condition spinbox controls
2023-03-19 03:52:21 -07:00
WarmUpTill
f21e40151b
Add variable support for cursor condition spinbox controls
2023-03-19 03:52:21 -07:00
WarmUpTill
4e58769648
Fix hotkey action not "holding" down keys for the specified duration
2023-03-19 03:52:21 -07:00
WarmUpTill
f9d6001025
Enable use of variables for hotkey action duration selection
2023-03-19 03:52:21 -07:00
WarmUpTill
ae5f5f90ff
Add variable support for audio condition spinbox controls
2023-03-19 03:52:21 -07:00
WarmUpTill
89db21d734
Add variable support for video condition spinbox controls
2023-03-19 03:52:21 -07:00
WarmUpTill
0e4b072650
Add varaible support for audio action spinbox controls
2023-03-19 03:52:21 -07:00
WarmUpTill
13b0e00b27
Add variable support to SliderSpinbox
2023-03-19 03:52:21 -07:00
WarmUpTill
bf5d8ca19e
Add option to assign value of math expressions to variable
2023-03-19 03:52:21 -07:00
WarmUpTill
4a3339c09c
Add math helpers
2023-03-19 03:52:21 -07:00
WarmUpTill
b28c2b28b2
Adjust to Duration rework
2023-03-19 03:52:21 -07:00
WarmUpTill
fcb3e648d2
Enable use of variables in duration selections
2023-03-19 03:52:21 -07:00
WarmUpTill
5d6f08e38f
Adjust to refactor of variable string
2023-03-19 03:52:21 -07:00
WarmUpTill
b932af1c97
Move string and number variables to separate files
2023-03-19 03:52:21 -07:00
WarmUpTill
8874eb2b1c
Add widgets that allows using both fixed number values or variables
2023-03-19 03:52:21 -07:00
WarmUpTill
dcf9816a72
Add header support to http action
2023-03-19 03:52:21 -07:00
WarmUpTill
c8722c9f62
Add support for using variables in URL field of http action
2023-03-19 03:52:21 -07:00
WarmUpTill
a82a2ccffe
Add option to find and replace strings in current value
2023-03-19 03:52:21 -07:00
WarmUpTill
0bf70e443e
Move replaceAll() to utility
2023-03-19 03:52:21 -07:00
WarmUpTill
3d6d690583
Add variable support for custom screenshot path
2023-03-19 03:52:21 -07:00
WarmUpTill
783f76d55d
Add support for variables in file FileSelection widget
2023-03-19 03:52:21 -07:00
WarmUpTill
1dd46fb777
Add VariableLineEdit helper
2023-03-19 03:52:21 -07:00
WarmUpTill
22bbd3a4ca
Extract argument list to generic string list class and widget
...
* To be used for http header support
* Add variable support
2023-03-19 03:52:21 -07:00
WarmUpTill
9e4b003608
Use theme based icons for status dock, group, and duration icon
2023-03-19 03:51:28 -07:00
WarmUpTill
e66d0bc6b8
Rework MacroRef
...
This should resolve issues of macro names / selections not properly
updating after renaming / grouping / un-grouping macros
2023-03-13 11:30:29 -07:00
WarmUpTill
9a4abd78ed
Fix warnings
2023-03-13 11:30:29 -07:00
WarmUpTill
826bee8b1e
Enable assigning value of scene item transform to variables
2023-03-11 06:06:18 -08:00
WarmUpTill
143020dc27
Prevent accidental duration changes while scrolling through settings
...
This was especially problematic with the "cooldown" option of the "Match
behavior" settings on the General tab as accidental changes here could
lead to macros not being executed unexpectedly, which is very hard to
diagnose without inspecting logs.
2023-03-10 13:52:32 -08:00
WarmUpTill
be23065988
Move MouseWheelWidgetAdjustmentGuard
2023-03-10 13:52:32 -08:00
WarmUpTill
2cb62eae96
Enable shrinking the status dock to smaller sizes
2023-03-10 13:52:32 -08:00
WarmUpTill
76c411d1e2
Extract argument list to generic string list class and widget
...
To be used for http header support.
2023-03-04 13:45:32 -08:00
WarmUpTill
16fa91c2a1
Add "Run" condition
...
Allows to use external programs as conditions
2023-03-04 13:45:32 -08:00
WarmUpTill
b77f8717fe
Move process configuration to separate class and widget
2023-03-04 13:45:32 -08:00
WarmUpTill
59ecf43c5f
Enable setting a minimum and initial duration
2023-03-04 13:45:32 -08:00
WarmUpTill
1fd8546354
Improve preview frame visibilty of cursor condition
...
* Add transparent diagonal stripes to frame
* Do not show frame if invalid selection was made
2023-03-04 13:40:14 -08:00
WarmUpTill
160d19d6c1
Clean up UI
2023-02-19 09:48:03 -08:00
WarmUpTill
a0550ca141
Add support for TM_SQDIFF_NORMED and TM_CCOEFF_NORMED for pattern match
2023-02-19 09:48:03 -08:00
WarmUpTill
ac68fc016d
Adjust area selection layout
...
Prefix description instead of using tooltip and remove the "x"
2023-02-19 09:48:03 -08:00
WarmUpTill
f34d1fe081
Enable variable support
2023-02-19 09:48:03 -08:00
WarmUpTill
83c72ebba5
Add OCR support to video condition using tesseract
2023-02-19 09:48:03 -08:00
WarmUpTill
6ca8e6b3ea
Fix preview not showing matches
...
This can happen if a new video condition was created and the condition
type was cahnged to one which supports displaying matches without
changing any parameters.
2023-02-19 09:48:03 -08:00
WarmUpTill
ba24fc2fab
Use correct conversion method for object detection
2023-02-19 09:48:03 -08:00
WarmUpTill
7f28b22599
Add macro list context menu options for add, rename, remove
2023-02-19 09:47:46 -08:00
WarmUpTill
4345db0d2e
Don't ask for confirmation when deleting empty groups
2023-02-19 09:47:46 -08:00
WarmUpTill
eddc10c3e2
Enable deleting multiple macros at once
2023-02-19 09:47:46 -08:00
WarmUpTill
46eaada0c4
Enable dragging macro segment by header
2023-02-19 09:47:46 -08:00
WarmUpTill
f8b2dea270
Clean up MacroSegmentList
2023-02-19 09:47:46 -08:00
WarmUpTill
90ebf0e0f8
Set default logic type of new non-root conditions to "or"
2023-02-19 09:47:46 -08:00
WarmUpTill
1a819c807e
Create new groups at the top most selection index
2023-02-19 09:47:46 -08:00
WarmUpTill
3220809c04
Fix macro list displaying wrong contents after deleting group
...
This was only a visual issue - the correct macros were deleted in the
backend
2023-02-11 01:45:28 -08:00
WarmUpTill
72d5255c9e
Fix typo
2023-02-11 01:45:28 -08:00
WarmUpTill
5995563a80
Add action to open projector
2023-02-04 08:34:20 -08:00
WarmUpTill
347743d93a
Also trigger HighlightOnChange() if highlighting actions
2023-02-04 08:29:33 -08:00
WarmUpTill
3c067ce723
Rework preview dialog to use signals / slots to update image data
...
Previous implementation caused crashes on some setups
2023-02-03 13:36:51 -08:00
WarmUpTill
5f3a3dd5cf
Dynamically increase delay between screenshots up to one second
...
Otherwise users with a very low switcher interval might not be able to
use the preview dialog at all
2023-01-31 11:20:18 -08:00
WarmUpTill
8ad3563963
Always call obs_remove_tick_callback() in destructor
...
Seems like in some scenarios a screenshot thread would still be active
while the ScreenshotHelper object was deleted
2023-01-31 11:20:18 -08:00
WarmUpTill
492128ef86
Avoid deadlocks while opening settings window and calling frontend API
2023-01-31 11:20:18 -08:00
WarmUpTill
b4936274f2
Synchronize re-ordering and grouping of macros
2023-01-31 11:20:18 -08:00
WarmUpTill
64ccd5ba53
Detect invalid group setups and attempt to clean them up
2023-01-31 11:20:18 -08:00
WarmUpTill
7ae88f7560
Reset invalid transition behaviour settings
2023-01-28 12:42:32 -08:00
WarmUpTill
ae70af26d1
Add option to assign substring based on regex to variable
2023-01-28 12:42:32 -08:00
WarmUpTill
483bdc237c
Add option to create partial matching RegexConf
2023-01-28 12:42:32 -08:00
WarmUpTill
2c564b47f4
Add option to assign substring of current value to a variable
2023-01-28 12:42:32 -08:00
WarmUpTill
fc80d0b5f3
Add option to round variable to nearest integer
2023-01-28 12:42:32 -08:00
WarmUpTill
d094c189d3
Handle invalid paths due to scene collection name in settings export
2023-01-28 12:42:32 -08:00
WarmUpTill
40d8819e77
Fix warnings
2023-01-28 12:42:32 -08:00
WarmUpTill
4a3d019f06
Remove workaround to avoid race conditions
2023-01-28 12:42:32 -08:00
WarmUpTill
5366a4a6ed
Fix crash on exit if using scene condition
...
obs_source_get_name() returning nullptr was not handled
2023-01-28 12:42:32 -08:00
WarmUpTill
e8230d8e5b
Fix themes displaying list item selections incorrectly
...
The issue was that the blue selection highlight was not visible and
instead, a grey box was painted around each item.
I am not sure what exactly was causing this.
2023-01-28 12:42:32 -08:00
WarmUpTill
ebdbb9011f
Fix scene switch action aborting macro execution
...
abortMacroWait was not reset in waitForTransitionChangeFixedDuration()
leading to the scene switch action returning false
2023-01-28 12:42:32 -08:00
WarmUpTill
438c54599e
Reduce time it takes to close preview dialog
2023-01-20 12:30:47 -08:00
WarmUpTill
da42183177
Fix VariableResolvingString returning empty string if no variables exist
2023-01-20 12:30:47 -08:00
WarmUpTill
295fa3f122
Fix crash on import
2023-01-20 12:30:47 -08:00
WarmUpTill
cb87f1cc36
Fix file condition always returning false
2023-01-18 07:49:21 -08:00
WarmUpTill
19eb5074f2
Enable getting variable values from websocket condition
2023-01-17 12:12:44 -08:00
WarmUpTill
828a69bbf7
Save space by reducing size of "current value" text box
2023-01-17 12:12:44 -08:00
WarmUpTill
c01d471b5f
Save space by moving settings button to the same layout as stop button
2023-01-15 09:33:46 -08:00
WarmUpTill
8751c0d296
Enable getting variable values from http action
2023-01-15 09:33:46 -08:00
WarmUpTill
334d173dc9
Add PostLoad()
...
Used to reslove values that only can be resolved after all macros /
macro segments have been set up initally.
2023-01-15 09:33:46 -08:00
WarmUpTill
1c3ff927a5
Enable getting variable values from window condition
2023-01-15 09:33:46 -08:00
WarmUpTill
b12c25fdf4
Enable getting variable values from studio mode condition
2023-01-15 09:33:46 -08:00
WarmUpTill
e9f4ac7ca7
Enable getting variable values from source condition
2023-01-15 09:33:46 -08:00
WarmUpTill
f1cdab80a9
Enable getting variable values from process condition
2023-01-15 09:33:46 -08:00
WarmUpTill
ae6f0bc470
Enable getting variable values from idle condition
2023-01-15 09:33:46 -08:00
WarmUpTill
3d4b69848c
Enable getting variable values from filter condition
2023-01-15 09:33:46 -08:00
WarmUpTill
c4c4a27dcb
Enable getting variable values from file condition
2023-01-15 09:33:46 -08:00
WarmUpTill
87ed11d3bf
Enable getting variable values from date condition
2023-01-15 09:33:46 -08:00
WarmUpTill
23e2fb8d5a
Enable getting variable values from cursor condition
2023-01-15 09:33:46 -08:00
WarmUpTill
af5950748d
Switch to using RegexConfig for variable comparison check
2023-01-15 09:33:46 -08:00
WarmUpTill
df9dc1e002
Enable getting variable values from scene condition
2023-01-15 09:33:46 -08:00
WarmUpTill
5c7e0f292f
Enable getting variable values from audio condition
2023-01-15 09:33:46 -08:00
WarmUpTill
a5f610b7b7
Add options to compare variable values
2023-01-15 09:33:46 -08:00
WarmUpTill
df8e84dd09
Add option to set variable value based on condition or action
2023-01-15 09:33:46 -08:00
WarmUpTill
ee5038106a
Add MacroSegmentOrderChanged() signal
2023-01-15 09:33:46 -08:00
WarmUpTill
6617c08b89
Allow choosing highlight color
2023-01-15 09:33:46 -08:00
WarmUpTill
42773790e4
Enable getting varaible values from conditions and actions
2023-01-15 09:33:46 -08:00
WarmUpTill
1fd6f75ee1
Add variable support to video condition
2023-01-15 09:33:46 -08:00
WarmUpTill
8a2ccef8ec
Only return source from variable if source is a scene
2023-01-15 09:33:46 -08:00
WarmUpTill
d30f389db7
Add variable support to source condition
2023-01-15 09:33:46 -08:00
WarmUpTill
a2906a534b
Add variable support to media condition
2023-01-15 09:33:46 -08:00
WarmUpTill
30294842f2
Add variable support to filter condition
2023-01-15 09:33:46 -08:00
WarmUpTill
eb478d2948
Add variable support to audio condition
2023-01-15 09:33:46 -08:00
WarmUpTill
e4ee55cd3d
Add variable support to source action
2023-01-15 09:33:46 -08:00
WarmUpTill
9c4fe38c97
Add variable support for screenshot action
2023-01-15 09:33:46 -08:00
WarmUpTill
81e64382c9
Add variable support to media action
2023-01-15 09:33:46 -08:00
WarmUpTill
b55db1a79a
Add variable support to filter action
2023-01-15 09:33:46 -08:00
WarmUpTill
dcdcd23361
Add variable support to audio action
2023-01-15 09:33:46 -08:00
WarmUpTill
3ccc057547
Clean up utilty
2023-01-15 09:33:46 -08:00
WarmUpTill
d04884fe8b
Resolve variables in log messages
2023-01-15 09:33:46 -08:00
WarmUpTill
7ae490ca25
Add option to resolve variable values in ToString()
2023-01-15 09:33:46 -08:00
WarmUpTill
cd74534e4c
Add source selection helpers
2023-01-15 09:33:46 -08:00
WarmUpTill
e4f9ccec3f
Add support for variables in text edit widgets of actions and conditions
2023-01-15 09:33:46 -08:00
WarmUpTill
f106329892
Enable use of multi-line values for variables
2023-01-15 09:33:46 -08:00
WarmUpTill
14f0194372
Add helper classes to support strings containing variables
...
* VariableResolvingString will accept strings potentially containing
variables as inputs and will automatically resolve any variables when
converting to std::string
* VariableTextEdit is a simple wrapper around ResizingPlainTextEdit to
enable working with VariableResolvingString
2023-01-15 09:33:46 -08:00
WarmUpTill
fafaafd578
Fix crash when showing frame for cursor condition
...
Extreme values for setGeometry() could cause a crash.
Limit frame size to screen union to avoid these crashes.
2023-01-14 05:09:42 -08:00
WarmUpTill
fd4476c0b3
Fix warnings
2023-01-07 11:49:53 -08:00
WarmUpTill
c96c81cf1d
Update macro properties dialog
...
* Visually group settings
* Hide hotkey settings if no macro or a group is selected
2023-01-07 11:49:53 -08:00
WarmUpTill
3e4293f9b0
Set background of macro action / condition splitter transparent
2023-01-07 11:49:53 -08:00
WarmUpTill
a80af327d7
Enable grouping of macros
...
Based on OBS's source-tree model/view implementation
2023-01-07 11:49:53 -08:00
WarmUpTill
2116bd7a78
Adjust function signature for macro rename signal
2023-01-07 11:49:53 -08:00
WarmUpTill
11571751b9
Fix crash related to highlights
...
A crash could occur when macro segments would be deleted while
highlighting of a segment was triggered.
2023-01-07 11:49:53 -08:00
WarmUpTill
f9de63bc88
Rename "count" to "runCount"
2023-01-07 11:49:53 -08:00
WarmUpTill
378bf4dfd6
Add button to open settings window to dock
...
Also apply current OBS theme to status dock by using "OBSDock" wrapper
class
2023-01-07 11:49:53 -08:00
WarmUpTill
5444d6fd9e
Adjust locale
2023-01-02 08:38:25 -08:00
WarmUpTill
15d7e2f972
Add option to check audio balance
2022-12-27 04:02:08 -08:00
WarmUpTill
357d9447f2
Add option to set audio balance
2022-12-27 04:02:08 -08:00
WarmUpTill
6c9d6095c9
Move slider spinbox to core lib
2022-12-27 04:02:08 -08:00
WarmUpTill
bba029e901
Only show audio monitoring options if monitoring is supported by OBS
2022-12-27 04:02:08 -08:00
WarmUpTill
4eafbb8f18
Improve plugin state action
...
Add options to check for ...
* Initial plugin start
* Plugin restart
* Scene collection change
2022-12-27 03:55:40 -08:00
WarmUpTill
e147402250
Improve random action
...
* Allow duplicates to enable weighting macro occurance
* Add option to allow consecutive execution of the same macro
2022-12-23 15:50:17 -08:00
WarmUpTill
e0602f8de2
Rename function and class
2022-12-23 14:10:37 -08:00
WarmUpTill
11f769cf09
Add option to check for change in visibilty
2022-12-23 14:10:37 -08:00
WarmUpTill
4ab88ea218
Add option to not reset seletion on any / all index type change
2022-12-23 14:10:37 -08:00
WarmUpTill
601b035285
Fall back to OBS-only key press if global key press can't be simulated
2022-12-23 13:18:45 -08:00
WarmUpTill
0027ae9bb8
Reuse last import path
2022-12-23 13:17:58 -08:00
WarmUpTill
70c9a3bd83
Improve video condition and preview dialog
...
* Fix crashes in preview dialog
* Pass copy of parameters instead of working directly with condition
data
* Set sensible default paths in file selection dialogs
* Add maximize button to preview dialog
* Derive preview dialog size from scene switcher settings window
* Use parameter helper classes
2022-12-23 13:16:22 -08:00
WarmUpTill
b7c6deddde
Add helper classes to more easily handle video condition parameters
2022-12-23 13:16:22 -08:00
WarmUpTill
feab4fe744
Add ValidPathOrDesktop() helper function
2022-12-23 13:16:22 -08:00
WarmUpTill
b5ec9e7586
Add const qualifier to various functions
2022-12-23 13:16:22 -08:00
WarmUpTill
a901f59f0f
Add option to interact with source settings buttons
2022-12-21 11:52:48 -08:00
WarmUpTill
ea826f1be0
Add option to check for mouse button press
...
Implemented only for Windows for now.
2022-12-21 11:52:36 -08:00
WarmUpTill
f7afb9c446
Cleanup
...
* Add include
* Fix typo
2022-12-21 11:52:36 -08:00
WarmUpTill
368034ad5a
Combine hotkeys with the same description into a single hotkey
2022-12-15 11:46:38 -08:00
WarmUpTill
0d1a3e5646
Add missing virtual destructors
2022-12-15 11:46:38 -08:00
WarmUpTill
76be75474b
Set default path for import to desktop folder
2022-12-15 11:46:38 -08:00
WarmUpTill
cca32e59c2
Do not allow running paused macros
...
The old behaviour was not consistent with the other action types.
(E.g. "Sequence" or "Random" ignore paused macros)
It would also only ever execute the first action of the given macro as
afterwards the plugin would realise the macro is paused and abort the
execution.
2022-12-10 13:06:55 -08:00
WarmUpTill
0ce9c515af
Add option to check / set audio monitoring of sources
2022-12-10 13:06:19 -08:00
WarmUpTill
c07ef3c699
Enable detection of user holding down hotkey
...
Previously only the key down event would trigger the condition
2022-12-05 07:23:13 -08:00
WarmUpTill
f3e5fb59f3
Reset duration modifier timers when stopping the plugin
2022-12-05 07:22:57 -08:00
WarmUpTill
ef0f6839e5
Remove unnecessary duration reset
2022-12-05 07:22:57 -08:00
WarmUpTill
8dc434f45e
Add option to match scene name to pattern
2022-12-04 09:26:38 -08:00