Bonjour à tous,
J'essaye d'utiliser les commandes scriptables du logiciel OsiriX (logiciel d'imagerie médicale libre sur Mac Only).
Une de ces commandes prend comme argument le chemin d'une image, série ... mais impossible de la faire fonctionner.
Etant donnée que c 'est la première fois que j'utilise AppleScript l'erreur vient surement de moi.
Voici la définition de la bibliothèque :
DownloadURLFile?v : Get a file from a URL, add it to the database and then select it
DownloadURLFile reference : the object for the command
from Unicode text : The URL path
Et voici mon script de test :
Si vous avez une idée
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 tell application "OsiriX" set myPath to "/Users/Polo/Documents/cerveau.jpg" as Unicode text DownloadURLFile from myPath end tell
Merci
Partager