Article View: demon.tech.mac
Article #729Re: Extensions - argh.
From: Rebecca and Rowland
Date: Thu, 13 Aug 1998 00:00
Date: Thu, 13 Aug 1998 00:00
95 lines
4190 bytes
4190 bytes
Sam and Alastair Beadle <samnali@delfloria.deletethis.demon.co.uk>
wrote:
> OK I give up - someone tell me about Mac OS (7.5.7) extensions.
No, because there's no such OS as 7.5.7.
> After getting our Mac we had several clashes - some fiddling around and we
> got rid of all the problem ones. Now my daughter has got a new program
> that clashes with - guess what - our PPP extension - eek! So at the moment
> we have to start up, reset the extension (and virtual memory - it causes
> some of her games problems too) - then restart. THEN repeat it before we
> can use the internet.
>
> So - the questions:
>
> Is there any way of resetting all these things in one easy step - a script
> sounds good but the Extensions manager is not scriptable (as, I have
> found, are a lot of other programs and controls).
You don't need to use the Extensions Manager: you can move the relevant
files directly using the Finder (btw, have you tried a different PPP?
OT/PPP or FreePPP are pretty much as good as each other all other things
being equal); a script I've written to do a similar sort of job to this
looks like (stuff following). I'm not sure about resetting VM. have
you tried looking for some scripting extensions that might be able to
help with this? Someone in comp.sys.mac.programmer might have a better
idea.
property gv_faxing_extension_List : {�
"Schr�dinger's cat:Freezer:Global Village:GlobalFax", �
"Schr�dinger's cat:Freezer:Global Village:Global Village Toolbox", �
"Schr�dinger's cat:Freezer:Global Village:GV Address Book Engine"}
property gv_faxing_control_panel_List : {"Schr�dinger's
cat:Freezer:Global Village:TelePort"}
property gv_faxing_file_List : gv_faxing_extension_List & �
gv_faxing_control_panel_List
set files_found_ok to checkForFiles()
(*if files_found_ok then
display dialog "Found files"
else
display dialog "Didn't find files"
end if*)
if files_found_ok then
repeat with a_file_path in gv_faxing_extension_List
set a_file to a_file_path as alias
tell application "Finder" to move a_file to extensions folder
end repeat
repeat with a_file_path in gv_faxing_control_panel_List
set a_file to a_file_path as alias
tell application "Finder" to move file a_file to control panels
folder
end repeat
tell application "Finder" to restart
else
display dialog �
"I didn't move anything because one or more of the Global Village
files was missing"
end if
on checkForFiles()
set files_found_ok to true
repeat with a_file in gv_faxing_file_List
try
get info for (a reference to file a_file)
on error
display dialog "Couldn't find file " & a_file with icon 2
set files_found_ok to false
end try
end repeat
return files_found_ok
end checkForFiles
> Why does the extensions manager not control all of them? If I turn them
> all off and look in the extensions folder it is still full of stuff. Files
> like Apple Guide files and so on I can understand but many of them are
> real extensions!
I wish I knew why too, but I don't.
[snip]
Rowland.
--
Remove the animal for my email address: rebecca@astrid.dog.u-net.com
Sorry - the spam got to me. PGP pub key A680B89D
UK biker? Join MAG and help keep bureaucracy at bay
http://dredd.meng.ucl.ac.uk/www/mag/mag.html
Technical Details
Message-ID:
<1ddocfn.we8hmvjonj7rN@p45.nas1.is2.u-net.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<samnali-1208982101310001@delfloria.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10b5a2,607eeced43e7eb5f X-Google-Attributes: gid10b5a2,public From: real-address-in-sig@flur.bltigibbet (Rebecca and Rowland) Subject: Re: Extensions - argh. Date: 1998/08/13 Message-ID: <1ddocfn.we8hmvjonj7rN@p45.nas1.is2.u-net.net> X-Deja-AN: 380610507 Content-Transfer-Encoding: 8bit References: <samnali-1208982101310001@delfloria.demon.co.uk> Content-Type: text/plain; charset=ISO-8859-1 X-Complaints-To: news@u-net.net X-Trace: newsr2.u-net.net 902974710 194.119.133.45 (Thu, 13 Aug 1998 03:18:30 BST) Organization: The Pietertje Geeltje van der Sluis fan club MIME-Version: 1.0 NNTP-Posting-Date: Thu, 13 Aug 1998 03:18:30 BST Newsgroups: demon.tech.mac