Skip navigation
Currently Being Moderated

How to display helpTip more quickly [ScriptUI]

Oct 29, 2011 6:08 AM

Tags: #scriptui #helptip

Hi

 

I want to display ScriptUI helpTip more quickly.

When mouseover the element, it takes 2sec to dipspay helptip-message.

Can I set delay-time to 1sec, or is there other way to resolve this?

 

 

(function(){
  var u;
  var win = new Window('dialog',"SpeedUp",u);
  var help = win.add('statictext',u,"HELP");
  help.helpTip = "The quick brown fox jumps over the lazy dog";
  
  win.show();
})()
 

 

 

Mg

 
Replies
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Oct 29, 2011 6:33 AM   in reply to milligramme

    Can you change the speed of all InDesign tooltips? On a Mac, I imagine you could use, in Terminal.app:

     

    defaults write com.adobe.InDesign NSInitialToolTipDelay -int 1000

     

    to set the tooltip delay to 1000ms.

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Oct 30, 2011 10:56 PM   in reply to milligramme

    Hmm, yeah, I guess InDesign overrides the OS's default tooltip delays, which is not surprising, as it does present tooltips in a better way in some cases. Sorry for the bad guess (I was not near a Mac at the time).

     

    Though...why is it interesting if it doesn't work?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points