Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to handle multiple Domain.sites2

i posted this long time ago:

https://discussions.apple.com/thread/1270976?answerId=6008805022#6008805022



revised for newer osx:


1) launch AppleScript Editor.app , it's in /Applications folder

2) copy the following into AppleScript Editor window:


do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"

delay 1

tell application "iWeb" to activate


3) select menu bar --> File --> Save as... (give it a name)

4) at File Format popup menu, select --> Application

5) make sure Options: Startup Screen is unchecked

6) click Save button

User uploaded file


Next time, instead of launch iweb, you just launch this new app.

I'd been doing this since iweb1.1.

Posted on Jul 22, 2011 12:22 PM

Reply
35 replies

Jul 22, 2011 3:55 PM in response to Zen_learner

Is it best to leave the icon as it is (a script) or change to differentiate?

It's up to you.

Perhaps changing icons for scripts too difficult?

pretty simple really, follow these steps:


1) open an image file with Preview.app

2) select all or command + a

3) copy it or command + c

4) in finder, select the script/app

5) do get info or command + i

6) click on the script icon to select it, the icon should hilited


User uploaded file


7) do paste or command + v

8) close the get info window

that's it.


you can do alot of thing with applescript but most people don't know it.

as of the last xcode and xcode4, you can write full blown cocoa apps in applescript.

Jul 22, 2011 5:37 PM in response to Zen_learner

one more thing,

you can make a drag-n-drop applescript app and you don't have to go thru finder chosse file dialog.

here is the code, arg!!! this posting system s u c k s! for code posting.

replace line brake with space:


-- applescript start

on opendropItem

set iWebDefaultsDocumentPath to quoted form of (POSIX path of (dropItem as string))

-- the following is one single line. no line brake, replace line brake with a space

do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath " & iWebDefaultsDocumentPath

-- end

tell application "iWeb" to activate

end open


-- applescript end


----------------------------


once you have the app, all you need to do is drag-n-drop iweb domain.sites2 package onto the app/script... the app/script can be in the dock too.


How to handle multiple Domain.sites2

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.