SlideShare a Scribd company logo
Becky Yoose Bibliographic Systems Librarian Miami University EGL-IUG 9/25/09
 
 
Built-in Ex. Send User defined functions (UDF) Function libraries Ex.  #include <array.au3> _ArrayDisplay($BIB_ARRAY_MASTER) Declare your own Func (…) … EndFunc Create your own library (#include <mine.au3>)
 
 
Thank you  [email_address] Twitter: yo_bj Photo credits  Slide 5: http://www.flickr.com/photos/sandcastlematt/2674613479/ Slide 6: http://www.flickr.com/photos/48926352@N00/372863168/ Rest of photos from personal collection, screenshots, & Microsoft Image Gallery

More Related Content

DOC
Bibliographic Data Spring Cleaning with Sierra DNA - Handout
PPTX
De-identifying Patron Data for Analytics and Intelligence
PDF
Your code does not exist in a vacuum
PDF
2009 04 21 Cv Achten
PDF
A tale of two communities
PDF
But I'm Not A Techie! Technical Tools for Technical Services
PDF
Poster: Using Open Source Tools to Improve Access to Oral History Collections
PPTX
Technical Services Tools Redux
Bibliographic Data Spring Cleaning with Sierra DNA - Handout
De-identifying Patron Data for Analytics and Intelligence
Your code does not exist in a vacuum
2009 04 21 Cv Achten
A tale of two communities
But I'm Not A Techie! Technical Tools for Technical Services
Poster: Using Open Source Tools to Improve Access to Oral History Collections
Technical Services Tools Redux

More from Becky Yoose (8)

PPTX
Bibliographic Data Spring Cleaning with Sierra DNA
PPT
Taming the communication beast: Using LibGuides for intra-library communication
PPT
The public side of technical services
PPT
Pack Light: Changes in Technical Services Staffing & Workflow
PDF
Using AutoIt for Millennium Task Automation Handout
PPTX
Using AutoIt for Millennium Task Automation
PDF
Technical Services Tools Redux Handout
PDF
AutoIt for the rest of us - handout
Bibliographic Data Spring Cleaning with Sierra DNA
Taming the communication beast: Using LibGuides for intra-library communication
The public side of technical services
Pack Light: Changes in Technical Services Staffing & Workflow
Using AutoIt for Millennium Task Automation Handout
Using AutoIt for Millennium Task Automation
Technical Services Tools Redux Handout
AutoIt for the rest of us - handout
Ad

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Big Data Technologies - Introduction.pptx
PDF
Encapsulation theory and applications.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
KodekX | Application Modernization Development
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPT
Teaching material agriculture food technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Electronic commerce courselecture one. Pdf
Approach and Philosophy of On baking technology
Per capita expenditure prediction using model stacking based on satellite ima...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Dropbox Q2 2025 Financial Results & Investor Presentation
sap open course for s4hana steps from ECC to s4
MYSQL Presentation for SQL database connectivity
Big Data Technologies - Introduction.pptx
Encapsulation theory and applications.pdf
Understanding_Digital_Forensics_Presentation.pptx
Spectroscopy.pptx food analysis technology
KodekX | Application Modernization Development
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Teaching material agriculture food technology
Building Integrated photovoltaic BIPV_UPV.pdf
Network Security Unit 5.pdf for BCA BBA.
Electronic commerce courselecture one. Pdf
Ad

AutoIt for the rest of us

  • 1. Becky Yoose Bibliographic Systems Librarian Miami University EGL-IUG 9/25/09
  • 2.  
  • 3.  
  • 4. Built-in Ex. Send User defined functions (UDF) Function libraries Ex. #include <array.au3> _ArrayDisplay($BIB_ARRAY_MASTER) Declare your own Func (…) … EndFunc Create your own library (#include <mine.au3>)
  • 5.  
  • 6.  
  • 7. Thank you  [email_address] Twitter: yo_bj Photo credits Slide 5: http://www.flickr.com/photos/sandcastlematt/2674613479/ Slide 6: http://www.flickr.com/photos/48926352@N00/372863168/ Rest of photos from personal collection, screenshots, & Microsoft Image Gallery

Editor's Notes

  • #2: Hello, fellow PowerPoint folks! If you can read this then you’re good to go. Look in notes section for the accompanying text for the corresponding slides.
  • #3: This is a short disclaimer stating: 1) The purpose of this tutorial is to make you familiar with the basics of AutoIt in order for you to start thinking of the possibilities of using AutoIt in your library 2) I did not get paid by AutoIt to lead this session.
  • #4: AutoIt is an automation scripting language designed exclusively for the Microsoft Windows environment. The language, along with the software tools that you would download from the AutoIt homepage (shown in slide) are distributed under a freeware license. This means while you do not need to pay to use AutoIt, there are certain restrictions in using the software. Read the license before use. Some of the more basic features of AutoIt: 1) BASIC like syntax: Since OML is also structured like VB, AutoIt will be easier to learn once past the syntax differences (see handout for some examples) Even if you do not have OML/VB experience, AutoIt follows the same general programming logic like other languages. 2) Automation of multiple program workflows: AutoIt has the ability of automating tasks in multiple programs, unlike program specific macro tools, like OML in Connextion. 3) GUI Creation: Since AutoIt was built for the Windows environment, AutoIt is able to take advantage of several features in Windows. For example, AutoIt allows users to create their own graphical user interfaces (GUIs). Menus, toolbars, buttons, input windows, text editors – if you have seen it in Windows, you could probably build it using AutoIt. 4) Regular Expressions Support: AutoIt recently added Regular Expression support, making AutoIt more flexible when you need to look for patterns in data/variables. 5) Compiling scripts to standalone .exe files: AutoIt allows you to compile AutoIt files to .exe files, meaning that you do not need AutoIt installed in order to run AutoIt scripts on multiple computers.
  • #5: There are three basic types of functions in AutoIt: 1) Built-in: These are functions that can be used without any special conditions, etc. For example, if I want to send text to notepad, I would just write Send(“hello world”) in my script and the program will know what to do. 2) User defined functions (UDFs): Since AutoIt has a thriving online community of developers and programmers, many of the functions included in the later versions of AutoIt come from the community. However, they are not written into the program like the built in functions. UDFs can be used within a script as long as you call up the corresponding function library that tells the program what that specific UDF does. (see example in slide) 3) Declare your own: A given. Can be done in two ways: either by using the Func()… EndFunc function to declare functions within a script or build your own function library to use the same functions in different scripts. Declare the function library you are using and you should be able to use your own functions like a UDF.
  • #6: Several examples of how AutoIt is being used in other libraries: 1) Cataloging/DB maintenance: These examples come from my own scripts. If you would like a copy of my scripts, please contact me at yoosebj@muohio.edu so I can email you a copy. Demo: http://screencast.com/t/THTw1n9ty This is my first major script with AutoIt. We had a few thousand music LP MARC records that had an invalid |h in the 240 field. However, after closer inspection, there were also some other consistent issues: corrupted 007 fields and older 262/305 fields that needed to be converted to 028/260/300 fields. Because a good portion of the list contained records that had other unique issues, we could not use a batch update to fix the following issues. The script does the following: 1]Copy the bib # from the MS Word list. 2] Paste bib # in Millennium and search for the bib record. 3] Grabs the OCLC # from the bib record and searches OCLC. 4]The db staff person has two choices at this point: 4a] If the record is in bad shape (aka it has more problems beyond the core described above), she can then select “a la cart” and address the issues one step at a time. 4b]If the record only has the core problems, she can then select the express option, which, after clicking on the 001 field, the script will automatically fix the 007, 240/245 |h, 262, and 305 fields. 5] After the record is fixed, the macro saves and closes the records, and brings you back to the main menu. [end script] Please note that the demo does have a Persian Flaw of sorts. The 305/300 field did not have the word “discs” so I had to go back and enter that after the script was done correcting everything else. Otherwise, if it was a “clean” record, the record would have been fixed within 35 seconds. ************** Review lists/create lists, Circulation, Others (Harvey Hahn): http://research.ahml.info/oml/AutoIt.html I highly recommend that you read Hahn’s web site about scripting with AutoIt and III. He does a great job in documenting the trials and errors in dealing with III Millennium’s various quirks when it comes to scripting. I also mention a couple of the major issues when scripting for Millennium on the handout. ************** Loading vendor records: (Christina Hennessey, Systems Librarian, Loyola Marymount University): http://library.lmu.edu/departments/administration/SCIUG_2007_Conference_Presentation_on_Scripting.htm ************** Other uses: RSS feeds for new titles (in conjunction with Perl scripts) – Alan Brown, Libraries System Liaison Officer, Bury Libraries: http://www.burysac.org.uk/iug.php
  • #7: Time to get our hands dirty! Example scripts are on the EGL-IUG website…
  • #8: End The corresponding handout for this presentation can be found at http://slidesha.re/4fEhdf