• 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
Re: Choose location dialog - view as html
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Choose location dialog - view as html


  • Subject: Re: Choose location dialog - view as html
  • From: Daniel <email@hidden>
  • Date: Wed, 19 Mar 2003 11:58:53 +1000

the line

choose folder with prompt "Select folder to scan"

works exactly how I want, but gives the result
-->alias "MacintoshHD:Folder"
using that result to get id of documents inside
it the returns no result
but there are files inside,

there are no errors but it doesn't do anything

where next people?
see updated script


set period to (current date) - 31 * days
set d to day of period
set m to month of period
set y to year of period

tell application "Finder"
choose folder with prompt "Select folder to scan"
set rslt to result
set scan to alias of rslt
get id of (every document of the entire contents of scan) whose
modification date  period
set ids to result
choose folder with prompt "Select Destination for Files"
set nf to result
get id of (every item of the entire contents of folder scan) whose label
is 6
set recentjobs to result
copy ((every item of the entire contents of folder scan) whose id is in
recentjobs) to item nf
end tell



> From: Andrew Oliver <email@hidden>
> Date: Tue, 18 Mar 2003 16:54:23 -0800
> To: Daniel <email@hidden>, applescript
> <email@hidden>
> Subject: Re: Choose location dialog - view as html
>
> Simply replace the line:
>
> display dialog "Choose Destination for backup files" ## this is
>> what I need,this If statement doesn't make any sense to me
>
> with:
>
> choose folder with prompt "Choose Destination for backup files"
_______________________________________________
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.

References: 
 >Re: Choose location dialog - view as html (From: Andrew Oliver <email@hidden>)

  • Prev by Date: Re: Choose location dialog - view as html
  • Next by Date: How to get Finder and System Events confused
  • Previous by thread: Re: Choose location dialog - view as html
  • Next by thread: Re: Choose location dialog - view as html
  • Index(es):
    • Date
    • Thread