AutoHotkey Community

It is currently May 26th, 2012, 2:50 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 54 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject:
PostPosted: November 26th, 2008, 4:18 am 
Offline
User avatar

Joined: September 8th, 2008, 12:26 am
Posts: 1048
Location: Ploieşti, RO
I'm not standing barefooted in cold water so take your time - I'm just sticking labels containing the ideas that pour out of my head. :)

_________________
AHK tools by Drugwash (AHK 1.0.48.05 and Win98SE)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 26th, 2008, 4:31 am 
Offline

Joined: May 2nd, 2006, 11:16 pm
Posts: 800
Location: Greeley, CO
Cool... My own personal Post-it Note. :D

_________________
Image
SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 6th, 2009, 5:19 pm 
Offline

Joined: January 6th, 2009, 5:16 pm
Posts: 1
:!: This is awesome :!:

_________________
TinCup


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 7th, 2009, 6:45 am 
Offline

Joined: August 1st, 2008, 8:50 am
Posts: 19
Location: South Africa
This ia an awesome application! I use it often to see what my week holds for me! I have found an old book with 100s of this type of cycles Ill post some interesting ones as I work my way through.

SoggyDog: Nice work as usual... keep them comming maybe you can keep extending it.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2009, 12:05 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
Great work SoggyDog. Thx. for the awesome effort.

Question:
I've looked at the code and figured out how to change the default name, month and year to my birthday but can't figure out what to modify to change the default day from 2 to 17? Can anyone help?

_________________
Lars


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2009, 1:19 am 
Offline

Joined: May 2nd, 2006, 11:16 pm
Posts: 800
Location: Greeley, CO
@TotalBalance

Line 113 (or around there anyway, I've modified the code since I last posted);

Code:
If a_index = 2        ; <-- Default day of the month


And, if you're the only one using this, you can hard-code your name on line 258;

Code:
064-16737997|100651|10066-989556|10180|10181%Profile% Biorhythm Chart for


becomes

Code:
064-16737997|100651|10066-989556|10180|10181YOUR-NAME-HERE Biorhythm Chart for


And, if you do that, you can then comment out line 140;

Code:
Gui, Add, Edit, x16 y35 w130 vProfile


And, 246 - 249

Code:
If Profile
{
Profile = %Profile%'s
}


Eventually, this won't be a problem because I hope to get back to work on this soon and implement the Save/Load Profiles feature.

_________________
Image
SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."


Last edited by SoggyDog on January 29th, 2009, 1:29 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2009, 1:29 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
Tried that, perhaps because it's in a loop that doesn't go past 09 e.g.
line 110
Code:
If a_index < 10
couldn't figure out how to assign 17 as the default. It does however work up to 09.

_________________
Lars


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2009, 1:30 am 
Offline

Joined: May 2nd, 2006, 11:16 pm
Posts: 800
Location: Greeley, CO
Good point...
Let me look...

Okay...

Move lines 113 - 116 to AFTER 120;

Code:
DateList =
Loop, 31
{
  If a_index < 10
  {
  DateList = %DateList%0%a_index%|
    If a_index = 2        ; <-- Default day of the month
    {
    DateList = %DateList%|
    }
  }
  else
  {
  DateList = %DateList%%a_index%|
  }
}
StringTrimRight, DateList, DateList, 1


becomes

Code:
DateList =
Loop, 31
{
  If a_index < 10
  {
  DateList = %DateList%0%a_index%|
   
  }
  else
  {
  DateList = %DateList%%a_index%|
  If a_index = 17        ; <-- Default day of the month
    {
    DateList = %DateList%|
    }
  }
}
StringTrimRight, DateList, DateList, 1


Also, if you want to hard-code your name, it would probably be easier to just change line 140 to;

Code:
Profile = Your Name


...instead of all that other stuff in the previous post.

_________________
Image
SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."


Last edited by SoggyDog on January 29th, 2009, 1:38 am, edited 3 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2009, 1:35 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
SoggyDog wrote:
@TotalBalance

And, if you're the only one using this, you can hard-code your name on line 258;

Code:
064-16737997|100651|10066-989556|10180|10181%Profile% Biorhythm Chart for


becomes

Code:
064-16737997|100651|10066-989556|10180|10181YOUR-NAME-HERE Biorhythm Chart for


FYI, I did it making this mod to around line 141:

Code:
Gui, Add, Edit, x16 y35 w130 vProfile, Lars

Update, I like your updated suggestion better. Thanks!

_________________
Lars


Last edited by TotalBalance on January 29th, 2009, 1:46 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2009, 1:40 am 
Offline

Joined: May 2nd, 2006, 11:16 pm
Posts: 800
Location: Greeley, CO
Funny, I just edited the last post with another option for hard-coding your name. I like your solution best.

Did the date thing work out for you?

As I mentioned, eventually you'll be able to save and load Profiles and it won't matter.

I'll also be re-writing the code for entering your data, too, so that it uses a dateTime control instead of the clunky GUI it uses now.

Thanks a ton for your interest!

_________________
Image
SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."


Last edited by SoggyDog on January 29th, 2009, 1:45 am, edited 2 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2009, 1:41 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
Quote:
Okay...

Move lines 113 - 116 to AFTER 120;


Worked like a charm. Thanks! Looking forward to some of the planned enhancements!

_________________
Lars


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2009, 11:54 pm 
Offline

Joined: May 2nd, 2006, 11:16 pm
Posts: 800
Location: Greeley, CO
At long last, the ability to Load and Save Profiles has been added!!!

The new features are still in need of refinement and fine-tuning, along with some
error checking and some in-depth testing, but I have run out of time for the day.

It's in there, though, and IS functional.

See top post for download.

_________________
Image
SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 30th, 2009, 12:10 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
Nice updates. I'll wait till you finish the fine-tuning before commenting further. Thx!

_________________
Lars


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 30th, 2009, 1:54 am 
Offline

Joined: May 2nd, 2006, 11:16 pm
Posts: 800
Location: Greeley, CO
TotalBalance wrote:
I'll wait till you finish the fine-tuning before commenting further. Thx!

I appreciate that;
The more I play with it, the more I find wrong with it.

This has been a 'Work in Progress' for so long that my style has changed, naming conventions have drifted and code blocks no longer flow in a logical and effective manner. It's almost to the point where it's too "patch-worked" to keep working on without a grass-roots re-write.

_________________
Image
SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 30th, 2009, 9:15 am 
Offline

Joined: January 22nd, 2007, 11:24 pm
Posts: 206
Location: CO, USA
Understand entirely. Sounds like fun :twisted: BTW, just noticed we're almost neighbors, in a global sense (e.g. Castle Rock).

_________________
Lars


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: daonlyfreez, Google [Bot] and 13 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