Unplug Your Mouse Workflow Automation with AutoHotKey Andrew Weidner Robert Wilson.

Slides:



Advertisements
Similar presentations
Welcome to the Whats New in ZoomText 9.18 Webinar! July 28, 2009.
Advertisements

Quick Tips What You Always Wanted to Know About Office But Were Afraid to Ask Deb Hanna West Shore Community College
W INDOWS XP, T IPS AND T RICKS Oswaldo Bolivar 09/29/2010.
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 2Managing and Integrating Data and the Excel Environment Chapter 7Automating Repetitive Tasks.
Microsoft Word 2010 Lesson 1 Word Lesson 1 presentation prepared by Kathy Clark (Southside H.S. IT Academy Teacher at Chocowinity, NC). Content from Microsoft.
By Sarah Kamal.  Start Word and understand the ways to view your document.  Enter text in a document and navigate a document.  Use Backspace and Delete.
Adobe Photoshop CS Design Professional ADOBE PHOTOSHOP CS GETTING STARTED WITH.
Copyright 2007, Paradigm Publishing Inc. POWERPOINT 2007 CHAPTER 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Create Presentation Open, Save, Run, Print, Close,Delete.
Web Page: // The Windows XP Textbook by Stewart Venit Standard Edition.
Basic Editing Lesson 2- Part 2. Navigating and Searching Through a Document Find command options, the mouse, scroll bars, and various keystroke and keyboard.
Key Applications Module Lesson 12 — Word Essentials
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Microsoft Word Basics. Opening Screen Parts Title Bar Displays the name of the program and the current file Contains the Quick Access Toolbar Contains.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 22 Macros.
Chapter 2 Creating a Research Paper with References and Sources Microsoft Word 2013.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 7 Move and Copy.
Learning With Computers II (Level Orange) ©2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly.
1 2 Lab 2: Organizing Your Work. 2 Competencies 3 After completing this lab, you will know how to: 1. Use Explorer to manage files. 2. Copy files. 3.
Introduction to MS WORD.
Word Lesson 2 Basic Editing
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
© Paradigm Publishing Inc. MICROSOFT WINDOWS XP MAINTAINING FILES AND CUSTOMIZING WINDOWS Section 2.
Key Applications Module Lesson 21 — Access Essentials
Digital curation activities enhance access and retrieval, maintain quality, add value, and facilitate use and re-use over time. This poster demonstrates.
Basic Editing Lesson 2.
® Microsoft Access 2010 Tutorial 12 Managing and Securing a Database.
Computer Skills /1436 Department of Computer Science Foundation Year Program Umm Alqura University, Makkah Place photo here 1.
© 2010 Pearson Education, Inc. | Publishing as Prentice Hall1 Computer Literacy for IC 3 Unit 2: Using Productivity Software Chapter 1: Starting with Microsoft.
Ekambharam. p. WWindows key + Other keys GGeneral keys.
CMPF124: Basics Skills for Knowledge Workers Manipulating Windows GUI.
Basic Editing Lesson 2.
Chapter 23. Copyright 2003, Paradigm Publishing Inc. CHAPTER 23 BACKNEXTEND 23-2 LINKS TO OBJECTIVES Record, Run, Pause, and Delete Macros Record, Run,
Final Review Word Window Basic Functions Editing Formatting Business Documents Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400 Q $500 Final.
Microsoft Word Level 1 Michael Carco. Word Level 1 Agenda  Word Basics  Navigating in a Document  Inserting and Modifying Text  Creating and Modifying.
Word Lesson 2 Basic Editing
Lesson 1 - Understanding the Word Window and Creating a New Document
Chapter 1 Getting Started with Adobe Photoshop CS4.
Editing Documents Lesson 2 – Part 1 CLASS 1. Do Now (Class 1): Log-In Write name, period, & class days on notes Prepare writing utensil Go to our class.
Introduction to Word Processing.  Learn uses of word-processing software  Differentiate between typewriter and word- processing software  Explore various.
1. Chapter 1 Creating, Printing, and Editing Documents.
Editing Documents Lesson 2. Editing Involves: Adding Deleting Changing Moving Correct errors Refine the appearance of the document.
Microsoft Word Screen Parts
1 After completing this lesson, you will be able to: Open a file. Navigate through a document. Scroll through a document. Insert text in a document. Select.
Inserting Hyperlinks  Purpose : Enables viewers to click the link and move directly to a slide  Directions : Make one link on slide one to move to each.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft® Excel 2013.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Word 2010 © 2011 The McGraw-Hill Companies,
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Office Fundamentals Robert Grauer,
Text Basics It's important to know how to perform basic tasks with text when working in a word processing application. In this lesson, you'll learn the.
XP New Perspectives on Creating Web Pages With Word Tutorial 1 1 Creating Web Pages With Word Tutorial 1.
 The clipboard is a temporary storage area  The cut or copy commands place information on the CLIPBOARD  There are two types of clipboards: – System.
Key Applications Module Lesson 12 — Word Essentials Computer Literacy BASICS.
Chapter 8. Copyright 2003, Paradigm Publishing Inc. CHAPTER 8 BACKNEXTEND 8-2 LINKS TO OBJECTIVES Delete, Move, Copy, and Paste Text Delete, Move, Copy,
1 Word Lesson 2 Basic Editing Microsoft Office 2010 Introductory Pasewark & Pasewark.
Learning With Computers I (Level Green) ©2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly.
Lesson Use the Windows Start button 2 Use a desktop shortcut 3 Used Most Frequently Used Programs on left side of Start Menu 4 Right-click a Word.
Fundamentals of Windows Mouse n 4 Basic Operations: –Pointing –Clicking –Double Clicking –Dragging.
Shelly Cashman: Microsoft Word 2016
Excel Tutorial 8 Developing an Excel Application
Microsoft Word 2016 Lesson 1.
Microsoft Word Illustrated
Fastest way for already created documents
Microsoft Word 2010 Lesson 1.
CREATING, PRINTING, AND EDITING DOCUMENTS
Chapter 2 Creating a Research Paper with References and Sources
Key Applications Module Lesson 12 — Word Essentials
Chapter 4.
Key Applications Module Lesson 12 — Word Essentials
Shelly Cashman: Microsoft Windows 10
HIBBs is a program of the Global Health Informatics Partnership Learning the Basics of Microsoft Word 2019 and Microsoft office support TFN
Presentation transcript:

Unplug Your Mouse Workflow Automation with AutoHotKey Andrew Weidner Robert Wilson

Mice make simple things easy and complex things impossible.

Mice are useful and fun, but they tend to slow down repetitive file management tasks. Do things faster with your keyboard.

Keyboard Optimization: why type fifty-two keys when you can do the same thing with two? (Ctrl + 4)

Overview Keyboard Shortcuts AutoHotkey Scripts Tools & References Demonstration

Keyboard Shortcuts Windows Explorer Tab = cycle fields (add Shift to reverse) Alt + Tab = application switcher Enter = open selected file/folder Backspace = return to parent folder Alt + F + M = rename selected file/folder (also F2) Alt + F + W + F = create a new folder Home/End = go to first/last file

Keyboard Shortcuts ACDSee Viewer Page Down = next image Page Up = previous image (NumPad) * = fit image to window (NumPad) + = zoom in (NumPad) - = zoom out Arrow Keys = move around the image Home/End = go to first/last image

Keyboard Shortcuts Mozilla Firefox Ctrl + T= open new tab Ctrl + Tab= cycle tabs (add Shift to reverse) Alt + Left= go to previous page (also Backspace) Ctrl + L= focus on address bar Tab= cycle links (add Shift to reverse) Arrow Keys= scroll through the page Ctrl + B= show/hide bookmarks sidebar

AutoHotkey Scripts Simple: another Enter key ; plain text file with.AHK extension ; comments begin with a semicolon ; define the hotkey: Alt + a !a:: ; define the action Send, {Enter}

AutoHotkey Scripts Simple: type some text ; hotkey: Ctrl + 1 ^1:: ; use the ` symbol before a literal comma ; `n inserts a new line, `t inserts a tab Send, Sincerely`,`n`t

AutoHotkey Scripts Complex: create a folder ; hotkey: Win + k #k:: Send, {AltDown}f{AltUp} Sleep, 200 Send, w Sleep, 200 Send, f

AutoHotkey Scripts Complex: rename a file ; hotkey: Ctrl + Alt + r ^!r:: Send, {F2} Sleep, 200 Send, {Home} Sleep, 200 Send, 2013

AutoHotkey Scripts Complex: paste a file in multiple folders Pause::Pause ; pause script with the Pause key !v:: Send, {CtrlDown}v{CtrlUp} sleep, 400 Loop { Send, {Backspace} Sleep, 1400 Send, {Down} Sleep, 400 Send, {Enter} Sleep, 800 Send, {CtrlDown}v{CtrlUp} Sleep, 400 }

AutoHotkey Scripts Complex: open with Photoshop NumpadDot & NumpadEnter:: ClipMem = %Clipboard% ; save current clipboard value clipboard = Send, ^c ; copy the file name ClipWait ; insert the file name at the end of the Photoshop Run command Run, C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Photoshop.exe %clipboard% clipboard = %ClipMem% ; restore the original clipboard value Return

AutoHotkey Scripts Application: ETD_Metadata Finds keywords in author-provided metadata and enters them in an XML file.

ETD Metadata: Part 1 #Home:: DefinedAddress = DefinedKeywords = KeywordMeta = Clipboard = SendInput, {F4}{ControlDown}a{ControlUp} sleep, 200 Send ^c ClipWait Sleep, 100 DefinedAddress = %clipboard% SetWorkingDir, %DefinedAddress% Run, Wordpad.exe index.docx WinWaitActive, index Open author-provided metadata  Declare blank variables for future use  Copy file path  Assign file path to variable  Open index.docx file in Wordpad

ETD Metadata: Part 2 Keywords: Sleep, 100 clipboard = SendInput, {CtrlDown}f{CtrlUp} WinWaitActive, Find Sleep, 100 SendInput, Keywords Sleep, 100 SendInput, {Enter}{Esc} Sleep, 100 SendInput, {Tab} Send ^c ClipWait DefinedKeywords = %clipboard%  Function title  Open Find dialog  Type ‘Keywords’  Copy text  Store text in variable for later use Find Keywords

ETD Metadata: Part 3 /* Comma + space occurrences in DefinedKeywords variable are replaced with Tab so keywords are sent to appropriate fields later */ StringReplace, DefinedKeywords, DefinedKeywords, `,%A_Space%, %a_tab%, all ; create window for keyword input, separated into individual variables KeywordWindow: Gui, 30:+AlwaysOnTop Gui, 30:Add, Text, x6 y6 w100, Keyword1: Gui, 30:Add, Edit, x6 y+5 w100 vKeyword1 Gui, 30:Add, Text, x6 y6 w100, Keyword2: Gui, 30:Add, Edit, x6 y+5 w100 vKeyword2 ; code repeats to Keyword10 Create GUI for Keyword Input

ETD Metadata: Part 4 ; submit each field as a defined variable: Keyword1-10 Gui, 30:Add, Button, x6 default, OK Gui, 30:Show,, Keywords Sleep, 100 WinActivate, Keywords SendInput, %DefinedKeywords% Sleep, GuiClose: 30ButtonOK: Gui, 30:Submit Send Keywords  Create OK Button  Send formatted keywords  Close Window

ETD Metadata: Part 5 IfExist, C:\Program Files\jEdit\jedit.exe Run, C:\Program Files\jEdit\jedit.exe metadata.xml Else Run, C:\Program Files\jEdit\jedit.bat metadata.xml WinWait, jEdit Sleep, 1000 SendInput, ^{Home} Sleep, 200 Send, {ControlDown}f{ControlUp} Sleep, 200 Open Metadata XML File  Open metadata.xml in jEdit (.exe or.bat)  Wait for jEdit to load the file  Move to top of file  Open Search window

 Wait for Search window to open  Search for ‘#Keywordmeta’  Close Search window ‘#Keywordmeta’ is highlighted ETD Metadata: Part 6 Prepare for Keyword Entry WinWait, Search And Replace, IfWinNotActive, Search And Replace,, WinActivate, Search And Replace, WinWaitActive, Search And Replace, SendInput, {#}{ShiftDown}k{ShiftUp}eywordmeta{Enter} Sleep, 200 SendInput, {Esc}  Types ‘#Keywordmeta’

ETD Metadata: Part 7 If (Keyword1 <> "") SendInput, %Keyword1% Sleep, 100 If (Keyword2 <> "") SendInput, `r %Keyword2% Sleep, 100 ; code repeats to Keyword10 Enter Keywords  Send keywords stored in variables (IF they exist!)

Tools & References AutoHotkey Recorder: produces script code Mobile AutoHotkey: use on any Windows system AutoIt Window Spy: screen coordinates & title info Website: Documentation: Forum:

Demonstration ETD_Metadata (rw) SuperPaste (rw) OpenWithPhotoshop (rw) TDNP_Microfilm (aw) NewspaperNotes (aw) DashboardTools (aw)