copying prefs file into applescript
copying prefs file into applescript
- Subject: copying prefs file into applescript
- From: Infaux Junky <email@hidden>
- Date: Tue, 28 Jan 2003 07:52:39 -0800 (PST)
Hello, I am very new to applescript but have inherited the maintainence of an applescript that controls some iMacs that are locked down college campus kiosks...so far have been able to strugle my way through adding a dynamic full screen mode to the open internet explorer, but one of the most frustrating things is when a kiosk is broken and I have to reimage it (using ASR clean install) and the TCP prefs get trashed...
I thus want to create a new script that grabs the data from the TCP/IP prefs into a variable in applescript, interfaces with ASR to do the imaging, and then write the TCP prefs back over the new blank ones (oh, I didn't mention this is because we have many kiosks that have to be on static IP and if there's no wireless at the kiosk or I don't have my laptop then I'm screwed and have to leave the kiosk down until I find net access, which is a real hassel)
I had what I thought was a valid script for a while but it kept saying something about a duplicate file error
My first thought was to create a bootable OS 9 CD that would have a ramdisk show up upon boot so then a very simple script could be used to copy the file to the ramdisk before, and then copy back after...but I coudln't get a ramdisk to show up when I put a memory control panel on the CD and the memory and persistant ram disk prefs froma computer that had a ramdisk on it...I assume this is because the control panel has to actually interface with the hardware or something, so I don't know how to get it to do this upon first boot...
If anyone doesn't know how to fix the first idea, I would welcome solutions to the second or any equivalent...
Thanks
Jonas
_____________________________________________________________
Free email, web pages, news, entertainment, weather and MORE!
Check out ------------------------------->
http://wowmail.com
_____________________________________________________________
Select your own custom email address for FREE! Get email@hidden w/No Ads, 6MB, POP & more!
http://www.everyone.net/selectmail?campaign=tag
_______________________________________________
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.