Has anyone found a way to programmatically manipulate which pattern is currently selected?
The only events that seem scriptable are “make new pattern” and “make new pattern group”.
I’m trying to load patterns from a folder with subfolders and want the added patterns to be represented in the same folder hierarchy such as:
- Folder
- Pattern 1
- Pattern 2
- Subfolder
- Pattern 3
…
- Pattern 3
- Subfolder
- Pattern 4
…
- Pattern 4
However, new patterns always get added at the level of the currently selected pattern and I see no workaround to change the selected pattern at all (or deselect it).
I also didn’t find any related ExtendScript code