-
1. Re: [JS] select blocks of text
John Hawkinson Feb 4, 2012 7:13 AM (in response to Philippe Ruelle)"embedded in the image"? Please post a screenshot.
-
2. Re: [JS] select blocks of text
Philippe Ruelle Feb 4, 2012 7:41 AM (in response to John Hawkinson)Here's a picture.
I have to select blocks and their dimensions changed blocks and changes the framing of the image and applied a style block ...
To start, my biggest problem is the selection inked block ... for the rest I cross that I should come
Voici une image.
Je dois sélectionner, blocs et changé leurs dimension les blocs et change le cadrage de l'image et appliqué un style de bloc...
Pour commencé, mon plus gros problème est de selection les bloc encré ... pour le reste je croix que je devrais y arrivé

-
3. Re: [JS] select blocks of text
John Hawkinson Feb 4, 2012 7:51 AM (in response to Philippe Ruelle)That is an anchored frame or inline image. I have no idea how those are localized.
Anyhow, if you have a textframe tf, then these are just under tf.rectangles.
var tf=app.activeDocument.textFrames[0]; tf.rectangles[0].geometricBounds = [0,0,100,100]; // or whatever
(By the way, your user photo is non-uniformly scaled. It looks really...bad. Stretched.)
-
4. Re: [JS] select blocks of text
Philippe Ruelle Feb 4, 2012 11:32 AM (in response to John Hawkinson)Is an anchored box, the code is good but the image does not hold its position in the block.
C'est un bloc ancré, le code est bon mais l'image ne garde pas sa position dans le bloc.
-
5. Re: [JS] select blocks of text
Philippe Ruelle Feb 5, 2012 9:04 AM (in response to John Hawkinson)Hello
I saw many things on the Forum but ...
How to retrieve the image position in the block for repositioné?
thank youBonjour
j'ai vu beaucoup de chose sur le Forum mais ...
Comment récupérer la position de l'image dans le bloc pour la repositioné?
Merci
-
6. Re: [JS] select blocks of text
Philippe Ruelle Feb 6, 2012 10:25 AM (in response to Philippe Ruelle)Hello,
When I apply the format, the image inside the block takes the possition of the block parapor page!!
Devaris I can cross that the image is taken as an inline image. (????)
thank youBonjour,
Quand j'applique le format, l'image à l'interieur du bloc prend la possition du bloc parapor à la page!!!!
je devaris peut être croix que l'image est reprise comme une image en ligne.
Merci



