It is currently Mon Jun 17, 2013 11:54 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: RedshiftGUI
PostPosted: Mon Dec 19, 2011 4:02 pm 
Offline
User avatar

Joined: Thu Aug 07, 2008 4:51 am
Posts: 2614
Quote:
Monitor temperature adjustment program based on time of day. Helps prevent eye strain.


http://www.mao-yu.com/projects/redshiftgui/

Image

Download no-install version @ https://github.com/maoserr/redshiftgui/downloads

Settings: redshiftg.ini in AppData\Roaming

_________________
bəʊɡɪ bəəs


Top
 Profile  
 
 Post subject: Re: RedshiftGUI
PostPosted: Mon Dec 19, 2011 5:22 pm 
Offline

Joined: Tue Mar 09, 2010 7:36 pm
Posts: 197
This looks interesting, pity it's not portable and the dev doesn't seem that active.


Top
 Profile  
 
 Post subject: Re: RedshiftGUI
PostPosted: Mon Dec 19, 2011 11:27 pm 
Offline

Joined: Wed Jul 18, 2007 5:45 pm
Posts: 617
You could try f.lux.

There's a portableapps.com version available here:
http://portableapps.com/node/28677

Also check out my post about eye strain programs here:
viewtopic.php?p=41720

_________________
is it stealth? ;)


Top
 Profile  
 
 Post subject: Re: RedshiftGUI
PostPosted: Mon Jun 04, 2012 9:04 am 
Offline

Joined: Mon Jun 04, 2012 8:20 am
Posts: 2
I built a small AutoIt Script which basically copies over redshiftg.ini temporarily; runs app; then removes the footprint.

Tested on Windows 7 Ultimate & XP Pro PortableApps 4.1

Assuming your "portable" drive is "P:" (I use 2nd Sata for portable apps to keep SSD OS Drive & registry, etc. cleaner)

P:\PortableApps\
P:\PortableApps\(CUSTOM)RedShiftGUI\App
P:\PortableApps\(CUSTOM)RedShiftGUI\App\AppInfo
P:\PortableApps\(CUSTOM)RedShiftGUI\App\AppInfo\appinfo.ini
P:\PortableApps\(CUSTOM)RedShiftGUI\App\AppInfo\appicon.ico
P:\PortableApps\(CUSTOM)RedShiftGUI\Data
P:\PortableApps\(CUSTOM)RedShiftGUI\Data\redshiftg.ini
P:\PortableApps\(CUSTOM)RedShiftGUI\Data\redshiftgui.exe
P:\PortableApps\(CUSTOM)RedShiftGUI\Data\RedShiftGUILoader.exe

appinfo.ini contents:
Code:
[Format]
Type=PortableAppsFormat
Version=2.0

[Details]
Name=RedShiftGui
AppId=RedShiftGui
Publisher=RedShiftGui
Homepage=https://github.com/maoserr/redshiftgui/downloads
Category=Development
Description=Redshiftgui changes the color temperature of your monitor to better match that of your surrounding. This means that it sets a cooler color temperature during the daytime (due to natural lighting) and sets a warmer temperature at night (due to indoor lighting). Similar to f.lux, this is a GUI port of the redshift project.
Language=Multilingual

[License]
Shareable=true
OpenSource=true
Freeware=true
CommercialUse=true

[Version]
PackageVersion=0.0.2.1
DisplayVersion=2.1

[Control]
Icons=1
Start=Data\RedShiftGUILoader.exe


AutoIt RedShiftGUILoader.au3 contents:
Code:
#NoTrayIcon
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=G:\PortableApps\(CUSTOM)RedShiftGUI\App\AppInfo\appicon.ico
#AutoIt3Wrapper_Res_Fileversion=1.0.0.0
#AutoIt3Wrapper_Res_LegalCopyright=Copyright © 2012 Page2PagePro.com
#AutoIt3Wrapper_Res_Language=1033
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
;; ############################################################################

; Terminate Running Siblings
While ProcessExists("redshiftgui.exe")
    ProcessClose("redshiftgui.exe")
    Sleep(500)
WEnd

; Copy ini file to PC
FileCopy(@ScriptDir & "\redshiftg.ini", @AppDataDir & "\redshiftg.ini")

; Run App
Run(@ScriptDir & "\redshiftgui.exe", "", @SW_HIDE)

; Wait for App to Load
; Sleep(5000)
ProcessWait("redshiftgui.exe");

; Remove ini file from PC
FileDelete(@AppDataDir & "\redshiftg.ini")

Exit


Complete Bundle Here

And of course replace redshiftg.ini with the your own - or adjust latlon=30.266900:-97.742800 (Austin, TX)

-GC


Top
 Profile  
 
 Post subject: Re: RedshiftGUI
PostPosted: Mon Jun 04, 2012 9:13 am 
Offline

Joined: Mon Jun 04, 2012 8:20 am
Posts: 2
Try this: link

Used AutoIt Script to copy over redshiftg.ini; run redshift; then delete redshiftg.ini footprint.

Autoit Code:
Code:
#NoTrayIcon
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=G:\PortableApps\(CUSTOM)RedShiftGUI\App\AppInfo\appicon.ico
#AutoIt3Wrapper_Res_Fileversion=1.0.0.0
#AutoIt3Wrapper_Res_LegalCopyright=Copyright © 2012 Page2PagePro.com
#AutoIt3Wrapper_Res_Language=1033
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
;; ############################################################################

; Terminate Running Siblings
While ProcessExists("redshiftgui.exe")
    ProcessClose("redshiftgui.exe")
    Sleep(500)
WEnd

; Copy ini file to PC
FileCopy(@ScriptDir & "\redshiftg.ini", @AppDataDir & "\redshiftg.ini")

; Run App
Run(@ScriptDir & "\redshiftgui.exe", "", @SW_HIDE)

; Wait for App to Load
;~ Sleep(5000)
ProcessWait("redshiftgui.exe");

; Remove ini file from PC
FileDelete(@AppDataDir & "\redshiftg.ini")

Exit


Use http://www.getlatlon.com/ to modify the redshiftg.ini latlong variable.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot 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:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group