abracadabraPDF › Forums › PDF – Général › Verrouilage de champ inefficace avec annuler › Répondre à : Verrouilage de champ inefficace avec annuler

bonjour,
J’arrive sur la discussion un peu tard, mais est-ce que le fichier doit être « Enregistré » ou « Enregistré sous » ?
Le bouton « Enregistrer » peut-être remplacer par une action ???
Si oui, je propose :
this.getField(« prof »).value = 0;
// Enregistrement
var nomFichier = this.documentFileName;
var aMyPath = this.path.split(« / »); // Split Path into an array so it is easy to work with
aMyPath.pop(); // Remove old file name
aMyPath.push(nomFichier); // Add new file name
this.saveAs(aMyPath.join(« / »)); // Put path back together and save
Le fichier est directement enregistré sans avoir à Enregistrer sous… Remplacer…
@+
:bonjour: