Re: Applescript Virgin Question
Re: Applescript Virgin Question
- Subject: Re: Applescript Virgin Question
- From: Joe Parshley <email@hidden>
- Date: Fri, 18 Oct 2002 12:47:57 -0400
Thanks Marc
I will review you information and put it to good use and let you know
how it goes,
Thanks Again for the quick response.
I am familiar with other program also so I am sure the other link will
be helpful
Joey
On Friday, October 18, 2002, at 12:28 PM, Marc S.A. Glasgow wrote:
>
From: Marc S.A. Glasgow <email@hidden>
>
Date: Fri Oct 18, 2002 12:25:42 PM US/Eastern
>
To: email@hidden
>
Subject: Re: applescript-users digest, Vol 3 #981 - 16 msgs
>
>
Joey,
>
>
(A) It can be done.
>
(B) Moving through the file heirarchy is going to be the biggest
>
hurdle for a just-starting AS programmer like you. There are three
>
ways of doing this that come to mind:
>
1. The traditional method for advanced programmers in most languages:
>
recursion of handler (i.e. - subroutine called from itself);
>
2. Jon's Commands OSAXen, which has a command called "Walk the
>
Folders" to make it easier;
>
3. Creating Lists of Lists of files within folders (applescript
>
doesn't support multi-dimensional arrays in the traditional sense, but
>
supports lists, a form of array, and lists of lists, an array of
>
arrays, and lists of lists of lists... you get the idea).
>
>
There's a Quick Primer available if you're familiar with other
>
programming languages (C/C++, Basic, Pascal, etc):
>
http://www.cyberpoet.net/as/applescript.html
>
>
Also take a look at the File Renaming Scripts at:
>
http://www.cyberpoet.net/as/as_downloads.html
>
(which show examples of recursion, handlers, how to point at the
>
starting folder, etc).
>
>
Best Wishes,
>
=-= Marc Glasgow
>
Today's Special: Apple Stock dual-channel PCI Ultra SCSI card, $59.95,
>
OS 8.1 - OS X 10.2.1 Compatible.
>
*----------------------------------------------------------------*
>
| If Reality impedes your Performance, try reallocating |
>
| your Reality_Buffer at a higher value... |
>
| (c) 1983, Marc S.A. Glasgow aka The CyberPoet(tm) |
>
*----------------------------------------------------------------*
>
>
On Friday, October 18, 2002, at 11:51 AM,
>
email@hidden wrote:
>
>
> Message: 13
>
> Date: Fri, 18 Oct 2002 10:57:06 -0400
>
> Subject: Applescript Virgin Question
>
> From: email@hidden (Joey Parshley)
>
> To: email@hidden
>
>
>
> Hi
>
>
>
> I would like to try writing my first script. Is the following possible
>
> and would anyone like to give me any pointers? I have never written an
>
> applescript (have written lots of javascript).
>
> Here's what I want the script to do.
>
>
>
> Look look in a folder that can have any number of sub folders. Each
>
> sub
>
> folder would be named as a job number i.e 20857. These job folders
>
> have
>
> in them identical folders named Ideas, Email, PDF etc.
>
>
>
> I want to look in the PDF folder of each job folder and print three
>
> copies or any PDFs with the work "FINAL" in it.
>
>
>
> A bonus to this script would be if I could place each PDF into a Quark
>
> Template and Print that out.
>
>
>
> I'm not asking for anyone to write the script. I would just like some
>
> pointers and perhaps a basic example I could follow. I really know I
>
> need to tap into this powerful tool
>
>
>
> Thanks in advance
>
> <><><><><><><><><><><><>
>
> Joseph Kneeland Parshley III
>
> MIS Manager
>
>
>
> 781-599-5175 ext17
>
> fax 781-599-4129
>
>
>
> Infinite Media Inc.
>
> 583 Chestnut St
>
> Suite 13
>
> Lynn MA, 01904
>
>
>
>
<><><><><><><><><><><><>
Joseph Kneeland Parshley III
MIS Manager
781-599-5175 ext17
fax 781-599-4129
Infinite Media Inc.
583 Chestnut St.
Suite 13
Lynn MA, 01904
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.