Re: Using Data From Tab Delimited Text File
Re: Using Data From Tab Delimited Text File
- Subject: Re: Using Data From Tab Delimited Text File
- From: vectormation <email@hidden>
- Date: Tue, 6 Nov 2001 23:43:19 -0500
If you're using Funnel Web, and you find a real solution to the problem
of knowing when it's done processing the log, I'd love to know...
What I've done for our system is desig my app around the idle handler,
and guessed how long to idle between logs based on the size of the log to
be processed, I still get about 3 "apple event timed out" halts for every
100 domains processed.
~Phi
>
I need to write an Applescript to run a bunch of copies of Web Server Log
>
Analysis Programs.
>
>
The Web Server Log is broken up by a Perl script and files created in in
>
folders corresponding to the domains hosted.
>
>
The details of the domains hosted for the purposes of the Logging is kept in
>
a Tab Delimited text file in the form:
>
>
www.domain.com name_of_logfile
>
www.domain2.com name_of_logfile2
>
>
and so on...
>
>
The name_of_logfile part is not important to the Applescript function, just
>
the www.domain.com part as it will form part of the path to the application
>
to be run.
>
>
The path will be like:
>
>
Macintosh HD:Web Server:Web Sites:server_stats:www.domain.com:Application
>
>
So I want the script to go to the text file, get the first www.domain.com,
>
activate the Application, wait till it is finished, then get the next
>
www.domain.com from the text file and activate that Application and so on...
>
>
The parts I am having trouble with are:
>
>
1. Getting the www.domin.com information from the text file
>
>
2. Getting the script to wait for the Application to finish before going on.
>
>
--
>
>
Regards,
>
>
,-----/----.
>
| O | O | Les Cavanagh
>
| / | Certified Apple Engineer
>
| (__ | 0419 946 637
>
| \___|__/ | email@hidden
>
'-----\----'
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users