AutoHotkey Community

It is currently May 27th, 2012, 6:54 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 145 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10
Author Message
 Post subject:
PostPosted: July 23rd, 2010, 2:53 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Probably the
Code:
PostMessage, 0x111, 32967,,,ToDoList © AbstractSpoon
did you try to run the script with UAC/administrator - is the title still the same?

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 23rd, 2010, 6:36 pm 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
Thx hugov! ToDoList has indeed change their title from:
Code:
PostMessage, 0x111, 32967,,,ToDoList © AbstractSpoon

To:
Code:
PostMessage, 0x111, 32967,,,ToDoList (c) AbstractSpoon

Perhaps the copyright symbol was causing too much challenge for others wanting to do similar things.
Once I made the change, the code works fine now. Just need to find time to re-compile and update the 1st page of this thread ;)

Thanks again!
Lars

_________________
Lars


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 23rd, 2010, 10:21 am 
Offline

Joined: August 21st, 2010, 9:55 pm
Posts: 6
I tried to delete the folder, but the folder 'Images' became locked, access denied. I couldn't even take ownership of it, even though I was the Admin. Any reason for this, or is this exclusive to me?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 23rd, 2010, 4:02 pm 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
1st I've heard of this issue. There's nothing in the code that would lock any folder. To be honest, I wouldn't know how even if possible through AHK.

It does sound unique to your system. As a possible remedy, have you tried to remove all the files within the images folder, then remove folder? Can you rename the folder?

_________________
Lars


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 23rd, 2010, 4:24 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Use something like unlocker http://www.autohotkey.com/forum/viewtop ... t=unlocker so you can see which programs prevents you to delete a file. Unlocker is what I'd use.

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 18th, 2010, 10:59 pm 
Offline

Joined: September 18th, 2010, 10:23 pm
Posts: 1
Hello Lars,

Thanks you for sharing this great script. I've been using this script for a little while now and find it very useful. One thing I like to use it for is switching between two tasks. Maybe work 30 minutes on one large task and then use the 10 minute "break" for smaller tasks. This keeps me a little more focused when writing AHK or SQL as I can get into daze staring at the code for to long. Because I use it like this, I'd like to add a suggestion (which may or may not be useful to anyone but me).

Suggestion:
Ability to use multiple sessions. My thought would be to have two options settings screen:
(1) traditional/simple work and break sessions (ie what it is now) or
(2) custom. The custom would just read from supplied delimited file with times for each session (ex: 45, 15, 30, 12). It would be easy to test for file correctness ("if time is not integer"). As for the break session, it could be the last one.

The hassle I see with this is the messages for multiple sessions. I'd guess you'd have to add more image files (numbers 0-9) and find a way to display the current work session number and maybe the minutes of the session.

I don't know how many other folks would find this useful, but it would grant the ability to set times for multiple tasks of varying importance, and keep you out of the "daze zone" when you have a lot to get done. If I get a chance I might look into seeing if I could help get something started.

Thanks again for the script!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 21st, 2010, 4:21 pm 
I would like to thank you for this script - it's very useful. Thank you!

But I would also like to point out one improvement that would definitely improve the program.

The whole work+rest methodology has two important points:
1. work fully on one task at a time, but when it's a time to rest - REST!
2. each work cycle you need to change the task

Your script does well with the first point, but is somewhat non-optimal with the second one. Currently I am generating the list of all the tasks I need to work on and they are written to the text file. But then, at the beginning of each work cycle, I need to copy next task and paste it as a new current task. This is pretty monotonic and takes a lot of time - half of my rest period (I use 12+3 method), which doesn't make much sense.

I would therefore like to suggest creating some kind of drop-menu, which would contain all the in-progress tasks (tasks that have not yet been closed) and show that list before the start of each work cycle. Voluntary auto-rotation of the tasks would be nice as well.

This feature would save a lot of time and hassle. I hope you find my suggestion good enough to be implemented!

Thanks again for the script!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 4th, 2010, 6:27 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
Thx Volair & Mixer for your compliments. While each of your suggestions are worthy of consideration & implementation, I just don't have time right now to do enhancements. I'm very sorry.
However, the source code is freely available. By all means tweak to your heart's content. All I ask is you share enhancements done.

Regards,

Lars

_________________
Lars


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Trouble iwth Icon?
PostPosted: March 14th, 2011, 7:53 am 
Karyss wrote:
Has anyone else had trouble with an error saying the icon won't load? I'm wondering if this is a Vista problem...

Thanks in advance for any help.


I figured out that it may be a problem with tic's tic-MakeICOBars-1.10.ahk script. When I try launching tic-MakeICOBars-1.10.ahk example.ahk I get a very similar error. Tic could you please take a look at this?

When running example.ahk in windows vista: http://screencast.com/t/lZ0tRnawIv

When running wb_timer.exe in windows vista:
http://screencast.com/t/SLioDsWYftc

basically the .ico file doesn't seem to be a valid .ico file, it cannot be opened with any program.

Thanks!!!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 30th, 2011, 7:07 pm 
Offline

Joined: September 22nd, 2011, 8:08 pm
Posts: 24
I was interested in what this script was all about but had issues getting it to run. Anyway still not sure if I am going to use it but....

I had to comment out this line (around line# 942) and tweak the next:
;DllCall("kernel32\MultiByteToWideChar", "Uint", 0, "Uint", 0, "Uint", &sFile, "Int", -1, "Uint", &wFile, "Int", 512)

DllCall("gdiplus\GdipCreateBitmapFromFile", "Uint", &sFile, "UintP", pBitmap)

Apparently the second function does not need the file massage that the first function is doing. I am a total novice at calling any API's so this is pure speculation.

Also had the same issue as previously reported above with the Menu, Tray, Icon line #445. I just commented it out to get the script to run.

Again this post is only to save others the debug time I put in to get it going.

Apparently I spoke to soon. It will load but now there are problems with the icon building section. If I have time I will investigate, maybe the same issue.


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 ... 6, 7, 8, 9, 10

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 19 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