>
> Yesterday I found a CUPS-PDF printer and then I set my printing prefs in
> BBEdit then proceeded to open a large batch of files. Command P, Enter,
> Command W, Command P, Enter, Command W, Command P, Enter, Command W, Command
> P, Enter, Command W, Command P, Enter, Command W...


Any time you find yourself hitting the same key combinations 200 times in a
row, consider using AppleScript and System Events:

repeat 200 times
tell application "System Events"
keystroke "p" using command down
keystroke return
keystroke "w" using command down
end tell
end repeat

It's not the most elegant solution to this problem, but it's better than
doing it by hand!








On Tue, Jan 25, 2011 at 11:10 AM, Wes Plate <[email protected]> wrote:
> Thank you.
>
> Yesterday I found a CUPS-PDF printer and then I set my printing prefs in
BBEdit then proceeded to open a large batch of files. Command P, Enter,
Command W, Command P, Enter, Command W, Command P, Enter, Command W, Command
P, Enter, Command W, Command P, Enter, Command W...
>
> But your idea works better, dragging the files into the CUPS-PDF printer
queue.  I first needed to change the default app of all of my text files to
BBEDit, as they were associated with another application, but then it worked
just fine.  The output PDFs retain the name of the original file, which is
helpful, I just use A Better Finder Renamer to fix up the PDF name exactly
as I want it.
>
> --
> Wes Plate
>  [email protected]
>  http://www.automaticduck.com/
>
> On Jan 25, 2011, at 3:13 AM, stetner wrote:
>
>> One method would be to go to system preferences, pick your printer,
>> 'open print Queue' and then drag and drop the files onto the lower
>> list area.
>>
>> Caveat, I have not tried with 200 files ;)
>>
>>
>> On Jan 25, 10:23 am, Wes Plate <[email protected]> wrote:
>>> I have nearly 200 text files I would like to print (using BBEdit) to
>>> PDF with some settings like a watermark and headers enabled. Is anyone
>>> familiar with an AppleScript or droplet solution that could help me
>>> with this?
>>>
>>> Thanks.
>> =
>
> --
> You received this message because you are subscribed to the
> "BBEdit Talk" discussion group on Google Groups.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<bbedit%[email protected]>
> For more options, visit this group at
> <http://groups.google.com/group/bbedit?hl=en>
> If you have a feature request or would like to report a problem,
> please email "[email protected]" rather than posting to the group.
> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
>

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to