|
Wednesday, May 8
Another reason to love Microsoft
After installing Microsoft Office X on my iMac, all StuffIt archives are now associated with Microsoft Word. I reinstalled StuffIt Expander, but it didn't help. It's hugely annoying. After each download, Word launches pointlessly, and the .SIT file is tagged with a Word icon. Leave it to Microsoft to annex a file extension like .SIT, which has only been in use on the Mac for several years. So now I'm surfing around to get an education on how X associates files with applications, so I can fix this darn thing. Time for this old dog to learn some new tricks. I should have known installing Office would cause some kind of hassle. But I just had to have Entourage. Call me a masochist, but you all knew that already. Two steps forward, one step back. That's the technology tango. '; } else { if(stristr($filename,"archive")) { $dir=$_SERVER['DOCUMENT_ROOT']; $template='_01_archive.html'; $tail=strlen($template); $thisArchive=$filename; //$files=scandir($dir); $dh = opendir($dir); while (false !== ($filename = readdir($dh))) { $files[] = $filename; } sort($files); $earlyarch=""; $laterarch=""; $prevarch=""; $next=0; foreach($files as $file) { if (substr($file,-$tail)==$template) { if ($next==1) { $laterarch=$file; $earlyarch=$prevarch; $next=0; } if ($file==$thisArchive) { $next=1; } else { $prevarch=$file; $earlyarch=$prevarch; } } } $link=''; $divider=''; if(file_exists($earlyarch)) { $link='< Earlier Archive'; $divider=" | "; } if(file_exists($laterarch)) { $link=$link.$divider.'Later Archive >'; } $link=$link.' '; } } echo($link); ?> |