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

Widow Problem!!!!!

Guide ,
Dec 04, 2010 Dec 04, 2010

Copy link to clipboard

Copied

Hi Guys,

I just want to know, is it possible to find a line in top of page (Widow)? Probably it can be done by GREP or JS? My client don't want KEEP OPTION. Thanks in advance.

TOPICS
Scripting

Views

467

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
LEGEND ,
Dec 04, 2010 Dec 04, 2010

Copy link to clipboard

Copied

if(para.lines.item(-1).parentTextFrames[0] != para.lines.item(-2).parentTextFrames[0]){

  alert("You have an orphan!");// I call those orphans...

}

Harbs

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
Guide ,
Dec 05, 2010 Dec 05, 2010

Copy link to clipboard

Copied

LATEST

Hi Harbs,

It shows an error of para not defined.

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 ,
Dec 05, 2010 Dec 05, 2010

Copy link to clipboard

Copied

My client don't want KEEP OPTION.

Why not? It's a fairly standard function in most, if not all, serious DTP applications.

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