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

Setting mouse cursor from script (JS, CS2, CS3)

New Here ,
Jul 13, 2008 Jul 13, 2008
I'm working on scripts for Mac users. What I'd like to know is if there is a way to change the mouse pointer from within a script. Can one do this?

The reason I need to do this is that when a script runs the cursor changes to the spinning beach ball. I display a dialog asking for information and may users think the script has hung InDesign because of the beach ball. People also don't know where the hotspot is on the beach ball so it's hard to click things accurately.

Any tips?
TOPICS
Scripting
879
Translate
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
People's Champ ,
Jul 14, 2008 Jul 14, 2008
I don't think you can get that, I would be curious.
Another way, if i got the idea, may be to use a progress bar. Script UI allow that if I am not wrong.
Loic
Translate
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
Participant ,
Jul 14, 2008 Jul 14, 2008
I have often noticed that spinning beachball and found it distasteful when working with a dialog, but there's not much choice, I'm afraid. ScriptUI might be a way out in CS3, but not in CS2. If you want the same script to work in both, then I think you're stuck with the beachball.

Dave
Translate
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
New Here ,
Jul 14, 2008 Jul 14, 2008
LATEST
Thank you for responding. I was afraid of that.
Translate
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