- Aug
- 2,817
- 147
Ref: GitHub - joec4281/NetClip: PowerShell 5.1 script for working with https://clipb.in/
NetClip.ps1 is a PowerShell 5.1 script that allows the sharing of text via the Internet.
NetClip.btm is a TCC v36 .btm that is a wrapper for NetClip.ps1
Please be aware that it's a work-in-progress,
so there may still be some bugs.
In TCC;
In PowerShell 5.1;
GitHub: GitHub - joec4281/NetClip: PowerShell 5.1 script for working with https://clipb.in/
Joe
NetClip.ps1 is a PowerShell 5.1 script that allows the sharing of text via the Internet.
NetClip.btm is a TCC v36 .btm that is a wrapper for NetClip.ps1
Please be aware that it's a work-in-progress,
so there may still be some bugs.
In TCC;
Code:
U:\>netclip
USAGE EXAMPLES:
NetClip -FileIn 'r:\stuff.txt'
NetClip -String 'The quick brown fox jumped over the lazy dog.'
NetClip -List
NetClip -Retrieve 1
NetClip -Retrieve 1 > clip:
In PowerShell 5.1;
Code:
PS E:\utils> help netclip
NAME
e:\utils\NetClip.ps1
SYNOPSIS
Stores, lists, and retrieves public text clips using clipb.in.
SYNTAX
e:\utils\NetClip.ps1 -List [<CommonParameters>]
e:\utils\NetClip.ps1 [-FileIn] <String> [<CommonParameters>]
e:\utils\NetClip.ps1 [-String] <String[]> [<CommonParameters>]
e:\utils\NetClip.ps1 [-Retrieve] <String> [<CommonParameters>]
DESCRIPTION
NetClip.ps1 uploads text to clipb.in, maintains a local list of uploaded
clips, and retrieves clip contents by URL or list number.
The local index is stored at:
%LOCALAPPDATA%\NetClip\clips.json
The local index contains clip names, URLs, and expiration timestamps.
It does not contain clip contents.
Uploaded clips are public and are requested to expire after one day.
RELATED LINKS
https://clipb.in/api
https://jpsoft.com/forums/threads/internet-clipboard.13419/#post-77807
REMARKS
To see the examples, type: "get-help e:\utils\NetClip.ps1 -examples".
-- More --
GitHub: GitHub - joec4281/NetClip: PowerShell 5.1 script for working with https://clipb.in/
Joe