Search found 1 match

by artibay@gmail.com
Mon Feb 24, 2020 3:41 pm
Forum: Help Me
Topic: How to bypass the error "The command [name] is currenly unavailable"
Replies: 2
Views: 1992

How to bypass the error "The command [name] is currenly unavailable"

How to bypass the error "The command [name] is currenly unavailable". When i want to example copy layer

Code: Select all

app.activeDocument.selection.copy()
and when no layer is selected i get this error.
I want to create panel with icons copy and paste layer. How to get if layer or group is not selected?