How to deselect folder and Select Pasted Coverart & Folder file

I have Created a button the code is here:

@firstfileonly 
Copy TO .. AS coverart.jpg
Copy TO .. AS folder.jpg
Go UP 
@filesonly 

After the button finished it's job it's Select the folder as my Screen shot, But I want to Deselect the folder and Select the Coverart.jpg and the Folder.jpg. How to do that?

Give this a try:

@firstfileonly 
@filesonly
Copy TO .. AS coverart.jpg
Copy TO .. AS folder.jpg
Go ..
Select (coverart|folder).jpg deselectnomatch

(Note that it's using Go .. instead of Go UP to suppress the normal folder selection.)

1 Like