Hi
I’m François
I have a problem Settig “Global” to first paragraph of document 1
Can someone help me solve this problem
My script
set DocName to “ADIEU À LA NUIT”
tell document DocName of application “Safari”
activate
end tell
tell application “Finder” to open file “FM_MUSIQUE”
– passer paramètres dans FileMaker Pro pour recherche et collage des paroles
tell application “FileMaker Pro”
set field “gArtiste” of current record to Artiste – replace “texte”
set field “gTitre” of current record to Titre – replace “texte”
set field “gAuteur” of current record to Auteur – replace “texte”
set field “gParoles” of current record to Paroles – replace “texte”
end tell
Right on, Artiste has to be a global so it can be transfered to a FileMaker “File” it doesn’t recognize "to first paragraph " set Artiste to first paragraph. “Cannot get first paragraph”
Thanks
My thanks to Yvan Koenig, your solution worked fine. I finally worked my script through fine.
After months of trials and errors, I’m finally done. It took me 24 hours of script operating to finalize my 28 thousands files.
I’d also like to thank the whole team for your getting me through my project.
Sincerely yours
Fançois