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

disabling list box in CC?

Participant ,
Jan 08, 2017 Jan 08, 2017

Copy link to clipboard

Copied

hi there,

anyone knows how to disable listbox in CC?

list.enabled=false;  //works in InDesign CS6 but does not work in CC.

(my scripts need to be workable in CS6 and CC for different customers...)

Thanks in advance..

TOPICS
Scripting

Views

492

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
Guide ,
Jan 08, 2017 Jan 08, 2017

Copy link to clipboard

Copied

use the script preference version to work cs6 script in cc

put this line in first line

app.scriptPreferences.version = "4.0"// version of cs3

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
Participant ,
Jan 09, 2017 Jan 09, 2017

Copy link to clipboard

Copied

This will not work if i have below line.

app.doScript (main, undefined, undefined,UndoModes.ENTIRE_SCRIPT, app.activeScript.displayName);

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
Community Expert ,
Jan 09, 2017 Jan 09, 2017

Copy link to clipboard

Copied

Hi together,

I also think, changing the script preferences to pre-CC will not help at all to work around the problem with ScriptUI and its shortcomings with InDesign CC and above. It's not a matter of old objects, properties and methods vs. new ones, but principal bugs that were introduced with CC.

Regards,
Uwe

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
Participant ,
Jan 09, 2017 Jan 09, 2017

Copy link to clipboard

Copied

seems that CC having many bugs.. (sob..sob...)

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
Community Expert ,
Jan 09, 2017 Jan 09, 2017

Copy link to clipboard

Copied

eboda_snaf wrote:

seems that CC having many bugs.. (sob..sob...)

The only alternative I currently see is to totally abandon ScriptUI for some projects and use HTML Panels for CC.

But this comes with a steep learning curve and I think you cannot provide one single script for e.g. CS4 to CC 2017, if you want to pack all the functionality into one product.

For HTML Panels see this blog post by Marc Autret that sums up the topic:

Indiscripts :: “HTML Panels Development,” the Path to CC Extensions

Regards,
Uwe

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
Participant ,
Jan 09, 2017 Jan 09, 2017

Copy link to clipboard

Copied

if it's a genuine bug, i think and hope Adobe will try to solve and deal with them professionally..

Just hoping that they are not trying to discourage us to move away from scriptUI by ignoring them..

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
Community Expert ,
Jan 09, 2017 Jan 09, 2017

Copy link to clipboard

Copied

> if it's a genuine bug, i think and hope Adobe will try to solve and deal with them professionally..

Don't hold your breath. . .

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
Participant ,
Jan 09, 2017 Jan 09, 2017

Copy link to clipboard

Copied

arrghhh.....

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
Community Expert ,
Jan 09, 2017 Jan 09, 2017

Copy link to clipboard

Copied

LATEST

Yes. Arrgh…

I don't think that much changed with ScriptUI since 2013 ( ? ) when CC was introduced.
Nothing than some new bugs with higher versions perhaps. 😞

The watershed—so to say—is really between CS6 and CC v9.
After porting InDesign form 32Bit to 64Bit I assume.

Regards,
Uwe

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