在Adobe InDesign CS5中处理TextBox中的文本 [英] Manipulating text in a TextBox in Adobe InDesign CS5

查看:159
本文介绍了在Adobe InDesign CS5中处理TextBox中的文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Adob​​e InDesign CS5 中调整大小的文本框中对文本进行一些操作?

How can I do some manipulations with the text in a TextBox on resize in Adobe InDesign CS5?

主要目标是太过分裂每行上的最后一个单词,以实现类似自定义连字符的内容。

The main goal is too split the last word on every row to achieve something like a custom hyphenation.

是否可以使用 JavaScript (或 ExtendScript ?)?

Is it possible using JavaScript (or ExtendScript?) ?

谢谢。

更新

我试图在评论中描述我的问题

我需要一个关于 ExtendScript的示例,它会根据维度找到文本框尺寸和连字符,然后我想在文本框调整大小后创建一个事件,这会在每次调整大小后执行相同的操作。

I need an example on ExtendScript, which would find textbox dimensions and hyphenate the text according to dimension and after I'd like to create an event on textbox resize, which would do the same thing after every resize.

推荐答案

您可能能够编写一个脚本来执行您想要的操作,但该功能已内置于InDesign中。

You'll probably be able to write a script to do what you want, but the functionality is already built into InDesign.

如果我理解你的问题,那么InDesign不能正确连接亚美尼亚语吗?您可以使用文本工具在文本中插入手动连字符,然后按Ctrl+ - ,在文本中需要连字符。不幸的是,你每次调整盒子大小时都必须这样做,因为单词会移动 - 这可能是你遇到的问题。

If I understand your problem correctly it's InDesign does not hyphenate Armenian properly? You can insert manual hyphenationsin the text using the text tool and pressing 'Ctrl'+'-' where you want the hyphen in the text. Unfortunately you'll have to do that everytime you resize the box, because the words will move around - which is probably the problem you're having.

你可以设置角色选项卡中的InDesign中的语言(快捷键为Ctrl+t),并使用特定于您的语言的规则上传自定义词典/单词列表,包括拼写和连字规则。不幸的是我在短搜索中找不到亚美尼亚语,但也许你更幸运。

You can set the language in InDesign in the Character tab (shortcut is 'Ctrl'+'t') and upload custom dictionaries/word lists with rules specific to your language including rules for spelling and hyphenation. Unfortunately I couldn't find Armenian in my short search, but perhaps you're more lucky.

查看链接了解更多详情:

Check out the link for more details:

http://help.adobe .com / zh_CN / indesign / cs / using / WSa285fff53dea4f8617383751001ea8cb3f-6f4da.html

这篇关于在Adobe InDesign CS5中处理TextBox中的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆