Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7766733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:29:46+00:00 2026-06-01T15:29:46+00:00

Salvete! I have a simple InDesign script to display a palette window. Problem is,

  • 0

Salvete! I have a simple InDesign script to display a palette window. Problem is, when I display this window, or any other scriptui palette, InDesign loses all keyboard focus – I just can’t type anything. It’s as if the script palette eats all my keyboard input.

Here is the most simple script:

#targetengine session;    //I have tried without this line, too.
var PaletteWindow = new Window('palette', "Test");
PaletteWindow.show();

Am I missing something? Has anyone else seen this problem?
I am using InDesign CS4 on XP Pro SP3; Dell Precision T3400 with Core Duo; 4mb of RAM.

Here is the link to my post at InDesignSecrets:
http://indesignsecrets.com/forum/indesign-add-ons-scripts-scripting-and-plug-ins/scriptui-palette-breaks-keyboard#p8419

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T15:29:47+00:00Added an answer on June 1, 2026 at 3:29 pm

    Ah, I figured I could answer my own question after four months. This link is to a thread with the same problem where the palettes steal keyboard focus. It does not contain a definitive solution, but does offer a workaround:

    http://forums.adobe.com/thread/288782?start=0&tstart=0

    Here is another workaround:
    Since the palette is supposed to “do something” and then return focus to IND, then add:

    app.activate();
    

    to the function call for the button. That way, after you push the button, you can work normally in IND.

    This works fine, except that anytime you move the mouse over the palette, it sets focus to the application. This solution is a workaround for CS4.

    [update]
    Now I am using CS5, and I find that it is no longer necessary to do this. It seems the problem was a bug in the CS4 UI scripting interface.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Salvete! I want to create a new instance of a class when I click

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.