AutoHotkey Community

It is currently May 27th, 2012, 5:20 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: October 9th, 2009, 2:01 pm 
Offline

Joined: March 27th, 2009, 12:46 pm
Posts: 76
Location: Dublin, IE
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 26th, 2011, 6:18 pm 
Offline

Joined: December 15th, 2007, 12:31 am
Posts: 6
Location: Salt Lake City, Utah
Thank you for this script. It works perfect! :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 16th, 2012, 6:54 am 
kodybrown wrote:
Thank you for this script. It works perfect! :)
:idea: :idea: :idea: :idea: :idea: :idea: :idea: :idea: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry:


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 10 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group