Skip to content

jimyag/mactools

Repository files navigation

mactools

Description

Some small tools implemented using macdriver.

Usage

install task

Refer to Task official documentation

build

task 

run

task run

Parsing timestamps

It supports timestamps in seconds (10 digits), milliseconds (13 digits), microseconds (16 digits), hectonanoseconds (17 digits), and nanoseconds (19 digits) formats.

For example, 16882053392384800 is a timestamp in the hectonanoseconds format, which corresponds to "2023-07-01 17:55:39" in human-readable format.

Copy the timestamp to the clipboard, and the app will parse it and send a notification.

parse timestamp

Get ip info

Copy the ip to the clipboard, and the app will parse it and send a notification.

get ip

If you want to use a custom method to parse the clipboard content, please refer to parse_ip and timestamp_handle for the implementation

Expected or realized functions

  • clipboard history
  • Parsing timestamps to send notifications
  • Parse ip address to send notification
  • Custom function

Releases

No releases published

Packages

No packages published