• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Script to add particular swatch as roll over effect to a button

Explorer ,
Mar 09, 2021 Mar 09, 2021

Copy link to clipboard

Copied

Hello everyone,

 

I have to add roll over effect to alot of buttons. And the roll effect includes adding certain swatch and change its opacity to 25%.

 

Ideally, effect of any simple greyish tint (with gradient) when cursor hover over would work. But since I couldn't find anything built-in, I created a new swatch of grey color with gradient and then changing it opacity to 25% works perfect for me.

 

Now I need script to add that swatch with certain opacity as roll over effect to buttons.

 

Thanks in advance!

TOPICS
Scripting

Views

148

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 09, 2021 Mar 09, 2021

I found this partial answer:

https://community.adobe.com/t5/indesign/js-buttons-make-states-rollover-and-click-available/td-p/2714849

But it got me to thinking that it should be included in an Object Style (as a future feature enhancement).

Votes

Translate

Translate
Community Expert ,
Mar 09, 2021 Mar 09, 2021

Copy link to clipboard

Copied

LATEST

I found this partial answer:

https://community.adobe.com/t5/indesign/js-buttons-make-states-rollover-and-click-available/td-p/271...

But it got me to thinking that it should be included in an Object Style (as a future feature enhancement).

Mike Witherell

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines