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

Word spacing control shortcut / script

Enthusiast ,
Jan 13, 2025 Jan 13, 2025

Hi,

Currently I am working on project where I have an arabic text flowing in its separate frame. Every sentence is ending with a number in a circle. Marked with red in attachement.

In the green box below the arabic, is its translation in Urdu. It is also in its separate frame. In Urdu also every sentence is ending with a number in circle. Marked with Blue square (1st one).

 

My job is to match the end numbers of urdu translation. I am achieving this by selection the urdu translation inside the green box and using Ctrl+Alt+\ to increase the word space. I am also using  Alt+ right or left arrow to increase and decrease the tracking. It is working but its too slow. 

 

Is there a way to control Ctrl+Alt+\  ? I could not find any place to increase its threshold. In fact, its an undocument command. It just increases the word space. Can a script do this or change the threshold of the word space ?

Thanks

TOPICS
How to , Scripting
1.1K
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
LEGEND ,
Jan 13, 2025 Jan 13, 2025

Any chance you can make them separate Paragraphs? 

 

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
Enthusiast ,
Jan 13, 2025 Jan 13, 2025

They are separate paragraphs in their own individual textframe and layer. I'll email you the idml if required for the structure.

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
LEGEND ,
Jan 13, 2025 Jan 13, 2025

Yes please. You can click my nickname. 

 

But it will take me about 2h to get back home. 

 

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
Enthusiast ,
Jan 13, 2025 Jan 13, 2025

I have pm you the download link. Thanks

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
LEGEND ,
Jan 13, 2025 Jan 13, 2025
quote

I have pm you the download link. Thanks


By @Bedazzled532

 

Got it, thanks, will take a look right now.

 

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
LEGEND ,
Jan 13, 2025 Jan 13, 2025

This is what I meant by Paragraphs:

 

RobertatIDTasker_0-1736795229502.png

 

 

What is strange - when I started this new Paragraph - this happened:

RobertatIDTasker_1-1736795275196.png

I know I don't have your fonts installed - but why it displayed "fine" initially?

 

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
LEGEND ,
Jan 13, 2025 Jan 13, 2025

I've substituted your fonts - but it looks like you've a lot of separate texts with different / local formatting:

 

RobertatIDTasker_0-1736797075261.png

 

I think mostly Kerning?

 

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
Enthusiast ,
Jan 13, 2025 Jan 13, 2025

Sent you the fonts. Plz.chk ur pm.

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
LEGEND ,
Jan 13, 2025 Jan 13, 2025

Got them both.

 

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
LEGEND ,
Jan 13, 2025 Jan 13, 2025

OK...

 

I'm not sure if I've got Unicode codes right - please ignore what you see in the IDT's window - Green rectangle - font supports Unicode but most likely is wrong?

 

RobertatIDTasker_0-1736807543000.png

 

Yellow rectangle - 2nd set of Unicode values is as per @Peter Kahrel's script in another post.

1st set - I just check Unicode value of the last number - so I'm not sure if theat's correct.

 

Red lines - rather self explanatory.

 

As you can see in the 2nd column - ID - they are pretty much interlaced - till you get to the second page:

RobertatIDTasker_1-1736807860952.png

but most likely there will be more of those - which isn't a big deal anyway.

 

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
LEGEND ,
Jan 13, 2025 Jan 13, 2025

RobertatIDTasker_0-1736808916508.png

 

Looks like when you change WORD SPACING - you are changing KERNING of the SPACE between words.

 

The one that is marked in the text - has value 280 - multiple of 20.

 

 

So, you just need to play with Kerning/Tracking value in the Preferences.

 

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
LEGEND ,
Jan 13, 2025 Jan 13, 2025

And here are shortcuts:

 

RobertatIDTasker_0-1736809133452.png

 

RobertatIDTasker_1-1736809143593.png

 

RobertatIDTasker_2-1736809158315.png

 

RobertatIDTasker_3-1736809168946.png

 

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
LEGEND ,
Jan 13, 2025 Jan 13, 2025

As you can see here - red rectangle:

 

RobertatIDTasker_0-1736809315390.png

 

IDT already extracted horizontal offset of the Characters you want to align together.

 

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
Enthusiast ,
Jan 14, 2025 Jan 14, 2025

@Robert at ID-Tasker Wow that was great effort. Thanks.

The green box number inside circle is a private unicode segment so it wont match with the arabic text.

Actually I wanted to modify x5 part in "Increase by 5x" . Its either 1x or 5x. 

Anyway thanks a lot for your efforts.

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
LEGEND ,
Jan 14, 2025 Jan 14, 2025
LATEST

You are welcome. 

 

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