← lil'buddy tutorial

The Cookbook

The lil'buddy Cookbook

Short recipes for tool traps that cost an afternoon the first time. Each one is the trap, then the fix. Tap a recipe to open it. When you hit one of these, you can also just tell lil'buddy the recipe's name.

QuickBooks Desktop: "Export to Excel" saves nothingThe report opens in Excel and is not a file yet.

Trap: Export launches Excel with a brand-new, unsaved workbook. Close Excel and the report is gone. In a hosted (remote) session, Save As lands on the remote machine, not yours.

Fix: File, Save As, right after each export, and check the save location is a folder you can actually reach.

QuickBooks Online: the "Schedule online payment" trapIt is not how you record a payment you already made.

Trap: After you save a bill, the button where "Make payment" used to be signs you up to pay that vendor through QuickBooks. There is no setting to hide it.

Fix: Use Mark as paid, or New, Vendors, Pay bills. Both record the payment and leave the money in your hands.

QuickBooks Online: a recurring expense with no billRent, loan payments, subscriptions.

Fix: Fill in an ordinary expense or bill, then click Make recurring at the very bottom. Pick Scheduled if it should post by itself; Reminder waits for you to approve each one.

Bank statement PDFs: check payees hide in the images"No text" does not mean "unreadable."

Trap: Pulling text out of a statement PDF gets the transaction lines but not who each check was written to, because the checks are scanned pictures. It is easy to write off the whole check block as unknown.

Fix: The check images are inside the PDF at full resolution. Ask lil'buddy to pull the images out of the PDF and read them.

Excel in OneDrive: turn off AutoSave before a script writesA crash mid-write gets synced.

Trap: When a script writes to a workbook that lives in a synced folder, a crash halfway through saves a half-written file, and the sync spreads it.

Fix: AutoSave off first, keep a copy, then let the script write. Check dates after the write; script-written dates can land hours off.

A .gdoc file is a pointer, not the documentWhy lil'buddy says a Google Doc is empty.

Trap: On the Drive for desktop drive letter, a Google Doc shows up as a tiny .gdoc file. Opening it as a file fails.

Fix: Download the Doc as .docx and save it where lil'buddy works, or have lil'buddy read it in the browser. More in Google Drive & Docs.

A scanned PDF reads back emptyIt is a picture of text.

Fix: Ask lil'buddy to treat the pages as images and read them, instead of extracting text.

iPhone Shortcuts cannot save to Google Drive by themselvesThe Files app shows Drive; Shortcuts cannot write there unattended.

Fix: Save to iCloud Drive or On My iPhone and move it from there, or leave "Ask Where to Save" on and pick Drive by hand each time.

A browser download sits in Downloads as a strange .tmp fileIt may already be the whole file.

Fix: If the .tmp file's size matches the file you expected, it is the file. Copy it out with the right extension and open it.

Opening a local page at #section fails on WindowsThe # becomes part of the file name.

Fix: Open the plain file, then scroll or use the page's own table of contents.

A .bat file's error exit can come back as successexit /b 1 inside parentheses.

Trap: When a batch file is double-clicked, anything after exit /b 1 in the same ( ) block can turn the failure into exit code 0.

Fix: Put exit /b 1 as the very last thing in its block, or jump to a label at the end of the file that exits.

PowerShell hides the error message a website sent backAll you see is "(401) Unauthorized."

Fix: Re-run the same request with curl.exe; it prints the server's full explanation. Read that before changing anything.

A file's byte count is off by one per lineWindows line endings, not corruption.

Fix: Windows writes two characters at each line end. Compare files by content, not by size.

Working in a folder with no version historyYour only undo is the copy you made first.

Fix: Copy the file before every change and check the copy matches the original. If you later turn the folder into a git repo, write the ignore list first, so nothing private is ever saved into history.

Check a website update by content, not by sizeThe site can serve the old page for a minute.

Trap: Right after you publish, the site can still serve the old file, and the file size never matches your copy because of line endings.

Fix: Wait, reload, and look for a phrase only the new version has.

GitHub Pages serves nothing: main versus masterEvery local check passes.

Fix: In the repo's Pages settings, check which branch is published, and push to that branch.

A phone-width test passes on a page that scrolls sidewaysThe test measured the wrong width.

Fix: Compare the page's scroll width with its client width, not with the window width, and look at the page on a real phone once.

"Not found" from a web fetch is about the fetchThe page may be right there.

Fix: When lil'buddy says a page has nothing on a topic and the exact wording matters, ask it to download the page and read it directly.

Searching for a leaked password needs two passesA line break can hide a match.

Fix: Search for the exact value first. Then search again with a pattern that can cross line breaks, because a sentence wrapped across two lines slips past a one-line search.

← Back to the lil'buddy tutorial