Skip to main content
Eduard Buta
Inspiring
Aug 18, 2022 11:45 AM UTC
Answered

Is it possible to toggle Trim View on/off with a script?

Hello, community.

 

I was wondering if it's possible to create a script that would handle toggling Trim View on and off when run. I've run across the frequent need to turn Trim View on and off to preview my artboards in a more isolated environment, and I'd like to turn such a script into a button via my Scripts Manager to speed up my workflow.

 

I'd appreciate any guidance on this! Thanks!

This topic is closed to new replies. Start a new post to keep the conversation going.
Anubhav M
Anubhav MCorrect answer
Community Manager
Aug 18, 2022 8:04 PM UTC

Hello @Eduard Buta,

 

Thanks for reaching out. As suggested by JDuncan, TrimView is not available as an option using API as of now. You may, however, create a UserVoice for this request here: https://illustrator.uservoice.com. This way, you will be notified of future updates to this feature request.

 

Thanks,

Anubhav

 

Note: Marking correct for visibility.

5 replies

Participant
Mar 3, 2023 4:25 PM UTC

You can go in Edit→Keyboard Shortcuts→Change from Tools to Menu Commands→Find Trim View and choose your command.

Translate
Participant
Aug 29, 2024 1:36 PM UTC

Brilliant!

Translate
Gary Ferster
jduncan
Community Expert
Community Expert
Aug 18, 2022 3:38 PM UTC

I've done a lot of digging recently for menu commands accessible to the API (lots of discussion here) and I have never seen "Trim View" listed as being available. Normally, I would tell you to create an Action that enables trim view using the"Insert Menu Item" action step, but oddly enough, it doesn't seem "Trim View" is accessible there either. Sorry!

Translate
Eduard Buta
Inspiring
Aug 18, 2022 5:21 PM UTC

Thank you very much for taking the time to answer this. Was well worth a shot asking. Too bad it can't be done yet.

Translate
Anubhav M
Community Manager
Anubhav MCommunity ManagerCorrect answer
Community Manager
Aug 18, 2022 8:04 PM UTC

Hello @Eduard Buta,

 

Thanks for reaching out. As suggested by JDuncan, TrimView is not available as an option using API as of now. You may, however, create a UserVoice for this request here: https://illustrator.uservoice.com. This way, you will be notified of future updates to this feature request.

 

Thanks,

Anubhav

 

Note: Marking correct for visibility.

Translate