Forum Replies Created
-
AuthorPosts
-
Tobias Wantzen
ParticipantSorry for adding to an old thread, but I needed this either, and transformed it to ExendScript, which will work on Mac and Windows:
if( app.documents.length > 0 ) { var theWindow = app.activeDocument.layoutWindows[0], theZoom = theWindow.zoomPercentage; theWindow.zoom(ZoomOptions.SHOW_PASTEBOARD); theWindow.zoomPercentage = theZoom; }Tobias Wantzen
ParticipantThanks Dhafir for this excellent GREP you shared!
But I’d not do this with a global “change to”. At least in my language (German) it is possible to emphasize part of a word by italicising it, which looks e.g. like this: “<i>weg</i>schauen”.
For me this will be a “manual GREP walk” through my text.
Thanks, Tobias
Tobias Wantzen
ParticipantThanks, Anne-Marie. I was asking, because I’m testing a hyperlinks script I’m writing, and one of my test hyperlinks shows green although it doesn’t exist in the internet. So I was confused about the coloring.
It’s a bit weird: The script added hyperlink is green (although this is wrong), but when I edit the hyperlink, it jumps to red. After exiting the edit it jumps to green again. So I think, this must be a bug …
Thanks!
TobiasTobias Wantzen
ParticipantJose, the usage of pages[n].adjustLayout() is one method. The other one is to use pages[n].resize() (https://www.indesignjs.de/extendscriptAPI/indesign-latest/Page.html#d1e203105__d1e204692).
Regards, Tobias
October 31, 2019 at 4:40 am in reply to: Catalina and the change from ESTK to Visual Studio Code + Extendscript Debugger #14323819Tobias Wantzen
ParticipantI understand that very good. It would be great to have a good resource/article, that exactly describes how to work with VSCode and ExtendScript efficiently for simpler scripting (one script with few options) and complex scripting (big scripts with many options or maybe even scripts, that are built of multiple modular script files etc.).
Furthermore there is a gap between scripting beginners, which can find quite useful resources in books or web, and advanced scripting for larger scripting projects. For the latter there are no really useful resources.
Thanks, Tobias
October 30, 2019 at 2:49 pm in reply to: Catalina and the change from ESTK to Visual Studio Code + Extendscript Debugger #14323824Tobias Wantzen
ParticipantI found this video quite helpful:
It’s on Premiere and VSCode with ExtendScript plugin, but quite useful for the process.
Thanks, Tobias
September 26, 2019 at 5:39 pm in reply to: Is scripting best for my use case, or is there something else? #14324045Tobias Wantzen
ParticipantHi Nigel, I think you should look for »Data Merge«:
https://indesignsecrets.com/automating-data-handling.php
https://indesignsecrets.com/data-merging-part-2.php(https://indesignsecrets.com/?s=data+merge)
Or any free resource you can find via web search. There are many free how-to videos available on the different video platforms either.
Best regards, Tobias
-
AuthorPosts
