• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Going crazy...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Going crazy...


  • Subject: Going crazy...
  • From: Jeff Whitmill <email@hidden>
  • Date: Tue, 4 Feb 2003 00:10:34 -0600

I would swear the script below worked before it was trashed by running amok and being compressed. I've had to rebuild it from scratch.

Now the statement

open selection with application file "GZipper"

can't pass the syntax checker. I always get this error message on the first quotation mark:

Syntax Error. Expected end of line, etc., but found ".

What am I doing wrong?

try
with timeout of 20 seconds
tell application "Finder"
set theFolder to "MyDrive:CurrentLogs:"
select (every file of folder theFolder whose name ends with ".log.txt" and name contains "_200")
open selection with application file "GZipper"
end tell
end timeout
on error
end try

Thanks,
--

Jeff Whitmill
Composer Online - http://www.composeronline.com/
The Music of Your Name - http://www.moyn.org/
1510 Thomas Lake Pointe, #304
Eagan MN 55122
Phone: 651.675.0743
Fax: 360-838-8759

"Come, then - weigh me a pound of fire, measure me a bushel of wind, or call back a day that has passed." - 2 Esdras 4:5
_______________________________________________
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.
  • Follow-Ups:
    • Re: Going crazy...
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: Followup and Thanks: What is the most efficient/fastest Find & Replace
  • Next by Date: Re: Script Debugger: Erroneous error
  • Previous by thread: Re: Multiple characteristics
  • Next by thread: Re: Going crazy...
  • Index(es):
    • Date
    • Thread