Donnez vie à vos documents numériques !
 

aelbaz

Toutes mes réponses sur les forums

Affichage de 6 réponses de 1 à 6 (sur un total de 6)
  • Auteur
    Réponses
  • en réponse à : Problème d’ouverture d’un fichier #67763
    aelbaz
    Participant

    Good Morning.
    I will never tire of sending you my gratitude. Your collaboration exceeds all my expectations.
    If you come to Madrid one day, I will be delighted to invite you to a “cocido madrileño”, which is the typical dish of this city.

    en réponse à : Problème d’ouverture d’un fichier #67760
    aelbaz
    Participant

    Hello, bebarth. Sorry to bother you, but I have tried to add other books to any of the authors that already exist and it does not work. Only admits one book per author.
    On the other hand, the phrase “… when it is leaving” means when I save the file after updating it.

    en réponse à : Problème d’ouverture d’un fichier #67758
    aelbaz
    Participant

    Once again, thank you very much.
    Regarding the “Notes” section, I have included in each file a button that saves and closes the file when it is abandoned. In this way, an increasingly extensive history is created and you can check live updates when it is opened. In that button I have included the following code:

    // Primero hay que asegurarse que la función existe
    if(typeof(guardar) == “function”) {
    // Ahora dividir la porción pura “Path” de la ruta del archivo para llamar a la función
    var nLast = this.path.lastIndexOf(“/”);
    var cPath = this.path.slice(0,nLast);
    guardar(this,cPath, this.documentFileName);
    } else {
    app.alert(“Falta la función de guardarn” + “Por favor, contacte con el administrador de formularios”);
    }
    // Crear el nombre del fichero desde los campos de texto
    var nombreFichero = this.getField(“ListaNivel3”).valueAsString;

    // Guardar el fichero
    guardar(this, “/c/Users/angel/Downloads/Biblioteca de scripts”, nombreFichero + “.pdf”);

    // Cerrar el fichero
    this.closeDoc();

    Let me clarify: I was born in Madrid and I live in a small city very close to Madrid.

    en réponse à : Problème d’ouverture d’un fichier #67754
    aelbaz
    Participant

    Thank you very much, bebarth!
    In the notes field I include comments about the book (edition date, main subject of the book, etc.) and they are added to the PDF file when it is updated. On the other hand, I have more than 100 books and I think that the CSV file option is very good. Can you give me an example?
    Thanks in advance.

    en réponse à : Problème d’ouverture d’un fichier #67748
    aelbaz
    Participant

    This text is the answer to Merlin’s first intervention.
    I have a script that I fire from the third menu. I have it placed in the “Format” tab, under “Custom Keystroke Script”. It is the following:
    app.openDoc (“/c/Users/angel/Downloads/Books control/” + event.value + “.pdf”);
    It works but not very well: it triggers the script in the third field when I’m choosing the author of the book from the second menu and it does a few more things that are not logical.

    All the books are physically in a closet, but with this file I try that every time I add one, a PDF document with its title is generated. And all the books will be in the same file folder.

    There is correspondence of file names with book titles in the third drop-down list. It can be verified that the name of the file will be obtained from the title that appears in the third menu, adding the extension “.pdf”.

    Sorry for my problem with the language.

    Thanks in advance.

    en réponse à : Problème d’ouverture d’un fichier #67745
    aelbaz
    Participant

    – Vous devez savoir que ce sera le déclencheur qui ouvrira le livre sélectionné.
    J’ai un trait d’union qui disparaît de la ligne du bas. Je l’ai placé dans la balise “Format”, sous “Script de frappe de clavier personnalisé”. Vous êtes:
    app.openDoc (“/ c / Users / angel / Downloads / Control de libros /” + event.value + “.pdf”);
    Cela fonctionne mais pas très bien: le trait d’union dans le troisième champ disparaît de moi lorsque je choisis l’auteur du livre dans le deuxième menu et il fait des choses plus non logiques.

    – Vous devez savoir où les livres doivent s’ouvrir. Envisagez-vous de les mettre en pièce jointe dans le PDF ou sont-ils stockés ailleurs?
    Tous les livres sont physiquement dans un placard, mais avec ce fichier intentionnel que chaque fois que j’en ajoute un génère un document PDF il porte son titre. Et tous les livres dans le même dossier de relations.

    – Y a-t-il une correspondance entre le numéro du livre qui apparaît dans le troisième menu et le nom du fichier à ouvrir?
    Oui. En regardant le script que vous avez mis ci-dessus, vous pouvez comprendre le nom du fichier tel que spécifié dans le titre qui apparaît dans le troisième menu, en ajoutant l’extension “.pdf”.

    Je me souviens encore que la traduction de ce texte en français a été faite par Google.

Affichage de 6 réponses de 1 à 6 (sur un total de 6)