Installation scripts

View: New views
3 Messages — Rating Filter:   Alert me  

Installation scripts

by Bill Schwab :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Gary,

Would you be willing and able to export your preferences, or (probably
better) provide code or just a list of the preferences that should be
true and false?

All, regarding my goal of a script to build a new image, please take a
look at

   http://installer.pbwiki.com/Installer

What do you think?  It looks like what I had in mind, only on steroids.

Bill




Wilhelm K. Schwab, Ph.D.
University of Florida
Department of Anesthesiology
PO Box 100254
Gainesville, FL 32610-0254

Email: bschwab@...
Tel: (352) 846-1285
FAX: (352) 392-7029

_______________________________________________
UI mailing list
UI@...
http://lists.squeakfoundation.org/mailman/listinfo/ui

Re: Installation scripts

by Ken G. Brown :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've just been going through all the Installer stuff.
You might want to have a look at my example Installer script I just posted to squeak-dev.
I am using it to prepare the latest 3.10 Dev image for building a Vm but you can get the idea and modify it to suit your own purposes.
Let me know if you would like me to send it directly.

Ken G. Brown

At 11:24 PM -0500 3/1/08, Bill Schwab apparently wrote:

>Gary,
>
>Would you be willing and able to export your preferences, or (probably
>better) provide code or just a list of the preferences that should be
>true and false?
>
>All, regarding my goal of a script to build a new image, please take a
>look at
>
>   http://installer.pbwiki.com/Installer
>
>What do you think?  It looks like what I had in mind, only on steroids.
>
>Bill
>
>
>
>
>Wilhelm K. Schwab, Ph.D.
>University of Florida
>Department of Anesthesiology
>PO Box 100254
>Gainesville, FL 32610-0254
>
>Email: bschwab@...
>Tel: (352) 846-1285
>FAX: (352) 392-7029
>
>_______________________________________________
>UI mailing list
>UI@...
>http://lists.squeakfoundation.org/mailman/listinfo/ui

_______________________________________________
UI mailing list
UI@...
http://lists.squeakfoundation.org/mailman/listinfo/ui

RE: Installation scripts

by Gary Chambers-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

My current "settings" script:

        Preferences
                setDefaultFonts: #(
                        (setSystemFontTo: #'Arial' 10)
                        (setListFontTo: #'Arial' 10)
                        (setFlapsFontTo: #'Arial' 12)
                        (setEToysFontTo: #'Arial' 8)
                        (setEToysTitleFontTo: #'Arial' 8)
                        (setPaintBoxButtonFontTo: #'Arial' 10)
                        (setMenuFontTo: #'Arial' 10)
                        (setWindowTitleFontTo: #'Arial' 12)
                        (setBalloonHelpFontTo: #'Arial' 8)
                        (setCodeFontTo: #'Arial' 10)
                        (setButtonFontTo: #'Arial' 10));
                        setPreference: #maintainHalos toValue: false;
                        setPreference: #showBoundsInHalo toValue: true;
                        setPreference: #preserveTrash toValue: false;
                        setPreference: #alternativeButtonsInScrollBars toValue: true;
                        setPreference: #scrollBarsWithoutMenuButton toValue: true;
                        setPreference: #scrollBarsNarrow toValue: false;
                        setPreference: #mouseOverForKeyboardFocus toValue: false;
                        setPreference: #mouseClickForKeyboardFocus toValue: true;
                        setPreference: #alwaysShowVScrollbar toValue: false;
                        setPreference: #showSplitterHandles toValue: false;
                        setPreference: #useUndo toValue: false;
                        setPreference: #syntaxHighlightingAsYouTypeAnsiAssignment toValue: true;
                        setPreference: #showWorldMainDockingBar toValue: true;
                        setPreference: #swapControlAndAltKeys toValue: true;
                        setPreference: #swapMouseButtons toValue: true;
                        setPreference: #mvcProjectsAllowed toValue: false;
                        setPreference: #syntaxHighlightingAsYouTypeAnsiAssignment toValue: true;
                        setPreference: #fastDragWindowForMorphic toValue: false;
                        setPreference: #windowsActiveOnFirstClick toValue: true;
                        setPreference: #noWindowAnimationForClosing toValue: true;
                        setPreference: #externalFocusForPluggableText toValue: true;
                        setPreference: #fadedBackgroundWindows toValue: false;
                        setParameter: #menuColor to: (Color r: 0.782 g: 0.828 b: 0.92);
                        textHighlightColor: (Color r: 0.595 g: 0.658 b: 0.976);
                        insertionPointColor: (Color r: 0.595 g: 0.658 b: 0.976);
                        addPreference: #multipleTextUndo
        categories: #('general') default: false
        balloonHelp: 'Editors track a multiple undo history'.
               
       
        (World findA: DockingBarMorph) ifNotNilDo: [:db |
                db borderWidth: 0].
       
        (World findA: FlapTab)
                setToPopOutOnMouseOver: true;
                solidTab;
                width: 8;
                fillStyle: (TranslucentColor r: 0.638 g: 0.702 b: 0.082 alpha: 0.667).
        (World findA: FlapTab) referent
                borderWidth: 0;
                fillStyle:  (TranslucentColor r: 0.94 g: 0.972 b: 0.73 alpha: 0.7).


Regards, Gary
               
_______________________________________________
UI mailing list
UI@...
http://lists.squeakfoundation.org/mailman/listinfo/ui