Problem with a script
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.