Bonjour à tous
J'aimerais faut une conversion de plusieurs fichier selection en pilotant Photoshop en AS.
J'ai lu la doc d'adobe pour réaliser mon script mais impossible d'avoir le résultat demandé.
Voici mon code
Pouvez vous m'aidez ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 set votreChoix to choose folder with prompt "Selectionner le dossier contenant les jpg" tell application "Finder" set liste_Fichiers to ((every file of folder (votreChoix as alias)) whose name extension is "gif") repeat with Fichier in liste_Fichiers set Nom to name of Fichier set Chemin to (container of Fichier) as string set Fichier2 to Chemin & Nom tell application "Adobe Photoshop CS6" try open alias Fichier2 (save current document in file Fiichier2 as Photoshop PDF ¬ with options {class:PDF save options, PDF compatibility:PDF 15, preserve editing:false} ¬ ) close current document saving no end try end tell end repeat end tell
Merci par avance
Partager