Applescript question

LHoffart at afmidwest.com LHoffart at afmidwest.com
Wed Mar 5 13:45:43 CST 2008


Sorry I not understanding
I'm wanting to print all the jpg files in the folder "PRINT PROOF"
I tried the following an each has an error

tell application "Preview"
        print
        TheFiles to list folder "Public: Weekly Slicks:  Hot Folders:PRINT 
PROOF" without invisibles
end tell

tell application "Preview"
        Print "Public: Weekly Slicks:  Hot Folders:PRINT PROOF"
        end tell
         
 
tell application "Preview"
        Print set TheFiles to list folder "Public: Weekly Slicks:  Hot 
Folders:PRINT PROOF" without 
invisibles
        end tell




Lorenz D. Hoffart
AFFILIATED FOODS MIDWEST
1301 Omaha Ave
PO Box 1067
Norfolk, NE 68702-1067
402-371-0555 ext. 521
Fax 402-379-3170
lhoffart at afmidwest.com




Dave Balderstone <dave.balderstone at producer.com> 
Sent by: creator-bounces at wacondatrader.com
03/05/08 11:48 AM
Please respond to
creator at wacondatrader.com


To
creator at wacondatrader.com
cc

Subject
Re: Applescript question







On 5-Mar-08, at 11:08 AM, LHoffart at afmidwest.com wrote:

> Is there a way to use a "wild card" in applescript
> or select every file in a folder
>
> I'm trying to print a batch of .jpg files on tabloid paper,
> I tried it in automator and it wants to print on letter



This will prompt you to select a folder:

set TheFiles to list folder (choose folder with prompt "select a 
folder") without invisibles

If you know the path:

set TheFiles to list folder (path to desktop & "the_folder") without 
invisibles

As a droplet:

on open the_Folder
set TheFiles to list folder the_Folder without invisibles
end open
_______________________________________________
Creator mailing list
Creator at wacondatrader.com
http://wacondatrader.com/mailman/listinfo/creator

To officially report a bug in Creator, go here:
http://www.creatorsoftware.com/support/contact_us/report_a_problem/

Searchable Archive: http://feick.webhop.net/lists/html/creatorlist/

Multi-Ad's Creator website can be found at:
http://www.creatorsoftware.com



More information about the Creator mailing list