October 9, 2008
While trying to decide if I should create a Windows Installer for Dovetail Mobile Agent. I was doing some research on how to automate the setup of web applications on IIS7. Turns out it is quite easy from the command line when you are local to the web server using AppCmd. With the helpful batch prowess of of Chad Myers I cooked up this batch file which creates a web application with its own application pool. @echo OFF SETLOCAL SET webSiteName="Default Web Site" SET vdir=/mobile SET physicalPath=C:\projects\mobile\source\Dovetail.Agent.Mobile SET applicationPoolName=dovetailmobile SET APPCMD=%SYSTEMROOT%\System32\inetsrv\appcmd.exe %APPCMD% DELETE APPPOOL %applicationPoolName% %APPCMD% DELETE APP %webSiteName%%vdir% %APPCMD% ADD APPPOOL /name:%applicationPoolName% %APPCMD% ADD APP /site.name:%webSiteName% /path:%vdir% /physicalPath:%physicalPath% /applicationPool:%applicationPoolName% ENDLOCAL
Creating IIS7 web applications from the command line
October 9, 2008
While trying to decide if I should create a Windows Installer for Dovetail Mobile Agent. I was doing some research on how to automate the setup of web applications on IIS7. Turns out it is quite easy from the command line when you are local to the web server using AppCmd. With the helpful batch prowess of of Chad Myers I cooked up this batch file which creates a web application with its own application pool. @echo OFF SETLOCAL SET webSiteName="Default Web Site" SET vdir=/mobile SET physicalPath=C:\projects\mobile\source\Dovetail.Agent.Mobile SET applicationPoolName=dovetailmobile SET APPCMD=%SYSTEMROOT%\System32\inetsrv\appcmd.exe %APPCMD% DELETE APPPOOL %applicationPoolName% %APPCMD% DELETE APP %webSiteName%%vdir% %APPCMD% ADD APPPOOL /name:%applicationPoolName% %APPCMD% ADD APP /site.name:%webSiteName% /path:%vdir% /physicalPath:%physicalPath% /applicationPool:%applicationPoolName% ENDLOCAL
October 7, 2008
In a past post, I discussed how to use GreaseMonkey to modify a web application, particularly, Dovetail Mobile Agent. In my last post, I linked to a GreaseMonkey script that added keyboard shortcuts to Basecamp. Now let's combine the two together. Access Keys for Mobile Clients Keep in mind that Dovetail Mobile Agent already has Access Keys (shortcuts) that are geared for mobile devices. The access keys are numbers. This works well on a mobile device, but it doesn't make as much sense for non-mobile devices. Notice in the image below that each link has a numeric access key. In a previous post, I showed you how to use Stylish to restyle the app. One of the styling changes I made was to hide the numeric access keys: .access-key-label{ display:none; } This hid the mobile-centric numeric access keys. Keyboard…