跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[程序员] 巧妙实现 iOS 和 Windows 剪贴板双向同步

发表于

微信输入法有一个剪贴板同步的功能,还挺好用的,但是我不喜欢微信输入法,但又想体验下剪贴板同步,就研究了一下。

原来 ios 快捷指令提供了剪贴板的一些操作,例如获取剪贴板内容和设置剪贴板内容,还提供了一个自动化,通过启动某个 APP 和关闭某个 APP 来触发这个自动化。

iPhone 同步: Python 实时获取 Windows 剪贴板是否有新内容 -> POST 给服务器 -> 打开某个 APP 和关闭即可触发快捷指令获取服务器的剪贴板内容 -> 获取成功 -> 设置手机的剪贴板。

Windows 同步:打开某个 APP 和关闭即可触发快捷指令个人自动化,获取手机的剪贴板内容 -> POST 给服务器 -> Python 监听服务器内容变动 -> 设置 Windows 剪贴板

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.