2016-08-22_wot_course_materials

18
Winning on Technicalities | Course Materials 1 of 18 Brief Outline Searches Shortcuts Services Scripting Outline 1. Introduction 2. Principles Simplicity Velocity Continuity 3. Searches Search Operators o Quotes o Booleans o Grouping o Wildcards o Proximity o Document Fields date title court judge o Commands source selectors State: njsa, njac, njr, njre Federal: usc, cfr, fre, frcp, frcrp, frap Shepardization shep: keycite: file-type selectors Examples o WestLawNext o Google Field Operators o Google Commands o Famous Disbarments 4. Shortcuts (Productivity Hacks) Relation to Principles General Hacks o Distractions contravene principles alerts — device; application application selection lookups o Peripheral Selection & Configuration o Security passwords entropy & entropic analysis password policies password generators passphrases

Upload: daniel-thornton

Post on 07-Apr-2017

17 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

1 of 18

Brief Outline

Searches

Shortcuts

Services

Scripting

Outline

1. Introduction

2. Principles

Simplicity

Velocity

Continuity

3. Searches

Search Operators

o Quotes

o Booleans

o Grouping

o Wildcards

o Proximity

o Document Fields

date

title

court

judge

o Commands

source selectors

State: njsa, njac, njr, njre

Federal: usc, cfr, fre, frcp,

frcrp, frap

Shepardization

shep:

keycite:

file-type selectors

Examples

o WestLawNext

o Google Field Operators

o Google Commands

o Famous Disbarments

4. Shortcuts (Productivity Hacks)

Relation to Principles

General Hacks

o Distractions

contravene principles

alerts — device; application

application selection

lookups

o Peripheral Selection & Configuration

o Security

passwords

entropy & entropic analysis

password policies

password generators

passphrases

Page 2: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

2 of 18

Specific Hacks

o Operating-System Level

window manipulation

cursor manipulation (navigation)

image manipulation

application selection

symbol selection

encoding

character map

§, ¶, et cetera

o File-System Level

folders

files

creation

naming

o ISO 8601 date formatting

o character safety

properties

shortcuts & symbolic links

o Application Level

Browsers

Office

universal functions

document inspection

quick parts

Word

Outlook

Excel

PowerPoint

Adobe Reader

5. Services (Apps)

Relation to Principles

Practicalities

o jargon

o “the cloud”

Web Apps

o archivers

o time entry

o case management

o document mgt (SharePoint)

Desktop Apps

o Adobe Reader/Acrobat

o Notepad

o Paint

6. Scripting (Computer Programming)

What is a program?

What is a computer program?

What is programming?

Shortcuts & Symbolic Links

Scripting

Macros

Batch Files

Page 3: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

3 of 18

Search Operators Quick Reference

Operator Lexis Advance WestLaw Next

Quotes “qualified immunity”

Booleans not, and, or

Grouping (qualified or absolute) and immunity

Wildcards: Root Expander !

* !

Wildcards: Single Character *

? *

Proximity: Within x Words w/x /x

Proximity: Within x Words

and in the order specified pre/x +x

Proximity: Within Same Sentence w/s

/s

w/s

/s

Proximity: Within Same Paragraph w/p

/p

w/p

/p

Fields: Judge judges(smith) ju(smith)

Fields: Title/Caption title(smith v. jones) ti(smith v. jones)

Fields: Date > 01/01/2010 and

< 01/01/2011

da(aft 01-01-2010 and

bef 01-01-2011)

Citecheck shep:142nj520 keycite:142nj520

Page 4: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

4 of 18

Shortcuts Quick Reference

Operating System

Shortcut Result

F2 universal rename

RIGHT-CLICK, R universal properties

SHIFT + F10 universal right click

WINDOW + [1-4] select task

WINDOW + arrows max/min/snap current window

WINDOW + B; ARROWS change focus to system tray; arrows to select task

WINDOW + D toggle desktop (shows desktop, hiding all windows)

WINDOW + E open explorer

WINDOW + F search file system

WINDOW + L lock screen

WINDOW + P screen display and projection options

WINDOW + R run application

WINDOW + T page through tasks

Operating System — Application Selection

Shortcut Result

WINDOW + R, cmd run Command Prompt

WINDOW + R, winword run Word

WINDOW + R, excel run Excel

WINDOW + R, powerpnt run PowerPoint

WINDOW + R, notepad run Notepad

WINDOW + R, charmap run Character Map

WINDOW + R, mspaint run Paint

WINDOW + R, iexplore run internet browser

WINDOW + R, control run Control Panel

WINDOW + R, taskmgr run Task Manager

WINDOW + R, perfmon run Performance Monitor

WINDOW + R, ncpa.cpl run Network Connections

WINDOW + R, desk.cpl run Display Settings

WINDOW + R, sysdm.cpl run System Settings

WINDOW + R, dxdiag run DirectX Diagnostic Tool

WINDOW + R, intl.cpl run Date/Time Settings

WINDOW + R, [name] run anything on system’s path

WINDOW + R >> full list http://superuser.com/a/217506

Page 5: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

5 of 18

Window Manipulation

Shortcut Result

WINDOW + LEFT/RIGHT snap window

ALT + SPACE window menu

ALT + SPACE, X maximize window

ALT + SPACE, N minimize window

ALT + SPACE, R restore window

Navigation

Shortcut Result

ARROWS navigation

CTRL + ARROWS rapid navigation

SHIFT + LEFT/RIGHT make selection

CTRL + SHIFT + LEFT/RIGHT increase selection to next word

CTRL + SHIFT + PGUP/PGDN select previous/next page

CTRL + SHIFT + HOME select cursor to beginning

CTRL + SHIFT + END select from cursor to END

Symbols

Code Symbol

ALT + 0167 §

ALT + 0182 ¶

ALT + 0151 —

ALT + 0007 | ALT+0149 •

ALT+1 | ALT+0001 ☺

File System

Shortcut Result

ALT + F, W, F new folder

ALT + F, W, S new shortcut

ALT + F, W, T new text document

RIGHT-CLICK, W, F new folder

RIGHT-CLICK, W, S new shortcut

RIGHT-CLICK, W, T new text document

Page 6: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

6 of 18

Applications Generally

Shortcut Result

F1 help

CTRL + C copy

CTRL + V paste

CTRL + F find

CTRL + H find & replace

CTRL + P print

CTRL + A select all

HOME / END go to top / bottom

SHIFT + F10 context menu

SHIFT + DELETE permanently delete

Browsers

Shortcut Result

F11 fullscreen

CTRL + L give focus to address bar

CTRL + J view downloads

CTRL + T new tab

CTRL + N new window

CTRL + TAB next tab

CTRL + SHIFT + TAB previous tab

CTRL + SHIFT + T / N new incognito/private tab/window

Browsers — Web Forms

Shortcut Result

TAB next field

SHIFT + TAB previous field

SPACE toggle checkbox

toggle radio button

Office Generally

Shortcut Result

CTRL + ALT + V paste special

F7 spellcheck

F3 complete QuickPart

ALT, F, A, TAB, P, ENTER save as PDF

ALT, F, I, I, I, I inspect document

Page 7: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

7 of 18

Outlook

Shortcut Result

ALT, F, I, T, M, M view mailbox size

CTRL + ENTER send current message

CTRL + N new e-mail / appt / task

CTRL + R reply to message

CTRL + SHIFT + R reply all to message

CTRL + F forward message

CTRL + 1 switch to inbox

CTRL + 2 switch to calendar

CTRL + 3 switch to contacts

CTRL + 4 switch to TODO list

CTRL + 5 switch to notes

Excel

Shortcut Result

F2 edit cell

CTRL + D duplicate cell above

CTRL + 1 format cells

Powerpoint

Shortcut Result

F5 view slideshow

B toggle black screen

W toggle white screen

Adobe Reader

Shortcut Result

CTRL + H fullscreen

CTRL + L reading mode

ALT, V, P, S one-page view

ALT, V, P, P two-page view

Page 8: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

8 of 18

Word

Shortcut Result

ALT, W, I page-width view

ALT, W, 2 two-page view

ALT, S, F insert footnote

ALT, N, B insert pagebreak

CTRL + Z undo

CTRL + Y redo

CTRL + F5 move focus to most-recent edit

CTRL + 1 single-spaced paragraph

CTRL + 2 double-spaced paragraph

CTRL + D font

CTRL + F3 change case

ALT, O, P paragraph properties

ALT, S, F insert footnote

ALT, S, P insert caption

ALT, N, R, F insert cross-reference

CTRL + SHIFT + SPACE insert non-breaking space

CTRL + SHIFT + DASH insert non-breaking dash

ALT, S, A, DOWN, ENTER add to TOC

ALT, R, C new comment

ALT, N, B page break

ALT, H, B, Z horizontal rule

ALT, N, D insert date

ALT, N, Q, F insert field (e.g., page number)

CTRL + SHIFT + E toggle track changes

CTRL + ALT + F insert footnote

ALT, R, M, C diff/redline

ALT, R, M, M combine multiple sets of revisions

Page 9: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

9 of 18

Scripting — Windows Batch Documentation

General Documentation

Tutorial — http://commandwindows.com/batch.htm

Tutorial — https://en.wikibooks.org/wiki/Windows_Batch_Scripting

Tutorial — https://technet.microsoft.com/en-us/library/bb490869.aspx

A-Z Reference — http://ss64.com/nt/

A-Z Reference — https://technet.microsoft.com/en-us/library/bb490890.aspx

Documentation for Demonstrated Features

ECHO

parameters

strings — concatenation

strings — substrings

escape sequences

START

Internet Explorer parameters

PAUSE

EXIT

Scripting — Javascript Documentation

General Documentation

https://developer.mozilla.org/en-US/docs/Web/JavaScript

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide

Documentation for Demonstrated Features

Variables

String.replace()

String.substring()

Location.replace()

Modulus (%) Operator

new Date()

Date.getFullYear()

Page 10: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

10 of 18

Scripting Examples — Custom Search Engines

Custom Search — General Method

Choose a site or search you use often.

Copy the URL of your most-recent search from your chosen site.

Replace your search query with variable %s

Choose an easy-to-remember keyword.

Enter the keyword and target URL into your browser’s settings.

Internet Explorer: go to http://www.enhanceie.com/ie/searchbuilder.asp and

follow the directions to create and install your custom search engine.

Custom Search — Acronyms

description = returns a list of acronyms associated with your query

keyword = a

target = https://www.acronymfinder.com/%s.html

example = a njac

Custom Search — Dictionary

keyword = d

target = https://www.google.com/search?q=define%3A%s

example = d love

Custom Search — Thesaurus

keyword = t

target = http://www.thesaurus.com/browse/%s

example = t love

Custom Search —"I'm Feeling Lucky"

description = loads Google's first result for your query

keyword = lucky

target = http://www.google.com/search?btnI&q=%s

example = lucky nj oag

Page 11: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

11 of 18

Custom Search — Federal Rules of Evidence

keyword = fre

target = https://www.law.cornell.edu/rules/fre/rule_%s

example = “fre 403” versus “fre 609”

Custom Search — Federal Rules of Civil Procedure

keyword = frcp

target = https://www.law.cornell.edu/rules/frcp/rule_%s

example = frcp 12

Custom Search — New Jersey Statutes

keyword = njsa

target = http://njlaw.rutgers.edu/cgi-bin/njstats/showsect.cgi?section=%s&actn=getsect

example = njsa 1:1-1

Custom Search — New Jersey Rules of Court

keyword = rule

target = http://www.judiciary.state.nj.us/rules/r%s.html

example = rule 4-17

Custom Search — New Jersey Rules of Evidence

keyword = njre

target javascript:

var s='%s';

var url='http://www.judiciary.state.nj.us/mcs/rules/part%p/part%s.html#rule%s';

var query=url.replace('%p',s.substr(0,s.length-2)).replace('%s',s);

location.replace(query);

example = “njre 403” versus “njre 609”

Custom Search — DOL DMS (SharePoint)

keyword = dms

target = http://dolarchive.rjhughes.oag.lps.state.nj.us/search/results.aspx?k=ALL(%s)%20(scope%3A%22DOL%20DMS%22)

example = dms brief qualified immunity

Page 12: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

12 of 18

Custom Search —DOL Matter Lookup — “dol yy/yy-#####”

description = given a matter’s year and number, loads the matter’s SharePoint folder

keyword = dol

target = http://lpsdms.rjhughes.oag.lps.state.nj.us/dol/dms/Lists/Matters%2020%s

example = dol 16/16-50012

Custom Search — DOL Matter Lookup — “dol yy-#####”

description = given a matter’s year and number, loads the matter’s SharePoint folder

keyword = dol

target javascript:

var url = 'http://lpsdms.rjhughes.oag.lps.state.nj.us/dol/dms/Lists/Matters%2020%y/%s';

url = url.replace('%y','%s'.substr(0,2));

location.replace(url);

example = dol 16-50012

Page 13: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

13 of 18

Scripting Examples — Links & Batch Scripts

General Instructions — Placing Your Scripts on Your System’s Path

Open control panel (WINDOW + R, control)

Select “User Accounts”

Select “Change my environment variables”

Page 14: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

14 of 18

Select PATH, then click “Edit...”

Add your script folder (e.g., c:\scripts) to the end of “Variable value.” Be sure to

include a semicolon before your folder path if necessary.

Click “OK” to close the Edit User Variable window.

Click “OK” to close the Environment Variables window.

Page 15: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

15 of 18

General Instructions — Using the Example Code to Create Scripts

Open Notepad (WINDOW + R, notepad)

Copy example code from this guide to your Notepad window.

Modify the example code based on the file and folder locations you wish to use.

For some examples, modify the code based on where programs and files are

located on your system.

Save the script as “[name].bat” in your scripts folder.

Scripting Examples — Text Documents

Name c.bat

Description Open the given text file; in this example, ‘c’ for “contacts”

Code start "" "c:\windows\System32\notepad.exe" c:\exp\contacts.txt

Scripting Examples — Templates

Name letter.lnk

Target c:\OAG\_forms\letters\DFT_general_letter.docx

Description Opens letter template on office letterhead

Name notes.bat

Description Open case notes template

Code start "" "c:\windows\System32\notepad.exe" c:\templates\_t.txt

Scripting Examples — Desktop Apps

Name i.lnk

Target c:\windows\system32\mspaint.exe

Description Opens Paint

Name n.lnk

Target c:\windows\System32\notepad.exe

Description Opens Notepad

Page 16: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

16 of 18

Scripting Examples — Web Apps

Name cms.bat

Description Opens the DOL Case Management System in Internet Explorer

Code

echo off

start "" "c:\Program Files\Internet Explorer\iexplore.exe"

http://199.20.81.15/forms/frmservlet?config=casetrk

exit

Name time.bat

Description Opens the DOL Timekeeping System in Internet Explorer

Code

echo off

start "" "c:\Program Files\Internet Explorer\iexplore.exe"

http://199.20.81.15/forms/frmservlet?config=dagtimekeep

exit

Scripting Examples — Combination Scripts

Name nn.bat

Description

I run this script to start my day. It opens the following:

My billing log in Notepad

My TODO list in Notepad

Outlook

Internet Explorer

Code

start "" "c:\windows\System32\notepad.exe" c:\OAG\_time\2016.txt

start "" "c:\windows\System32\notepad.exe" c:\TODO.txt

start "" "c:\program files\Microsoft Office\Office14\OUTLOOK.EXE"

start "" "c:\Program Files\Internet Explorer\iexplore.exe"

exit

Scripting Examples — Custom Search Engines

Name a.bat

Description Returns a list of acronyms associated with your query

Example a njac

Code

echo off

set url=https://www.acronymfinder.com/%1%.html

start "" "c:\Program Files\Internet Explorer\iexplore.exe" %url%

exit

Page 17: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

17 of 18

Name d.bat

Description Looks up your query using Google’s dictionary

Example d love

Code

echo off

set url=https://www.google.com/search?q=define%%3A%1%

start "" "c:\Program Files\Internet Explorer\iexplore.exe" %url%

exit

Name t.bat

Description Returns synonyms for your query using Thesaurus.com

Example t love

Code

echo off

set url=http://www.thesaurus.com/browse/%1%

start "" "c:\Program Files\Internet Explorer\iexplore.exe" %url%

exit

Name lucky.bat

Description Loads Google's first result for your query

Example lucky nj oag

Code

echo off

set url="http://www.google.com/search?btnI&q=%*%"

start "" "c:\Program Files\Internet Explorer\iexplore.exe" %url%

exit

Name fre.bat

Description Federal Rules of Evidence

Example fre 403

Code

echo off

set url=https://www.law.cornell.edu/rules/fre/rule_%1%

start "" "c:\Program Files\Internet Explorer\iexplore.exe" %url%

exit

Name frcp.bat

Description Federal Rules of Civil Procedure

Example frcp 12

Code

echo off

set url=https://www.law.cornell.edu/rules/frcp/rule_%1%

start "" "c:\Program Files\Internet Explorer\iexplore.exe" %url%

exit

Page 18: 2016-08-22_WoT_course_materials

Winning on Technicalities | Course Materials

18 of 18

Name njsa.bat

Description New Jersey Statutes

Example njsa 1:1-1

Code

echo off

set url="http://njlaw.rutgers.edu/cgi-bin/njstats/showsect.cgi?section=%1%&actn=getsect"

start "" "c:\Program Files\Internet Explorer\iexplore.exe" %url%

exit

Name rule.bat

Description New Jersey Rules of Court

Example rule 4-17

Code

echo off

set url=http://www.judiciary.state.nj.us/rules/r%1%.html

start "" "c:\Program Files\Internet Explorer\iexplore.exe" %url%

exit

Name njre.bat

Description New Jersey Rules of Evidence

Example njre 403

Code

echo off

set rule=%1

set part=%rule:~0,-2%

set url=http://www.judiciary.state.nj.us/mcs/rules/part%part%/part%rule%.html#rule%rule%

start "" "c:\Program Files\Internet Explorer\iexplore.exe" %url%

exit

Name dms.bat

Description Queries the DOL DMS, returning only documents that include all

of your query terms.

Example dms brief qualified immunity

Code

echo off

set url="http://dolarchive.rjhughes.oag.lps.state.nj.us/search/results.aspx?k=ALL(%*)%%20(scope%%3A%%22DOL%%20DMS%%22)"

start "" "c:\Program Files\Internet Explorer\iexplore.exe" %url%

exit

Name dol.bat

Description Loads the SharePoint matter folder associated with the DOL

matter number you enter.

Example dol 16-50012

Code

echo off

set number=%1

set year=%number:~0,2%

set url=http://lpsdms.rjhughes.oag.lps.state.nj.us/dol/dms/Lists/Matters%%2020%year%/%number%

start "" "c:\Program Files\Internet Explorer\iexplore.exe" %url%

exit