Skip to main content
Eduard Buta
Inspiring
August 18, 2022
Answered

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

  • August 18, 2022
  • 2 replies
  • 863 views

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 has been closed for replies.
Correct answer Anubhav M

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.

2 replies

New Participant
March 3, 2023

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

New Participant
August 29, 2024

Brilliant!

Gary Ferster
jduncan
Community Expert
August 18, 2022

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!

Eduard Buta
Inspiring
August 18, 2022

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.

Anubhav MCommunity ManagerCorrect answer
Community Manager
August 18, 2022

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.