• 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
Problem with a script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with a script


  • Subject: Problem with a script
  • From: "charles.lindsay" <email@hidden>
  • Date: Sun, 9 Jun 2002 15:23:59 +0100

(* choose a name for the report *)
set theReportName to computer name
(* choose where to save the report *)
set theContainer to choose folder with prompt "Choose the folder where you
want to store " & theReportName & ""

(* create empty file for ASP to write the report to *)
tell application "Finder"
set theLocation to (make file at theContainer with properties
{name:theReportName}) as alias
end tell

tell application "Finder"
activate
select disk "IT_TEST"
end tell

tell application "Apple System Profiler9.2.1"
activate
set SysReport to (make new report at beginning with properties {report
view format:text, report contents:{control panels, extensions,
applications, system profile}})
save SysReport in theLocation
quit
end tell

I have the above script, but is it possible to change the line :-

set theContainer to choose folder with prompt "Choose the folder where you
want to store " & theReportName & ""

so that theContainer is saved onto a mounted volume called IT_TEST in a
folder called AUDIT
_______________________________________________
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: Please Help
  • Next by Date: URL Access uploads
  • Previous by thread: Re: Please Help
  • Next by thread: URL Access uploads
  • Index(es):
    • Date
    • Thread