macro

macro — 名詞

1. A short user-defined routine inside a software program that, when triggered, aut

1.名詞B2
釋義

巨集

可自動執行一連串指令的電腦指令

A short user-defined routine inside a software program that, when triggered, automatically carries out a longer series of pre-recorded actions the user would otherwise have to perform step by step.

例句

Diego created a macro that types out his full email signature with a single keystroke.

Diego 建立了一個巨集,只需按一個鍵就能自動打出完整的電子郵件簽名檔。

macro + that-clause for what the macro does

Rather than formatting each table by hand, Jenna wrote a macro to style all of them at once.

Jenna 沒有手動調整每一份報告表格的格式,而是寫了一個巨集,一次就把所有表格套用上相同的樣式。

write a macro to + infinitive purpose

同義詞
  • script

    A broader term; a script is usually a text file with code, while a macro is often recorded by the user's actions.

  • shortcut

    Can refer to any quick way of doing something; a macro is a specific kind of shortcut that runs a sequence of commands.

  • automation routine

    More formal and technical; describes the underlying process rather than the recorded command.

文法句型

create/run/write + a macro

macro + that-clause

macro for + noun/gerund

用法筆記

Frequently used in spreadsheet software (e.g., Microsoft Excel), word processors, and programming editors. A macro is usually activated by a keyboard shortcut or a toolbar button.

常見錯誤

I wrote a macro to send email.' (incomplete)
I wrote a macro that automatically sends a reply when I am out of the office.
💡A macro performs a specific, automated sequence of actions, not a single generic task.
The macro is broken.' (vague)
The macro stops working after the software update.
💡Macros are countable—you can have one macro or several macros.

macro — 形容詞

macro — 字首

macro — 構詞成分