3 ms·
Yes, Mac apps have access to the clipboard; that's why they can paste. Is Windows or Linux different? Honest question. Please do not give Apple ideas for a "Ap
by ridiculous_fish 7y ago
Yes, Mac apps have access to the clipboard; that's why they can paste. Is Windows or Linux different? Honest question.
Please do not give Apple ideas for a "App would like to access your clipboard" dialog.
- brigandish 7y agoWhat's wrong with the system being push instead of pull? On this key combination (default cmd+V), copy the data stored in this clipboard to the currently active app's own paste buffer, which will then handle inserting the data vs All apps can read and write to the clipboard at all times World readable and writable files that often carry sensitive information sounds like a stupid idea to me.
- frosted-flakes 7y agoBecause the clipboard is not only accessed with the keyboard. Programs need to be able to access the clipboard so that when the yser presses the "paste" button the application can grab that data and insert it.
- brigandish 7y agoThe clipboard is a program. Why can the applications that want the data not make an API or file available that the clipboard uses to pass the data into, and then the app does what it will with the data? e.g. echo "this is on the clipboard" | cat - cat doesn't grab anything, it receives via a standard API, both its own and the pipe. Now imagine echo is a clipboard program that exposes no API that cat can use to access data at cat's behest. Note: As this was informative I hereby declare this a non-useless use of cat.