Posted on Sun - September 17, 2006 Neowayland dot Net Mac 10.4 UpdateNothing much new functionally with this minor
update, just a couple of changes so it works with the pathnames in 10.4. It
tests to see if the iDisk is mounted, deletes an existing file from the iDisk,
and replaces it with a file from the computer. It still makes the call to an
alias to avoid embedding the iDisk password in the script. Otherwise it is a
simple script.
tell
application
"Finder"
set
iDisk
to
0
if
disk
"neowayland"
exists
then
set
iDisk
to
1
else
open
file
"Sites:neowaylanddotnet:disk of i"
of
home
delay
if
disk
"neowayland"
exists
then
set
iDisk
to
1
else
say
"i disk not available"
end
if
end
if
if
iDisk >
0 then
if
file
"index.html"
of
folder
"Sites"
of
disk
"neowayland"
exists
then
delete
file
"index.html"
of
folder
"Sites"
of
disk
"neowayland"
else
say
"website is missing"
end
if
duplicate
file
"Sites:neowaylanddotnet:index.html"
of
home
to
folder
"Sites"
of
disk
"neowayland"
say
"nee owayland dot net is ready"
if
process
"Safari"
exists
then
tell
application
"Safari"
open
location
"http://homepage.mac.com/neowayland/#NEOLINKS"
end
tell
end
if
else
say
"not even. You aren't networked"
end
if
if
iDisk = 1
then
eject
disk
"neowayland"
end
if
end
tell
|
Hello There
This is my no frills blog to cover all the gadgets and gizmos and technology that makes 21st Century life so exciting. Think of it as a messy set of notes that I keep for myself on all sorts of topics. It's really intended for my personal use, but I will explain sometimes as I go along.
My passion is for Macintosh and other Apple products, but I will use others as needed. If my notes and experiences can help or amuse you, so much the better. Categories
Calendar
Archives
XML/RSS Feed
Neolinks
Homepage AOL Homepage Geocities Homepage Dot Mac Homepage PaganVigil AOL Pagan Vigil Geocities Pagan Vigil Dot Mac Pagan Vigil Technopagan Yearnings AOL Technopagan Yearnings Geocities Technopagan Yearnings Dot Mac Technopagan Yearnings Webmaster NetworkSolutions Dot Mac dotmac.info WhatTheFont MacHighway America Online Yahoo! Geocites ZoneEdit iBlog HaloScan StatCounter Feed to JavaScript Performancing Design Re-Imagineering Steampunk Workshop Design Observer Subtraction Paleo-Future Hardware Apple CDW Cyberguys PCMall X-Treme Geek Software TypeStyler Graphic Converter Palm News & Info Palm Infocenter Brighthand Forums - Palm mytreo.net Making Music Apple - iLife - GarageBand iCompositions Royalty Free Music, Free Sound Effects, Royalty-free Sounds Tune Up Loops Twin Cities MIDI Home Page Andy's OSX Music Page Apple Logic Pro - AUDIO Hints & Tips Library of scanned player piano music rolls Garritan Orchestral Libraries Drums on Demand Bandmateloops Coolness Gizmodo Engadget Daring Fireball RoughlyDrafted Magazine Applefritter iGeek MaKiDo Mac vs. PC Info Why I Hate Microsoft World of Ends Tracking What Is My IP Address? IP Address Trace Geektools WHOIS ARIN WHOIS Database Search Zabra People Search NeoBlogs
Statistics
Total entries in this blog:
Total entries in this category: Published On: Dec 07, 2008 01:28 PM |