AutoHotkey Community

It is currently May 25th, 2012, 10:55 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 145 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 10  Next
Author Message
 Post subject: Re: needed enhancements
PostPosted: January 21st, 2008, 6:52 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
s_abrar wrote:
I think what's needed is a way to launch WB_Timer.exe from TDL where repeated tasks are predefined and can be passed into WB_Timer.exe as parameter?. In that case the estimate time will besome the time of the "Work" session.


I'll need to give it some thought.

s_abrar wrote:
Also when I loaded the latest vesion, I kept getting error for line 81 which I fixed by adding "Other Features" section to the ini file and adding ChosenTDLHotkey variable to "Helper Apps Settings" section.

Thanks for reminding me of this. It seems whenever new variables are added to the code, you either need to do as you've done or just delete the ini and treat it like a new install.

_________________
Lars


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: needed enhancements
PostPosted: January 21st, 2008, 7:55 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
TotalBalance wrote:
s_abrar wrote:
I think what's needed is a way to launch WB_Timer.exe from TDL where repeated tasks are predefined and can be passed into WB_Timer.exe as parameter?. In that case the estimate time will besome the time of the "Work" session.


I'll need to give it some thought.

OK, here my thoughts, for what it's worth.

I guess it depends on your perspective. "Which came first, the chiken or the egg?"

The underlying purpose of this script is to help people be more productive. The tool is an implementation of Merlin Mann's productivity hack "(10+2)*5" with a dose of David Allen's "Getting Things Done" principles. I want to make sure WB_TImer can stand on it's own with enough flexibility to hook into any "help app" as needed. Refer to original post for more details.

While you can run WB_Timer.exe from within TDL as a "User Defined Tool", for now, development will focus on improving core functionality and as time permits, support for 3rd party apps without dependency on them.

In other words, you don't need TDL to run WB_Timer. You lose the benefits TDL brings to the table, but it's not needed. Your feature request, if I've understood you right, would 1) require TDL 2) use WB-Timer in a way not originally intended. I hope this makes sense.

The good news is the source is included and licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0. Other than commercial use, feel free to 1) customize the code to meet your needs or 2) have someone smarter than me do it for you and 3) Share what you've done!

_________________
Lars


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 21st, 2008, 4:07 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Hi TotalBalance,

again, something minor. My first attempt at using RegRead.

If you add the code above the default Worktime := line it will
try to check if it can read and find the location of i_view32.exe
and fill the IrfanviewExe variable. If you delete your INI and
check the settings you will see the path is already filled in the
edit box. You can check if it works by temporarily renaming
i_view32.exe. If it can't find the EXE it finds in the Registry
it will make IrfanviewExe blank.

Code:
RegRead, IrfanviewExe, HKEY_LOCAL_MACHINE, SOFTWARE\Classes\Applications\i_view32.exe\shell\open\command
StringTrimRight, IrfanviewExe, IrfanviewExe, 6
StringTrimLeft, IrfanviewExe, IrfanviewExe, 1
IfNotExist, %IrfanviewExe%
   IrfanviewExe=
   
WorkTime := 48, BreakTime := 12, RepeatTimes := 3, ScreenCapTime := 20, ScreenCap := "0", ScreenSelect := 1, Sound := 1, AutoStart := "0", IrfanView := "0", ToDoList := "0", ChosenHotkey := "^!L"


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 21st, 2008, 9:54 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Hi,

reading the GUI documentation again I noticed that there is a
Center command so you could replace the earlier code to center
the New Task window with:
Code:
Gui, 99: Show, Center h218 w596, New Task

:D


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: needed enhancements
PostPosted: January 22nd, 2008, 1:49 am 
Quote:
Your feature request, if I've understood you right, would 1) require TDL 2) use WB-Timer in a way not originally intended. I hope this makes sense.


I guess my request is just to allow WB_Timer to take (optional) parameters. Like a command line version if you will.

Then calling it with or without parameters will depend on the users. I am sure even you appreciate the command line version of TDL. :D

Anyway, since I am a programmer myself (although not a windows programmer) I can take a look at this to see if I can add the functionality.

Hopefully you will add it to your builds. :shock:

On a separate topic, what's the use of the logfile? I don't get it.
And what are the new features MasterTaskList and Auto Start Enabled used for?


Report this post
Top
  
Reply with quote  
 Post subject: Re: needed enhancements
PostPosted: January 22nd, 2008, 6:59 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
s_abrar wrote:
I guess my request is just to allow WB_Timer to take (optional) parameters. Like a command line version if you will.
Then calling it with or without parameters will depend on the users. I am sure even you appreciate the command line version of TDL. :D

Understood and appreciated. The key parameters for WBT to call are "task", "tags" and "comments". I guess I don't want WBT to be TDL centric (at least for how others might use it). There may be something better than TDL down the road (can't imagine what it could be) and I don't want to put time into writing code I may have to retro fit later.
Can you recommend how to read key parameters in a way that's not dependent on TDL (e.g. re-use with other 3rd party apps)? If this doesn't make sense, read next response to understand why (hint: I'm not a programmer)

s_abrar wrote:
Anyway, since I am a programmer myself (although not a windows programmer) I can take a look at this to see if I can add the functionality.

That would be awesome. Especially as I'm not a programmer!! FYI, I'd love nothing more than others to take what's been done and do it right!

s_abrar wrote:
On a separate topic, what's the use of the logfile? I don't get it.
And what are the new features MasterTaskList and Auto Start Enabled used for?

Just released v. 2.80 Alpha. Review release notes and let me know if it's still doesn't make sense.
As for the AutoStart, if you've found the right configuration and don't intend to change it often, this option starts the timer on program launch without having to click "Start" in the menu tray.

_________________
Lars


Last edited by TotalBalance on February 25th, 2008, 6:09 am, edited 6 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 22nd, 2008, 7:02 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
WBT 2.80 Alpha released.

WB-Timer 2.80 Alpha - Fixes/Enhancements

Objective: Consolidate delimited files for future review and analysis.

* Based on Preference settings and actions, three files are created/updated by WBT.

A) "Start New Task":
A1) info saved to "TaskWorkLog.txt", delimited format.
a1) Optional (ToDoList):
a1a) New task (to be worked on Now) with info saved to selected TDL file.
a2b) TDL timer started.

B) "Capture New Task/Idea"
B1)info save to "TaskIdeaCapture.txt", delimited format.
b1) Optional (ToDoList):
b1a) New task/idea (to be reviewed/worked on later) with info saved to selected TDL file.
a2b) TDL timer NOT started.

C) "Master Task Journal" - When enableded in Preferences:
C1) info saved to "TaskMasterJournalLog.txt", delimited format.
C1a) saves both new task ("Start New Task") or task/idea for future review/work ("Capture New Task/Idea")
Note: "TaskMasterJournalLog.txt" contains an additional delimiter to identify whether task entered is "Active" (to be worked on now) or not.
"1" = Yes, "0" = No.

* To facilitate data manipulation, outside of this app, date/time variables have been normalized (sort of):
FormatTime, Day ,, dddd
FormatTime, Date ,, yyyy.MM.dd
FormatTime, Time ,, HH:mm:ss

dddd = Full name for the day of the week (e.g. Monday) in the current user's language
yyyy = Year with century. For example: 2005
MM = Month with leading zero (01 – 12)
dd = Day of the month with leading zero (01 – 31)
HH = Hours with leading zero; 24-hour format (00– 23)
mm = Minutes with leading zero (00 – 59)
ss = Seconds with leading zero (00 – 59)
For a complete list: http://www.autohotkey.com/docs/commands/FormatTime.htm

_________________
Lars


Last edited by TotalBalance on January 22nd, 2008, 7:04 pm, edited 2 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 22nd, 2008, 8:31 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
HugoV wrote:
reading the GUI documentation again I noticed that there is a Center command so you could replace the earlier code to center the New Task window with:
Code:
Gui, 99: Show, Center h218 w596, New Task



Now you tell me :cry: Just kidding. I'm no programmer, just a guy trying to help others get more done. Any help given is always appreciated.

_________________
Lars


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 23rd, 2008, 5:03 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
v. 2.81 Alpha update
Bug fix. Session "Repeat" option broken. Removed TDL exit code to fix.

_________________
Lars


Report this post
Top
 Profile  
Reply with quote  
 Post subject: A little help please?
PostPosted: January 23rd, 2008, 9:14 am 
Offline

Joined: January 23rd, 2008, 9:12 am
Posts: 1
When the GUI shows up, I want to hit "Enter" button and rest.
I don't want to seek for OK button with mouse. Is it doable?


Report this post
Top
 Profile  
Reply with quote  
 Post subject: questoin
PostPosted: January 24th, 2008, 12:57 am 
Lars,
I notice in the code that you are sending a message to TDL to begin the timer.

Code:
PostMessage, 0x111, 32967,,,ToDoList © AbstractSpoon


How do you figure out 32967 is for the timer? How are these related to differnt commands in TDL or any other app for that matter?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 24th, 2008, 1:02 am 
Hi Total Balance,
Just wanted to thank you for this App. It has made a difference to my productivity already. Much appreciated.

best wishes

Albert


Report this post
Top
  
Reply with quote  
 Post subject: Re: questoin
PostPosted: January 24th, 2008, 1:33 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
s_abrar wrote:
I notice in the code that you are sending a message to TDL to begin the timer.

Code:
PostMessage, 0x111, 32967,,,ToDoList © AbstractSpoon


How do you figure out 32967 is for the timer? How are these related to differnt commands in TDL or any other app for that matter?

This line of code was thanks to ..dB.. over at the TDL forum. "PostMessage" and it's attributes are documented in the AHK documentation. If still unsure how to use PostMessage to call commands in other apps, ask some of the AHK experts who frequent here - they've helped me a lot. I wouldn't begin to try to explain how it works. Just glad it does :oops:
..dB.. also posted a few ahk scripts for TDL and the link below gives a list of TDL arguments he identified. I just plugged in the argument to "toggle timer" and vola. Perhaps Dan over at TDL has an updated arguments list available?

http://www.autohotkey.net/~DoubleBogey/_sgg/f10205.htm

_________________
Lars


Last edited by TotalBalance on January 24th, 2008, 1:45 am, edited 2 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 24th, 2008, 1:34 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
Anonymous wrote:
Just wanted to thank you for this App. It has made a difference to my productivity already. Much appreciated.

Hi Albert, thanks for your kind words, always appreciated. Glad to hear it's helping with what you do :)

_________________
Lars


Last edited by TotalBalance on January 24th, 2008, 7:42 am, edited 2 times in total.

Report this post
Top
 Profile  
Reply with quote  
PostPosted: January 24th, 2008, 1:39 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
kutay2005 wrote:
When the GUI shows up, I want to hit "Enter" button and rest.
I don't want to seek for OK button with mouse. Is it doable?

Hi kutay,
Not sure about setting the Enter key but I should be able to figure out a way to change the graphics so ALT-O "OK" does what you want. I'll put it on my todo for each of the graphic GUIs - Work, Break, End/Repeat.

_________________
Lars


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 145 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 10  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: ELengefeld and 4 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