Scriptomatic 20文档格式.docx

上传人:b****5 文档编号:16455026 上传时间:2022-11-23 格式:DOCX 页数:13 大小:296.77KB
下载 相关 举报
Scriptomatic 20文档格式.docx_第1页
第1页 / 共13页
Scriptomatic 20文档格式.docx_第2页
第2页 / 共13页
Scriptomatic 20文档格式.docx_第3页
第3页 / 共13页
Scriptomatic 20文档格式.docx_第4页
第4页 / 共13页
Scriptomatic 20文档格式.docx_第5页
第5页 / 共13页
点击查看更多>>
下载资源
资源描述

Scriptomatic 20文档格式.docx

《Scriptomatic 20文档格式.docx》由会员分享,可在线阅读,更多相关《Scriptomatic 20文档格式.docx(13页珍藏版)》请在冰豆网上搜索。

Scriptomatic 20文档格式.docx

Isee….”DidanyoneeversaytothePharaohCheops,“Well,it’sagoodpyramid,Cheops,butIdon’tknowaboutagreatpyramid….”Ofcoursetheydidn’t.

Well,notiftheyknewwhatwasgoodforthem,anyway.

Todayit’sabitdifferent:

notonlyarepeoplenotoriouslyhardtoplease,butevenifyoudohaveasuccessthere’snoguaranteethatanyonewillbesatisfied.Afterall,nothingisworsethanbeinglabeledaone-trickpony,aone-hitwonder,oraflash-in-the-pan.WerememberWilliamShakespeare,butonlybecausehewrotehundredsofplaysandsonnets.WhorememberstherockduoMouthandMcNeal?

Nobody.Andthat’sbecauseMouthandMcNealhadonehitsong,andthenwereneverheardfromagain.StephenKingwillberememberedforeverbecauseofhisprolificproductivity,butdoesanyoneouttherehavetheslightestideawhowrotetheEpicofGilgamesh?

Well,OK,itprobablywasStephenKing.Thenwhatabout–right,heprobablywrotethat,too.Butyouknowwhatwemean.

Now,tobehonest,weMicrosoftScriptingGuyswerenevertooconcernedaboutbeingone-hitwonders;

afterall,youcan’tbeaone-hitwonderunlessyoufirsthaveahit.Weweresurenobodywouldeverhearofus,andsomehowthatseemedbetterthanbeingrememberedandthenjustasquicklyforgotten.Rememberbaseball’sJoltin’JoeCharboneau?

Exactly.

Butthenwemadeaterriblemistake:

wereleasedtheoriginalScriptomatic–theamazingutilitythatactuallywroteWMIscriptsforyou–anditturnedouttobeahit.Thatwasnotintentional,bytheway.TheScriptomaticwasoriginallythrowntogetherwhenoneoftheScriptingGuyswaslookingforasocko-boffoendingforaWMIpresentationhehadtomakeforaninternalMicrosoftaudience.Literallyminutesbeforethepresentationwastobegin,hecreatedsomethingcalledtheScriptomatic,anHTA(HTMLApplication)thatcouldwriterudimentaryWMIscripts.Heshowedoffhisnewcreationattheendofthetalk,andtheresponsewasbothoverwhelmingandunanimous;

asnotedintheofficialannalsoftheScriptingGuys,everyoneintheroomstoodupasoneandsaid,“Canwegonow?

”Notthemostauspiciousdebutapieceofsoftwarehaseverhad,thoughitprobablystilltopsthereceptionaccordedMicrosoftBob.

Note.Ifyou’reaMicrosoftemployeewholikedMicrosoftBob,we’rejustkidding.Infact,someofourbestfriendsusedMicrosoftBob.

Well,atleastwethinktheydid.It’shardtogetpeopletoadmittosomethinglikethat.

Butbacktoourstory.Asitturnedout,somethingweirdhappenedwhenwereleasedthatsameScriptomaticonM:

itbecameahit,oratleastasclosetobeingahitasanyscripting-relatedutilitywillevercome.Asoftoday,theScriptomatichasbeendownloadedbynearly500,000people,anumberwhichwarmsthecocklesofourhearts,andalsomakesuswonderwhywedidn’tchargepeople$1perdownload.

ButwhileitwasgreatthateveryonefoundtheScriptomaticuseful,itsunexpectedsuccessputusinthepositionofbeingthecomputerworldequivalenttoDexy’sMidnightRunners.Nowwehadtocreateafollow-upsuccessofsomekind.Butwhat?

TheBeatlesdidn’thavetoworryaboutbeingone-hitwondersbecausetheywerereallygoodatwhattheydid.ErnestHemingwaydidn’thavetoworryaboutbeinglabeledaflash-in-the-pan;

afterall,hewasgoodatwhathedid.ButwheredidthatleavetheMicrosoftScriptingGuys?

Thatwassomethingweponderedlongandhard,formany,manymonths,andwithoutmuchsuccess.Notforlackoftrying,mindyou,buttobehonest,mostofoureffortswerefornaught.Inretrospect,readingallourscriptsoutloudandrecordingthemontoanMP3playerwecalledthescriptPodmightnothavebeensuchagoodideaafterall.(Ofcourse,itprobablywouldhavehelpedhadwerememberedtoputaPlaybuttononthescriptPod.AndmaybeweshouldhavetakentherockgroupU2upontheirofferafterall.)

Likewise,weprobablyshouldhavetestedthewaterswithasingleScriptbucksratherthanblithelyopeningachainofcoffeehousesacrossthecountry,allofthemservingscript-flavoredlattes.(Inourdefense,anumberofpeoplehavetoldusthattheADSIMochaFudgeDelightwasn’tthatbadaslongasyouaddedsugarandcinnamon,stirredwell,spritzedalittlewhippedcreamontop,andthenpouredthewholethingdownthedrainwithoutdrinkingit.Asanaddedbonus,itcouldunclogthatdraininnotime!

Andwhilewehaven’tgivenuponourrealityTVshow,TheScriptingLife,wearehavingproblemsgettingeitherParisHiltonorNicoleRitchietoreturnourcalls.(Andthankstovariouscourtorders,injunctions,andrestrainingorders,we’renolongerallowedtocontactthem.)Comingupwithafollow-upsuccessturnedouttobemuchharderthanweexpected.

Butthenoneday,inspirationstruck.Itoccurredtousthat,insteadofcopyingsomeoneelse’sideas,weshoulddowhatwedobest.Andwhilewedon’tdoverymanythingswellatall,therewasonethingthatweweregoodat:

writingScriptomatics.Therefore,thesolutiontoourproblemwasobvious:

ifwehadahitwithoneScriptomatic,thenlogicallywe’dhaveanevenbiggerhitifwereleasedanotherScriptomatic.ItwouldbejustliketheStarWarstrilogy,onlywithscriptsinsteadoflightsabers.

Actually,ouroriginalplanwastoemulatetheCoca-Colacompany,whichafewyearsbackreleasedNewCoke,aproductthatmetwithalmostuniversaldisdain.Needlesstosay,thingslookedgrim,butthensomeunsunggeniusatCocaColahadabrainstorm:

theysuggestedthatthecompanydonothingmorethanbringbacktheoldCoke,nowchristenedClassicCoke.Andguesswhat?

Itwasahugesuccess!

Wefigured,OK,we’lldothesamething.We’llwriteapieceofsoftwarethatnobodylikesandreleaseitasNewScriptomatic.We’llletpeoplegrumbleandcomplainforawhile,andthenwe’llbringbacktheoldScriptomatic(orClassicScriptomatic)andeveryonewillloveit!

We’llbeheroes,and–bestofall–wewon’thavetodoanywork.

Intheend,though,wedecidedtocreateabrandnewversionoftheScripotmatic,onethatactuallyworked:

Scriptomatic2.0.Andtocelebratethereleaseofthisnewutility,wedecidedtoholdamake-believepressconference.Here’sthetranscriptfromthatpressconference:

Question:

Sowhat’ssogreataboutScriptomatic2.0?

Answer:

What’sgreataboutScriptomatic2.0….

Couldyouspeakintothemicrophoneplease?

Oh,sorry;

wedon’tdomanypressconferences.What’sgreataboutScriptomatic2.0isthatitnotonlyfixessomeproblemsinherentinScriptomatic1.0,butitalsointroducessomereallycoolnewfeatures.

TherewereproblemswithScriptomatic1.0?

No,ofcoursenot.It’sjustthat,forexample,oneofthe…features…ofScriptomatic1.0wasthewayithandledpropertiesthatwerestoredasarrays:

itjustignoredthem.AnotherfeaturewasthewayScriptomatic1.0dealtwithdatesandtimes:

itdisplayedtheminUTCformat,soyougotoutputlike20040930083722.000000-480.InScriptomatic2.0,these…features…havebeenchanged.Scriptomatic2.0nowhandlesarrayswithoutanyproblem,andnowdisplaysdatesandtimesas,well,datesandtimes.

Wow,thatalonemakesScriptomatic2.0aworthysuccessortotheoriginal.

Youknow,that’swhatwethought,too.Butourmanagersdecidedwewerejustbeinglazy,andsotheymadeusgobackandaddabunchofotherfeaturestoScriptomatic2.0aswell.

Really?

Whatkindoffeatures?

Oh,therearesomanyofthemit’shardtoknowwheretobegin.Butherearesomeofthehighlights:

∙Scriptomatic2.0nowworkswithalltheWMInamespacesonyourcomputer.Theoldversiononlyworkedwiththeroot\cimv2namespace.ThatwasfineforWindows2000computers,butjustdidn’tcutitwithWindowsXPorWindowsServer2003computers.

∙Scriptomatic1.0gaveyouabare-bonesenvironmentforrunningscripts:

allyoucoulddowasclickabuttonandrunthescriptinacommandwindow,displayingthereturneddataonscreen.YoucanstilldothatwithScriptomatic2.0;

however,whenrunningthescriptyoualsohaveoptionsforsavingreturneddataasatextfile,savingitasanExcelfile(incomma-delimitedformat),orsavingthereturneddataasanHTMLorXMLfile.

∙Scriptomatic1.0letyouwritescriptsthatranagainstonlyasinglecomputer.

Butwhatifyouwantedtorunthatscriptagainstmultiplecomputers?

Well,weweregettingtothat:

youcouldn’trunthescriptagainstmultiplecomputers,atleastnotwithoutre-writingthething.Butthat’snotthecasewithScriptomatic2.0.WithScriptomatic2.0,youcanenterabunchofcomputernames(asacomma-separatedlist,orbyloadingthenamesinfromatextfile),andthenewScriptomaticwillautomaticallywriteyouascriptthatrunsagainstallthosemachines.

That’sprettycool.

Weliketothinkso.Afterall,couldyouwriteascriptlikethatusingClassicCoke?

Well,OK,maybeifyoudiditthatway.Butmostpeopledon’tknowaboutthat.

SoisthismultiplecomputerthingthebestnewfeatureofScriptomatic2.0?

Oh,byfar.ButbyfarthebestnewfeatureofScriptomatic2.0isthefactthattheScriptomaticnowspeaksmultiplelanguages.WithClassicScriptomaticyoucouldwriteascriptthatusedanyscriptinglanguage

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 初中教育 > 数学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1