• 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
Variable declaration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Variable declaration


  • Subject: Variable declaration
  • From: "BADRINATH, NANDINI" <email@hidden>
  • Date: Mon, 21 Jun 2004 18:20:34 +0530
  • Thread-topic: Variable declaration

> Hi,
>
> i tried the following script
>
> set folderPath to "Disk:Folder:Folder:" --wherever your folder is
> tell application "Finder"
> set theFiles to (name of every file in folder folderPath) as list
> repeat with theFile in theFiles
> set filePath to folderPath & theFile
> open file filePath using application file id "XPR3"
> --do stuff in QXP?
> tell application "QuarkXPress"
> --something here to close the file;
> --I don't have QXP, so I don't know what it expects.
> --check its dictionary for a 'close' command of some kind.
> end tell
> end repeat
> end tell
> ---------------
> the script gives the error -- "cant make every file of " folder
> path" into a string"
>
> How do i declare "theFile" (in repeat) as list?
>
> regards
> Babith
_______________________________________________
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.


  • Prev by Date: Re: Error with GURL/GURL
  • Next by Date: Re: Make Finder files invisible, SOLVED
  • Previous by thread: Re: Error with GURL/GURL
  • Next by thread: Re: Variable declaration
  • Index(es):
    • Date
    • Thread