Apple Event: May 7th at 7 am PT

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 25, 2011 7:14 PM in response to Cyclosaurus

I found out that the code didn't work so experimented with the quote feature to find a work around. The current community software is rather difference than what we had and requires some workaround for many of the types of posts I make.


By the way, that iWeb Multiple Domain app that's been linked online for Lion and iWeb is just your script with the iWeb icon attached to it.

Sep 6, 2011 2:31 PM in response to Fabe

Try this:


  1. move the domain file from your Home/Library/Application Support/iWeb folder to the Desktop.
  2. launch iWeb, create a new test site, save the new domain file and close iWeb.
  3. go to the your Home/Library/Application Support/iWeb folder and delete the new domain file.
  4. move your original domain file from the Desktop back to the iWeb folder.
  5. launch iWeb and try again.

Sep 6, 2011 3:41 PM in response to Fabe

Then try this. It worked for me:


  1. move the domain file from your Home/Library/Application Support/iWeb folder to the Desktop.
  2. launch iWeb, create a new test site, save the new domain file and close iWeb.
  3. go to the your Home/Library/Application Support/iWeb folder and delete the new domain file.
  4. move your original domain file from the Desktop to the iWeb folder.
  5. launch iWeb and try again.

Sep 6, 2011 4:45 PM in response to Fabe

Next, a generic Open window appears. I must navigate to the Sites folder and then select the domain folder I want. However, the Open button is never active.


iweb dialog box clearly ask you to choose one of its domain.sites2(s)


User uploaded file


launch the applescript app again and navigate to your Domain.sites2, then the open button in subsequnce window will be active.

Sep 6, 2011 4:50 PM in response to Cyclosaurus

"launch the applescript app again and navigate to your Domain.sites2, then the open button in subsequnce window will be active."


I do not understand your instructions. Yes, I select one of my 7 domain sites. The Open button is not active. Only folders within the domain are selectable. Not the Index file. WHEN do you want me to "launch the aplescript app again"? - Fabe

Sep 6, 2011 5:10 PM in response to Fabe

I do not understand your instructions. Yes, I select one of my 7 domain sites. The Open button is not active. Only folders within the domain are selectable. Not the Index file.


you selected your published stuff, iweb can not open any of that.

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

iweb can only open its domain.sites2 package, so locate your domain.sites2 package, it's likely in your ~/Library/Application Support/iWeb/ .... where ~ is your home directory.

once you locate your domian.sites2 package, then you can go on with my applescript app.

Sep 6, 2011 5:45 PM in response to Fabe

Now, how do I navigate to the Domain.sites2 file, if I do not have the Library file constantly open?



you don't need to have ~/Library folder shown.

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


launch my applescript app, click on Choose Domain... button


when the subsequence window pops up, hit command + shift + g


that brings up another dialog box, enter: ~/Library/Application Support/iWeb/ or where ever your domain.sites2 location.

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.