• 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: System Profiler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: System Profiler


  • Subject: RE: System Profiler
  • From: "Bull, Rex J (CCC)" <email@hidden>
  • Date: Mon, 7 Jun 2004 08:12:03 -0500

This is one I have used to log IP addresses.

tell application "Apple System Profiler"

set theIP to TCPIP address as string
set thePath to ("The path to the file you want to write to") ----
tell application "Finder" to if not (exists file thePath) then
createFile thePath owner "R*ch" --Creates the file if it doesn't exist
write (theIP & " ___ " & startDisk & return) to file thePath
starting at eof
close window 1
end tell

> Rex Bull
> PrePress Support
> Carlson Craft Business Solutions
> Phone: 507-386-2508
>
>
>
> ----------
> From: Gnarlodious
> Sent: Monday, June 7, 2004 7:17 AM
> To: Applescript
> Subject: Re: System Profiler
>
> do shell script "System_Profiler > SystemProfile.txt"
>
>
> Entity Chaim Koshizky spoke thus:
>
> > Hi ;
> >
> > I am trying to run "System Profiler" through an applescript application
> and
> > create-save a file of the profile.
> > I do not succeed to save the file. Can any one help ?
> >
> > tell application "System Profiler"
> > activate
> > set theproperty to properties
> > save theproperty ????????
> > end tell
> >
> > Thanks
> > _______________________________________________
> > 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.
> _______________________________________________
> 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.
_______________________________________________
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: System Profiler
  • Next by Date: Publishing iCal calendar
  • Previous by thread: Re: System Profiler
  • Next by thread: Question-GUI scripting
  • Index(es):
    • Date
    • Thread