Voltron43
Joined: 27 Mar 2009 Posts: 76 Location: Dublin, IE
|
Posted: Fri Oct 09, 2009 1:01 pm Post subject: DigsbyBuddyList - Script to Hide Digsby BuddyList on Startup |
|
|
To get Digsby to startup with the Buddy List minimized to the system tray, the value show_on_startup: yes under the buddylist: section in the defaults.yaml file located in the Digsby\res directory needs to be changed to show_on_startup: no. However, every time Digsby is updated, the setting is put back to show_on_startup: yes. This script automates the task of backing up the defaults.yaml and changing the setting back to show_on_startup: no.
| Code: | ;===============================================================================
;
; TITLE: Digsby Buddy List
; VERSION: v0.1.0
; LINK: http://www.autohotkey.com/forum/
;
; AUTHOR: Voltron43
; DATE: 10/09/09
; HOMEPAGE: http://www.autohotkey.net/~Voltron43/#DigsbyBuddyList
;
;===============================================================================
;
; DESCRIPTION: To get Digsby to startup with the Buddy List minimized to the
; system tray, the value show_on_startup: yes under the buddylist:
; section in the defaults.yaml file located in the Digsby\res
; directory needs to be changed to show_on_startup: no. However,
; every time Digsby is updated, the setting is put back to
; show_on_startup: yes. This script automates the task of backing
; up the defaults.yaml and changing the setting back to
; show_on_startup: no.
;
;===============================================================================
FileMove, %A_ProgramFiles%\Digsby\res\defaults.yaml, %A_ProgramFiles%\Digsby\res\defaults.yaml.backup,1
FileRead, aDefaults, %A_ProgramFiles%\Digsby\res\defaults.yaml.backup
StringReplace, aDefaults, aDefaults, show_on_startup: yes, show_on_startup: no
FileAppend, %aDefaults%, %A_ProgramFiles%\Digsby\res\defaults.yaml
Run, %A_ProgramFiles%\Digsby\res\defaults.yaml
;===============================================================================
; EOS
;=============================================================================== |
_________________ My Scripts |
|