Skip to content

Instantly share code, notes, and snippets.

@dmgig
Last active Mar 16, 2022
Embed
What would you like to do?
Abbyy FineReader Applescript Dictionary
You can choose File > Open Dictionary in Script Editor to examine the scripting dictionary of a scriptable application or scripting addition on your computer. Or you can drag an application icon to the Script Editor icon to display its dictionary (if it has one). You can also open scripting dictionaries in Xcode.
https://developer.apple.com/library/content/documentation/AppleScript/Conceptual/AppleScriptX/Concepts/work_with_as.html#//apple_ref/doc/uid/TP40001568-1153006
# finereader
finereader n :
get languages count v : Returns the number of recognition languages.
get languages count
→ number :
get language id from index v : Returns a language identifier that corresponds to the passed index number.
get language id from index integer :
→ text :
get language name from id v : Returns the full name of the language that corresponds to the passed identifier.
get language name from id text :
→ text :
has dictionary support from language with id v : Determines whether dictionaries are available for the language with the passed identifier.
has dictionary support from language with id text :
→ boolean :
get language id from language name v : Returns the identifier of the language that corresponds to the passed language name.
get language id from language name text :
→ text :
get ocr language group with key v : Returns the group of the language with the passed identifier.
get ocr language group with key text :
→ text :
preferences value type n
get preferences v : Returns a list of values of FineReader's main settings.
get preferences
[use internal format boolean] :
→ preferences value type :
ocr languages enum : Specifies recognition languages.
Shona : Shona
Vietnamese : Vietnamese
Chukcha : Chukchee
Kazakh : Kazakh
Cobol : COBOL
Basic : Basic
Latin : Latin
RussianOldSpelling : Russian (Old Spelling)
Chuvash : Chuvash
Albanian : Albanian
Mansi : Mansi
Ojibway : Ojibway
Basque : Basque
Nahuatl : Nahuatl
Latvian : Latvian
Swedish : Swedish
Blackfoot : Blackfoot
Mohawk : Mohawk
Awar : Avar
ChinesePRC : Chinese Simplified
Faeroese : Faroese
Polish : Polish
Greek : Greek
Tuvin : Tuvinian
Buryat : Buryat
Kasub : Kashubian
ChineseTaiwan : Chinese Traditional
Ingush : Ingush
Nogay : Nogay
Kirgiz : Kirghiz
Mordvin : Mordvin
SerbianCyrillic : Serbian (Cyrillic)
Lezgin : Lezgi
Miao : Miao
Tswana : Tswana
Ukrainian : Ukrainian
Nivkh : Nivkh
Finnish : Finnish
Nenets : Nenets
Kabardian : Kabardian
Ossetic : Ossetian
Malagasy : Malagasy
SerbianLatin : Serbian (Latin)
Bemba : Bemba
Korean : Korean
Papiamento : Papiamento
Ganda : Ganda
Luba : Luba
Malay : Malay (Malaysian)
Kumyk : Kumyk
KoreanHangul : Korean (Hangul)
Frisian : Frisian
Hungarian : Hungarian
English : English
Kalmyk : Kalmyk
Xhosa : Xhosa
Malinke : Malinke
Kurdish : Kurdish
EskimoCyrillic : Eskimo (Cyrillic)
Kikuyu : Kikuyu
Koryak : Koryak
Friulian : Friulian
UighurCyrillic : Uighur (Cyrillic)
Croatian : Croatian
Aymara : Aymara
Lak : Lak
Esperanto : Esperanto
Maltese : Maltese
EskimoLatin : Eskimo (Latin)
Altaic : Altai
Wolof : Wolof
Hawaiian : Hawaiian
Crow : Crow
Provencal : Occitan
Agul : Agul
Lappish : Sami (Lappish)
Udmurt : Udmurt
UighurLatin : Uighur (Latin)
Gagauz : Gagauz
Yakut : Yakut
Sunda : Sunda
Tabassaran : Tabasaran
Samoan : Samoan
Dungan : Dungan
Galician : Galician
Digits : Digits
Tagalog : Tagalog
C++ : C/C++
Maori : Maori
Lithuanian : Lithuanian
Interlingua : Interlingua
Romanian : Romanian
Japanese : Japanese
Swahili : Swahili
Minankabaw : Minangkabau
Pascal : Pascal
Chechen : Chechen
Dargwa : Dargwa
Afrikaans : Afrikaans
Turkish : Turkish
Nyanja : Nyanja
RomanianMoldavia : Moldavian
Swazi : Swazi
Maya : Maya
Chemistry : Simple chemical formulas
Corsican : Corsican
Guarani : Guarani
Hebrew : Hebrew
Mongol : Mongol
Romany : Romany
Turkmen : Turkmen (Cyrillic)
Macedonian : Macedonian
Khakas : Khakass
PortugueseBrazilian : Portuguese (Brazilian)
Hausa : Hausa
GaelicScottish : Scottish Gaelic
Fijian : Fijian
TurkmenLatin : Turkmen (Latin)
Welsh : Welsh
ArmenianEastern : Armenian (Eastern)
German : German
Khanty : Khanty
PortugueseStandard : Portuguese
Kongo : Kongo
Ido : Ido
Kpelle : Kpelle
Norwegian : Norwegian
ArmenianGrabar : Armenian (Grabar)
GermanLuxembourg : German (Luxembourg)
Ruanda : Rwanda
Bugotu : Bugotu
French : French
Tajik : Tajik
Sioux : Dakota
Mari : Mari
NorwegianBokmal : Norwegian (Bokmal)
ArmenianWestern : Armenian (Western)
GermanNewSpelling : German (New Spelling)
Irish : Irish
Bulgarian : Bulgarian
Visayan : Cebuano
Czech : Czech
Slovak : Slovak
Arabic : Arabic (Saudi Arabia)
Hani : Hani
Spanish : Spanish
Tinpo : Jingpo
NorwegianNynorsk : Norwegian (Nynorsk)
Selkup : Selkup
Tatar : Tatar
KarachayBalkar : Karachay-balkar
Slovenian : Slovenian
Thai : Thai
AzeriCyrillic : Azeri (Cyrillic)
Kawa : Kawa
Sotho : Sotho
Karakalpak : Karakalpak
Italian : Italian
PidginEnglish : Tok Pisin
Tongan : Tongan
Breton : Breton
Quechua : Quechua (Bolivia)
AzeriLatin : Azeri (Latin)
RhaetoRomanic : Rhaeto-Romanic
Belarusian : Belarusian
Catalan : Catalan
UzbekCyrillic : Uzbek (Cyrillic)
Zulu : Zulu
Occidental : Occidental
Chamorro : Chamorro
Tahitian : Tahitian
Danish : Danish
Tun : Tun
Icelandic : Icelandic
Dutch : Dutch
UzbekLatin : Uzbek (Latin)
CrimeanTatar : Crimean Tatar
Zapotec : Zapotec
Java : Java
Even : Even
Fortran : Fortran
DutchBelgian : Dutch (Belgian)
Abkhaz : Abkhaz
Somali : Somali
Indonesian : Indonesian
Rundi : Rundi
Evenki : Evenki
Sorbian : Sorbian
Bashkir : Bashkir
Yiddish : Yiddish
Russian : Russian
Adyghe : Adyghe
Estonian : Estonian
encoding enum enum : Character encoding.
utf16 :
utf8 :
column separator enum : Specifies the type of column separator in the document.
comma :
tab :
semicolon :
image quality enum enum : Quality settings for exported images.
low quality : low
high quality : high
balanced quality : balanced
txt layout enum : Layout settings for ePub, FB2 and TXT documents.
as formatted text : formatted text
as plain text : plain text
word layout enum : Layout settings for DOCX, RTF and ODT documents.
as exact copy : exact copy
as formatted text : formatted text
as editable copy : editable copy
as plain text : plain text
pdf layout enum : Layout settings for PDF documents.
text and pictures : text and pictures only
page image only : page images only
text over image : text over page images
text under image : text under page images
html contents enum enum : Settings for generating a table of contents when exporting to HTML.
autocontext : automatically
onlevel2 : based on level 2 headings
onlevel1 : based on level 1 headings
html layout enum enum : Layout settings for HTML documents.
as formatted text : formatted text
as plain text : plain text
as flexible layout : flexible layout
page size enum enum : List of paper size values.
JIS B0 :
ISO B4 :
JIS B7 :
A6 :
A10 :
US Letter :
C4 :
3R :
12R :
JIS B8 :
JIS B1 :
ISO B5 :
A7 :
4A0 :
US Legal :
4R :
S8R :
A0 :
C5 :
JIS B9 :
JIS B2 :
ISO B6 :
A8 :
2A0 :
US Ledger :
5R :
S10R :
automatic :
A1 :
C6 :
JIS B10 :
JIS B3 :
A9 :
ISO B7 :
ISO B0 :
US Executive :
6R :
S12R :
A2 :
JIS B4 :
C7 :
C0 :
ISO B8 :
ISO B1 :
8R :
A3 :
C1 :
JIS B5 :
US Statement :
C8 :
ISO B9 :
ISO B2 :
10R :
A4 :
Business Card :
C9 :
C2 :
ISO B3 :
JIS B6 :
ISO B10 :
11R :
A5 :
Japanese E :
C10 :
C3 :
save settings enum enum : Saving settings for recognized documents.
empty pages split files : create a new file after every empty page
single file : save all pages as a single file
same files as source : create a separate file for each source file
separate file for each page : save every page as a separate file
format enum enum : Saving format for recognized documents.
to pdf :
to fb2 :
to csv :
to word :
to plain text :
to html :
to epub :
to powerpoint :
to odt :
to excel :
to rtf :
language list type n
export to v : Converts the current document. If FineReader is running in a Sandbox, files will be saved to a temporary directory.
export to file :
[from file file] :
parameters preferences value type :
→ file :
export to csv v : Converts the current document to a CSV file. If FineReader is running in a Sandbox, the file will be saved to a temporary directory.
export to csv file :
[from file file] :
[ocr languages enum language list type] : List of recognition languages that includes language identifiers and full language names.
[saving type save settings enum] : Specifies file creation settings for saving results.
[ignore content outside table boolean] : Saves tables only.
[insert page break character as page separator boolean] : Keeps page breaks from the source document.
[column separator column separator] : Specifies the symbol used to separate columns.
[encoding encoding enum] : Specifies character encoding.
→ file :
export to epub v : Converts the current document to an EPUB file. If FineReader is running in a Sandbox, the file will be saved to a temporary directory.
export to epub file :
[from file file] :
[ocr languages enum language list type] : List of recognition languages that includes language identifiers and full language names.
[saving type save settings enum] : Specifies file creation settings for saving results.
[book title text] : Book title.
[author text] : Names of authors.
[retain layout txt layout] : Specifies layout mode for documents.
[keep pictures boolean] : Keeps pictures in recognized document.
[image quality image quality enum] : Specifies quality of pictures in output file.
[use first page as book cover boolean] : Uses the first page of the document as the book cover.
[preserve fonts and font sizes boolean] : Keeps fonts and font sizes.
[embed fonts boolean] : Embeds fonts from the document in the e-book.
→ file :
export to xlsx v : Converts the current document to an XLSX file. If FineReader is running in a Sandbox, the file will be saved to a temporary directory.
export to xlsx file :
[from file file] :
[ocr languages enum language list type] : List of recognition languages that includes language identifiers and full language names.
[saving type save settings enum] : Specifies file creation settings for saving results.
[ignore content outside table boolean] : Saves tables only.
[keep page numbers headers and footers boolean] : Keeps headers, footers and page numbers.
[keep pictures boolean] : Keeps pictures in recognized document.
[image quality image quality enum] : Specifies quality of pictures in output file.
[convert numerical values to numbers boolean] : Converts numeric values to numbers.
→ file :
export to fb2 v : Converts the current document to an FB2 file. If FineReader is running in a Sandbox, the file will be saved to a temporary directory.
export to fb2 file :
[from file file] :
[ocr languages enum language list type] : List of recognition languages that includes language identifiers and full language names.
[saving type save settings enum] : Specifies file creation settings for saving results.
[book title text] : Book title.
[author text] : Names of authors.
[retain layout txt layout] : Specifies layout mode for documents.
[keep pictures boolean] : Keeps pictures in recognized document.
[image quality image quality enum] : Specifies quality of pictures in output file.
[use first page as book cover boolean] : Uses the first page of the document as the book cover.
→ file :
export to html v : Converts the current document to an HTML file. If FineReader is running in a Sandbox, the file will be saved to a temporary directory.
export to html file :
[from file file] :
[ocr languages enum language list type] : List of recognition languages that includes language identifiers and full language names.
[saving type save settings enum] : Specifies file creation settings for saving results.
[retain layout html layout enum] : Specifies layout mode for documents.
[keep page numbers headers and footers boolean] : Keeps headers, footers and page numbers.
[keep line breaks and hyphenation boolean] : Keeps line breaks and hyphenation.
[use css boolean] : Enables CSS in output documents.
[keep pictures boolean] : Keeps pictures in recognized document.
[image quality image quality enum] : Specifies quality of pictures in output file.
[encoding encoding enum] : Specifies character encoding.
[keep text and background colors boolean] : Keeps background and character colors.
[generate table of contents boolean] : Generates a table of contents based on headings in the document and creates links to the headings.
[split by headings html contents enum] : Splits the document into separate HTML files.
[add navigation links boolean] : Adds navigation links.
→ file :
export to odt v : Converts the current document to an ODT file. If FineReader is running in a Sandbox, the file will be saved to a temporary directory.
export to odt file :
[from file file] :
[ocr languages enum language list type] : List of recognition languages that includes language identifiers and full language names.
[saving type save settings enum] : Specifies file creation settings for saving results.
[retain layout word layout] : Specifies layout mode for documents.
[keep page numbers headers and footers boolean] : Keeps headers, footers and page numbers.
[keep line breaks and hyphenation boolean] : Keeps line breaks and hyphenation.
[keep page breaks boolean] : Keeps page breaks.
[page size page size enum] : Specifies paper size.
[increase paper size to fit content boolean] : Automatically increases paper size to fit document content.
[keep pictures boolean] : Keeps pictures in recognized document.
[image quality image quality enum] : Specifies quality of pictures in output file.
[keep text and background colors boolean] : Keeps background and character colors.
[highlight uncertain characters boolean] : Highlights uncertain characters.
[keep line numbers boolean] : Keeps line numbering.
→ file :
export to pdf v : Converts the current document to a PDF file. If FineReader is running in a Sandbox, the file will be saved to a temporary directory.
export to pdf file :
[from file file] :
[ocr languages enum language list type] : List of recognition languages that includes language identifiers and full language names.
[saving type save settings enum] : Specifies file creation settings for saving results.
[export mode pdf layout] : Specifies export mode.
[keep page numbers headers and footers boolean] : Keeps headers, footers and page numbers.
[page size page size enum] : Specifies paper size.
[keep pictures boolean] : Keeps pictures in recognized document.
[image quality image quality enum] : Specifies quality of pictures in output file.
[keep text and background colors boolean] : Keeps background and character colors.
[use mrc boolean] : Compresses the output file significantly while retaining high quality of text and images.
[make pdfa boolean] : Creates a searchable PDF document that is well suited for archiving.
[create outline boolean] : Creates a table of contents in a PDF file based on headings.
[enable pdf tagging boolean] : Enables PDF tags.
[embed fonts boolean] : Embeds fonts from the document in the e-book.
→ file :
export to txt v : Converts the current document to a TXT file. If FineReader is running in a Sandbox, the file will be saved to a temporary directory.
export to txt file :
[from file file] :
[ocr languages enum language list type] : List of recognition languages that includes language identifiers and full language names.
[saving type save settings enum] : Specifies file creation settings for saving results.
[retain layout txt layout] : Specifies layout mode for documents.
[keep page numbers headers and footers boolean] : Keeps headers, footers and page numbers.
[keep line breaks and hyphenation boolean] : Keeps line breaks and hyphenation.
[insert page break character as page separator boolean] : Keeps page breaks from the source document.
[use blank lines boolean] : Separates paragraphs with blank lines.
[encoding encoding enum] : Specifies character encoding.
→ file :
export to pptx v : Converts the current document to a PPTX file. If FineReader is running in a Sandbox, the file will be saved to a temporary directory.
export to pptx file :
[from file file] :
[ocr languages enum language list type] : List of recognition languages that includes language identifiers and full language names.
[saving type save settings enum] : Specifies file creation settings for saving results.
[keep page numbers headers and footers boolean] : Keeps headers, footers and page numbers.
[keep line breaks and hyphenation boolean] : Keeps line breaks and hyphenation.
[keep pictures boolean] : Keeps pictures in recognized document.
[image quality image quality enum] : Specifies quality of pictures in output file.
[wrap text boolean] : Wraps text to text blocks.
→ file :
export to rtf v : Converts the current document to an RTF file. If FineReader is running in a Sandbox, the file will be saved to a temporary directory.
export to rtf file :
[from file file] :
[ocr languages enum language list type] : List of recognition languages that includes language identifiers and full language names.
[saving type save settings enum] : Specifies file creation settings for saving results.
[retain layout word layout] : Specifies layout mode for documents.
[keep page numbers headers and footers boolean] : Keeps headers, footers and page numbers.
[keep line breaks and hyphenation boolean] : Keeps line breaks and hyphenation.
[keep page breaks boolean] : Keeps page breaks.
[page size page size enum] : Specifies paper size.
[increase paper size to fit content boolean] : Automatically increases paper size to fit document content.
[keep pictures boolean] : Keeps pictures in recognized document.
[image quality image quality enum] : Specifies quality of pictures in output file.
[keep text and background colors boolean] : Keeps background and character colors.
[highlight uncertain characters boolean] : Highlights uncertain characters.
[keep line numbers boolean] : Keeps line numbering.
→ file :
export to docx v : Converts the current document to a DOCX file. If FineReader is running in a Sandbox, the file will be saved to a temporary directory.
export to docx file :
[from file file] :
[ocr languages enum language list type] : List of recognition languages that includes language identifiers and full language names.
[saving type save settings enum] : Specifies file creation settings for saving results.
[retain layout word layout] : Specifies layout mode for documents.
[keep page numbers headers and footers boolean] : Keeps headers, footers and page numbers.
[keep line breaks and hyphenation boolean] : Keeps line breaks and hyphenation.
[keep page breaks boolean] : Keeps page breaks.
[page size page size enum] : Specifies paper size.
[increase paper size to fit content boolean] : Automatically increases paper size to fit document content.
[keep pictures boolean] : Keeps pictures in recognized document.
[image quality image quality enum] : Specifies quality of pictures in output file.
[keep text and background colors boolean] : Keeps background and character colors.
[highlight uncertain characters boolean] : Highlights uncertain characters.
[keep line numbers boolean] : Keeps line numbering.
→ file :
has document v : Determines whether a document is open in FineReader.
has document
→ boolean :
is busy v : Determines whether FineReader is currently processing a document. FineReader will not accept any commands while the current document is being processed.
is busy
→ boolean :
is finereader controller active v : Returns Yes if FineReader is running and ready.
is finereader controller active
→ boolean :
is sandboxed v : Returns YES if FineReader is running in a Sandbox.
is sandboxed
→ boolean :
get output dir v : Returns the path to the temporary directory with output files if FineReader is running in a Sandbox.
get output dir
→ file :
create new document v : Creates a new FineReader document. If a document is already open, FineReader will attempt to close it.
create new document
close document v : Closes the current document.
close document
get document progress v : Determines the completion percentage of the current process if FineReader is busy.
get document progress
→ integer :
auto read new pages v : Enables/disables automatic processing of new pages
auto read new pages boolean :
→ boolean :
# Standard Suite - Common classes and commands for all applications.
quit v : Quit the application.
quit
application n : The application's top-level scripting object.
properties
name (text, r/o) : The name of the application.
frontmost (boolean, r/o) : Is this the active application?
version (text, r/o) : The version number of the application.
responds to
quit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment