Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Using Procedures and Functions
I am trying to find the best way since the way I have done things up to this point do not always work 100 percent.
For example I need to do six things:
1. Copy a file from one directory to another(current to archive)
2. Use Acrobat automation to mark the archive file 'Historical'.
3. Delete the current file.
4. Copy the new file(working to current)
5. Use Acrobat automation to mark the current file 'Released'.
6. Delete the working file.
I have all this working but not very efficently. Some times I get an error because a file is not released before preforming an action on it.
My main question is should FOpen/FClose be done within the procedure or at the calling program level?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement