Welcome Guest.   Make a donation to an author on the site September 19, 2014, 06:51:35 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
View the new Member Awards and Badges page.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: Prev 1 [2]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: (Pre) Release: sChecklist  (Read 9997 times)
mouser
First Author
Administrator
*****
Posts: 33,361



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #25 on: June 16, 2014, 09:47:28 AM »

FYI:

I have tried using a tab for options on the main dialog of a small utility many times before.. In my case, it never survives more than a few updates.. Eventually the mismatch in appropriate sizes for the windows, or the ever growing number of options, eventually seems to force me to make standalone options.
Logged
skwire
Moderator
*****
Posts: 4,075



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #26 on: June 22, 2014, 11:49:54 PM »

@BGM: I added one of your requests.

Website | Download
v1.0.5 - 2014-06-22
    + Added new option to load last selected checklist on startup.
      (Thanks, BGM)
    * Fixed a checklist loading loop that happened for checklists
      longer than 37 items.  Don't ask...  =]

v1.0.4 - 2014-06-22
    * Deleting a checklist didn't always work properly.
Logged

Jarius Elliott
Charter Member
***
Posts: 3

View Profile Give some DonationCredits to this forum member
« Reply #27 on: June 28, 2014, 08:04:13 AM »

I love the simplicity. While reluctant to add any hint of complexity to an elegant app - how about the ability to add a short note to an entry?
Logged
skwire
Moderator
*****
Posts: 4,075



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #28 on: June 28, 2014, 09:59:31 AM »

I love the simplicity. While reluctant to add any hint of complexity to an elegant app - how about the ability to add a short note to an entry?

By that, do you mean an extra column?
Logged

firace
Participant
*
Posts: 4

View Profile Give some DonationCredits to this forum member
« Reply #29 on: July 20, 2014, 10:29:47 AM »

Any chance the checked items can also have strikethrough?

Unfortunately, I'm pretty positive AutoHotkey cannot strikethrough individual lines in its listview handling options.  The best I could do would probably be to offer colouring options for the rows.  However, that involves a separate library and comes with its own set of potential issues.

Assuming Listviews accept Unicode characters, this simple hack should work, hopefully... smiley
I've just tested it under AHK 1.1, Win XP, and MS Word.  Unfortunately, I can't remember where I came across this trick.

[copy or print]
^#v::
  str := clipboard, out := ""
  loop % strlen(str)
    out .= SubStr(str, A_Index, 1) Chr(0x336)
  SendInput %out%
return

« Last Edit: July 20, 2014, 11:26:24 AM by firace » Logged
firace
Participant
*
Posts: 4

View Profile Give some DonationCredits to this forum member
« Reply #30 on: July 20, 2014, 11:14:21 AM »

I've just tested it with a standard listview and it works beautifully for me...  Even with accented characters!
I hope you can actually use this in sCheckList.

EDIT: Cleaned up code.




[copy or print]
Gui, Add, ListView, r20 w330 gMyListView, Name|Size (KB)

Loop, C:\*.*
    LV_Add("", A_LoopFileName, A_LoopFileSizeKB)

LV_ModifyCol() 
LV_ModifyCol(2, "Integer") 

Gui, Show
return

MyListView:
if A_GuiEvent = DoubleClick
{
LV_GetText(RowText, A_EventInfo) 

if  checked%A_EventInfo%
out := Unstrike(RowText)
else
out := Strike(RowText)

checked%A_EventInfo% := !checked%A_EventInfo%  
LV_Modify(A_EventInfo,Col1, out)

}

return

Strike(str)   {
    loop % strlen(str)
      result .= SubStr(str, A_Index, 1) Chr(0x336)
return result
}


Unstrike(str)   {
    loop % strlen(str)
      StringReplace, result,str, % Chr(0x336),, All
return result
}
 
GuiClose: 
ExitApp
« Last Edit: July 21, 2014, 01:34:20 PM by firace » Logged
tomos
Charter Member
***
Posts: 8,520



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #31 on: July 22, 2014, 05:09:39 AM »

I think I broke it embarassed

I had created a template list and had duplicated it and renamed it.
Then I (unintentionally!) crashed sChecklist by resizing the list column after having resized the window.
When I restarted, the last created list was not shown, so I tried to recreate it - but wasnt allowed use the same name.
It is there in the Checklist folder but is not shown.
I restarted sChecklist again, and now the duplicated template which I could not rename - that doesnt show either - i.e. new lists are being created and saved, but they are not being remembered by the app.



OK
I think I fixed it again smiley
I edited the dat file to include the list I wanted (tiffs in screenshot above) and deleted the other unwanted duplicate.
Now when I add a new list it is saved on close thumbs up
Logged

Tom
tomos
Charter Member
***
Posts: 8,520



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #32 on: July 22, 2014, 05:12:12 AM »

Minor icing-on-the-cake type request:
F2 to edit list name
Logged

Tom
skwire
Moderator
*****
Posts: 4,075



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #33 on: July 25, 2014, 07:26:49 PM »

Assuming Listviews accept Unicode characters, this simple hack should work, hopefully...

Nice little hack.  I'll see what I can do to incorporate it.

Minor icing-on-the-cake type request:
F2 to edit list name

I'll see what I can do about this, too.
Logged

skwire
Moderator
*****
Posts: 4,075



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #34 on: July 28, 2014, 12:13:46 PM »

Minor icing-on-the-cake type request:
F2 to edit list name

Added in the latest build:

Website | Download
v1.0.6 - 2014-07-28
    + Pressing F2 now works to edit a checklist name.  (Thanks, tomos)


Assuming Listviews accept Unicode characters, this simple hack should work, hopefully...

I played with this hack a bit more and it works fine for shorter strings.  However, for longer strings, it seems to truncate the output when updating the row with the struck-through data.  So, unfortunately, I won't be able to add this.
Logged

tomos
Charter Member
***
Posts: 8,520



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #35 on: July 29, 2014, 08:02:50 AM »

Minor icing-on-the-cake type request:
F2 to edit list name

Added in the latest build:

Website | Download
v1.0.6 - 2014-07-28
    + Pressing F2 now works to edit a checklist name.  (Thanks, tomos)
very nice, works a treat Kiss

Keyboard navigation works lovely as well I see thumbs up (hadnt tried it before)
Logged

Tom
skwire
Moderator
*****
Posts: 4,075



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #36 on: September 09, 2014, 07:22:12 AM »

Tom, would you mind giving this a test and see if you can trigger that freeze-whilst-resizing bug?

Website | Download
v1.0.7 - 2014-09-09
    * Made some changes to, hopefully, fix the freeze-while-resizing bug.
    ! Choosing File, Exit from the menu only minimized to the tray.
Logged

tomos
Charter Member
***
Posts: 8,520



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #37 on: September 09, 2014, 10:37:58 AM »

Tom, would you mind giving this a test and see if you can trigger that freeze-whilst-resizing bug?

Website | Download
v1.0.7 - 2014-09-09
    * Made some changes to, hopefully, fix the freeze-while-resizing bug.
    ! Choosing File, Exit from the menu only minimized to the tray.


You'll be happy to hear Jody that I'm unable to crash or freeze it thumbs up thumbs up
Logged

Tom
skwire
Moderator
*****
Posts: 4,075



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #38 on: September 09, 2014, 10:50:47 AM »

You'll be happy to hear Jody that I'm unable to crash or freeze it thumbs up thumbs up

I'm not exhaling just yet but this is a good sign.  Thank you for testing.
Logged

tomos
Charter Member
***
Posts: 8,520



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #39 on: September 17, 2014, 06:26:54 AM »

Review by RGdot

sChecklist For Fast And Easy Lists
Logged

Tom
skwire
Moderator
*****
Posts: 4,075



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #40 on: September 17, 2014, 07:28:41 AM »

Thanks, Tom and RGdot.   cheesy
Logged

Pages: Prev 1 [2]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.047s | Server load: 0.36 ]