When importing files into a Logic session, i'll open the bin, hit CTRL-F to load the files, then hit APPLE-; to load the (already) selected files into the arrange page. It brings up this window:

These settings are default whenever Logic is opened. I'm not sure that can be changed.
I could set up a macro to mouse over each checkbox and tick it to the settings I want at that moment, but the problem is that Logic then remembers the settings you last used for the remainder of your session. So if next time I bring up the window and wanted to have different boxes checked (i.e to use existing tracks), the macro wouldn't work.
Is there any way for SF to know if a pop-up window box is checked, for a macro to know how to proceed?
Thanks!
- Kitch Membery @Kitch2023-02-03 19:42:23.219Z
Hi @Dan_Radclyffe,
I'm not getting this window when I open the bin, hit Control + F, then hit Apple + ;
What version of logic are you using?
- DDan Radclyffe @Dan_Radclyffe
Sorry maybe I wasn’t clear. Logic 10.7.3 but have been using these shortcuts for a while.
You open the bin, hit CTRL-F to load some files.
After they load into the bin they’re automatically highlighted.
That then paves the way for the bin menu item ‘audio file>add to tracks...’ key command being Apple + semicolon
Kitch Membery @Kitch2023-02-03 20:43:38.227Z
Ahhh... I just noticed that you had to have the root file of the clip and clip selected for this window to appear. It's showing up now. I'll take a look.
- In reply toDan_Radclyffe⬆:
Kitch Membery @Kitch2023-02-03 20:54:44.882Z
Heading into a meeting but will post the solution after :-)
- In reply toDan_Radclyffe⬆:Kitch Membery @Kitch2023-02-04 00:53:56.171Z
This should set the Checkboxes (with a target value of Enable, Disable or Toggle) and the Radio button selection for the "Add Selected Files to Tracks" popup window.
/** * @param {Object} obj * @param {"Create new audio regions"|"All selected files are stems from one project\n(a Smart Tempo Multitrack Set will be created)"} obj.title * @param {"Enable"|"Disable"|"Toggle"} obj.targetValue */ function setCheckbox({ title, targetValue }) { const logic = sf.ui.logic; const addSelectedFilesToTrackWin = logic.windows.whoseTitle.is("Add Selected Files to Tracks").first; const checkboxes = addSelectedFilesToTrackWin.checkBoxes; checkboxes.whoseTitle.is(title).first.checkboxSet({ targetValue, }, `could not "${targetValue}" the "${title}" checkbox`); } /** * @param {Object} obj * @param {"Create new tracks"|"Use existing tracks"|"Place all files on one track"} obj.title */ function setRadioButton({ title }) { const logic = sf.ui.logic; const addSelectedFilesToTrackWin = logic.windows.whoseTitle.is("Add Selected Files to Tracks").first; const radioButtons = addSelectedFilesToTrackWin.radioButtons; radioButtons.whoseTitle.is(title).first.elementClick({}, `could not click the "${title}" radio button`); } function main() { const logic = sf.ui.logic; const addSelectedFilesToTrackWin = logic.windows.whoseTitle.is("Add Selected Files to Tracks").first; logic.appActivateMainWindow(); addSelectedFilesToTrackWin.elementRaise(); setRadioButton({ title: "Create new tracks" //Only one radio button can be assigned so add the name of the one you want form the code hints. }); setCheckbox({ title: "Create new audio regions", targetValue: "Enable" //Customize this value }); setCheckbox({ title: "All selected files are stems from one project\n(a Smart Tempo Multitrack Set will be created)", targetValue: "Enable" //Customize this value }); } main();
Note: For the checkboxes, I used the "checkboxSet" method.
I hope that helps :-)
Rock on
Kitch- DDan Radclyffe @Dan_Radclyffe
It sure does, thanks so much.
(Apologies for my late reply)