image
image

|


Go Back   macosx.com > Design, Media, Programming & Scripting > Software Programming & Web Scripting

Reply
 
Thread Tools
  #1  
Old January 17th, 2004, 01:23 PM
Fahrvergnuugen's Avatar
I am the law!
 
Join Date: Apr 2001
Location: Galway, NY
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
Fahrvergnuugen is on a distinguished road
Can applescript "watch" a folder & create PDFs from files that appear in it?

I would be awesome to have an action that converted items to PDFs as soon as they appear in a folder. Can an applescript "watch" a folder?

I say watch, because the files are being moved there by a remote user or script - which means the finder isn't involved.
__________________
-Paul Wieland______________
http://www.sickdimension.com
Dual G5 2.0Ghz / 2.5GB Ram / 620 GB HD / 23" CD
Reply With Quote
  #2  
Old January 17th, 2004, 01:49 PM
Arden's Avatar
Don't drink and derive.
 
Join Date: Dec 2002
Location: San Francisco
Posts: 7,742
Thanks: 0
Thanked 0 Times in 0 Posts
Arden is on a distinguished road
To do this, you'd enable the Apple Script as a folder action.
__________________
System:
2.5 GHz MacBook Pro Core 2 Duo, 4 GB RAM, 200 GB hard drive, runs 10.5.4
1.6 GHz iMac G5, 1.5 GB RAM, 250 GB hard drive, runs 10.4.11
iPhone, 4 GB, OS X 2.0.2
Reply With Quote
  #3  
Old January 17th, 2004, 03:20 PM
habilis's Avatar
Ministry of Re-Education
 
Join Date: Nov 2002
Location: Cleveland, OH
Posts: 752
Thanks: 0
Thanked 0 Times in 0 Posts
habilis is on a distinguished road
At work we run an applescript on a G4 dual 1.25GHz web server that opens, checks the contents of a folder, and then closes the folder once every second, if it finds a text file file, it opens it in Quark and flows in the text file on a certain designated business card template using style sheets to alter type and point sizes, from there Quark distills the file into a PDF then instantly uploads it to the end-user so they can see exactly how their business card will look. All controlled by Applescript.

It takes a total of about 5 seconds.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 05:24 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.