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.

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to