Open andesco opened 2 weeks ago
(This is not a true Issue but perhaps the “issue” is that this helpful tip is not documented in the readme or wiki.)
Not quite sure how this is superior to the solution that the printer driver offers of creating an alias to /var/spool/pdfwriter/
The reason I haven’t gone your path is because I can’t offer your solution programatically.
Rod
On 11 Nov 2024, at 7:21 am, Andrew E. @.***> wrote:
I have found a great solutions to this:
The files are saved in /var/spool/pdfwriter/. Unfortunately, the security restrictions imposed by macOS on printer drivers mean that it is not possible to change this location. RWTS-PDFwriter wikihttps://github.com/rodyager/RWTS-PDFwriter/wiki
By using Automatorhttps://support.apple.com/en-ca/guide/automator/welcome/mac to create a Folder Actionhttps://support.apple.com/en-ca/guide/automator/aut7cac58839/mac, you can monitor /var/spool/pdfwriter/
Open Automator and create a new Folder Action
Select the YourUserName folder using the PDFwriter shortcut:
Folder Action receives files and folders added to: 📁 username
Add the Move Finder Items action into the workflow.
Set the destination to any folder:
Move Finder Items To: 📁 Documents
The Folder Action will look like the example below. (YourUserName is shown as username in this example.)
Screenshot.2024-11-10.at.2.57.15.PM.png (view on web)https://github.com/user-attachments/assets/2ff052f2-bc44-4a53-b9b5-4608ebfd1670
— Reply to this email directly, view it on GitHubhttps://github.com/rodyager/RWTS-PDFwriter/issues/51, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAKSADIJTM77AEBTZBTW3H3Z7655NAVCNFSM6AAAAABRQROMEGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY2DONRQGEZDGMA. You are receiving this because you are subscribed to this thread.Message ID: @.***>
@rodyager, it is superior for those users who do not want to use a subfolder named <YourUserName>
and an alias.
You may not be inclined to offer this programmatically (including a Folder Action workflow) but it may help to document this alternative.
I have found a great solutions to this:
By using Automator to create a Folder Action, you can monitor your
<username>
folder for new files and automatically move them to a different folder.Open Automator and create a new Folder Action
Choose folder: Other… Hit shift-command-period (⇧⌘ . ) to view hidden files and folders. Select your
username
folder:/var/spool/pdfwriter/username
\ \ Folder Action receives files and folders added to: 📁 usernameAdd the Move Finder Items action to the workflow.
Set the destination to your preferred folder: \ \ Move Finder Items To: 📁 Documents
Save the Folder Action.
The Folder Action will look like this example: