Parsing a PDF file
-hh
hh at hh.on-rev.com
Mon Jul 11 11:13:11 EDT 2016
Sorry, an essential line is missing:
replace "xxxx" with f0 in fScript
Here the full (correct) button-script:
local PDFfolder="/Users/admin/Downloads/precincts"
on mouseUp
set defaultfolder to PDFfolder
put the files into ff
filter ff with "*.pdf"
put field "AS" into aScript
repeat for each line f in ff
put aScript into fScript
put PDFfolder & "/" & f into f0
replace "//" with "/" in f0
replace "xxxx" with f0 in fScript
do fScript as applescript
go this stack
set itemdelimiter to "."
put "txt" into last item of f0
set itemdelimiter to comma
put clipboardData["text"] into url ("file:" &f0)
put f0 & cr before fld "jobsDone"
end repeat
end mouseUp
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Parsing-a-PDF-file-tp4706466p4706578.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list