AutoHotkey Community

It is currently May 27th, 2012, 1:07 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 54 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject:
PostPosted: January 30th, 2009, 11:04 am 
Offline

Joined: November 20th, 2008, 6:00 pm
Posts: 72
Location: Thionville, France
Biorhythms seems to be similar to astrology and that kinda stuffs, isnt'it?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 30th, 2009, 3:21 pm 
Offline

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

Correct;
It's pseudoscientific theory...
Not much real merit, but fun.

----------------------------------------

@TotalBalance

Too cool.
I recently found out that another AHK regular lives in my home town back in Indiana.

_________________
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, 8:19 pm 
Offline
User avatar

Joined: May 10th, 2007, 10:54 am
Posts: 649
Location: .switzerland
really nice one!

Its interesting, my live-cycles (never heard that beafore) are alwas very similiary/parallel. they go up and down all on the same time... is that good or not? :lol: Maby, sometimes I'm very strong, other ones extreme bad^^

_________________
http://securityvision.ch
AHK 2D GAME ENGINE


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 30th, 2009, 8:41 pm 
Offline

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

Since the frequency for each sine is different, they do ebb and flow, sometimes being very close to each other and other times polar opposites.

Glad you like it;
There's still a lot of work to be done.

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 9th, 2009, 9:56 pm 
Offline

Joined: May 2nd, 2006, 11:16 pm
Posts: 800
Location: Greeley, CO
As I discussed with TotalBalance in a previous post,
this code has become a big ol' pile of spaghetti,
so I have started a grass-roots re-write.

Right now, it's pretty much just a GUI,
though I have started to drop in some of the old
code that was solid enough to stay without re-writes.

What I'm looking for is input from the community
regarding the look and feel of the new interface.

Thanks -

Code:
#NoEnv
#SingleInstance force
#Persistent
SendMode Input
                       
;#Include, Data.ahk
;
; Since this build is not ready for the data file (Data.ahk),
; HelpText and AboutText will temporarily reside here.

HelpText =
(Join`n

The Cycles:

`tPhysical: 23-day Cycle
`tIndicator of strength, endurance, coordination and resistance to illness or infection.

`tEmotional: 28-day Cycle
`tIndicator of emotional state, passion, empathy, courage, enthusiasm, general
`toutlook and ability to deal with stress.

`tIntellectual: 33-day Cycle
`tIndicator of intellegence, alertness, memory, concentration and creativity.                                            `n

What they mean:

`tHigh (+):
`tHigh days occur when the graph is in the upper half of the chart.
`tYour capabilities and potential can be expected to be better than what is normal for you.

`tLow (-):
`tLow days occur when the graph is in the lower half of the chart.
`tYour capabilities and potential can be expected to be lower than what is normal for you.

`tCritical:
`tCritical days occur when the curve crosses the 'normal' line, whether moving up or down.
`tCritical days are a time of transition, flux, uncertainty, confussion and risk.
`tCritical days are the least stable day in any cycle.
)

AboutText =
(Join`n
Soggy Dog's Biorhythm Calculator v2.0.0.3         `n
Copyright (c) 2009

Coded by: Shannon D Gerton
Build Date: 03.09.09
)


; ------------------------------------------------------------------- CREATE RESOURCES / ICONS
ifNotExist %A_ScriptDir%\Resources\
{
    fileCreateDir, %A_ScriptDir%\Resources\
}

;ifNotExist %A_ScriptDir%\Resources\Icon.ico
;{
;    writeFile("Resources\Icon.ico","Icon_Piece1|Icon_Piece2")   
;}

; --------------------------------------------------------------------------- CREATE TRAY MENU
trayMenu:
;menu, Tray, Icon, Resources\Icon.ico
menu, Tray, noStandard
menu, Tray, Add, Help, Help
menu, Tray, default, Help
menu, Tray, Add
menu, Tray, Add, Exit, CloseApp

; -------------------------------------------------------------------------- BUILD RMCHART.DLL
ifNotExist %A_ScriptDir%\Resources\rmchart.dll
{
splashImage,, W250 H80 B1,
    , Soggy Dog Biorhythms`n`nInstalling Dependencies...`nPlease wait.,
writeFile("Resources\rmchart.dll","Chunk")   
splashImage, Off
}

Start:

; ---------------------------------------------------------------------------------- BUILD GUI
gui, Add, Tab, x10 y10 w660 h450 left buttons
   , Profiles|Chart|Compatibility|Options|Quick Start

gui, Tab, Profiles
gui, Add, groupBox, w620 h430, Profile Editor
gui, Font, Bold
gui, Add, Text, x66 y60, New Profile:
gui, Font
gui, Add, Edit, x136 y90 w220 h20 vnewProfileName,
gui, Add, Text, x66 y90 w70 h20 , Profile Name
gui, Add, DateTime, x136 y120 w220 h20 vnewProfileDate,
gui, Add, Text, x66 y120 w70 h20 , Date of Birth
gui, Add, Button, x316 y150 w40 h20 , Build
gui, Font, Bold
gui, Add, Text, x66 y180, Saved Profiles:
gui, Font
goSub, buildProfileList
gui, add, DropDownList, x66 y210 w200 gGetData vprofile, %List%
gui, add, Edit, x+10 w80 readOnly vprofileDate
gui, Font, s10 Bold
gui, Add, Text, x550 y400 w100 h40, Under Development
gui, Font

gui, Tab, Chart
gui, Add, groupBox, w620 h430, Biorhythm Chart
gui, Font, s10 Bold
gui, Add, Text, x60 y40 w100 h40, Under Development
gui, Font

gui, Tab, Compatibility
gui, Add, groupBox, w620 h430, Compatibility
gui, Font, s10 Bold
gui, Add, Text, x60 y40 w100 h40, Under Development
gui, Font

gui, Tab, Options
gui, Add, groupBox, w620 h430, Options
gui, Font, s10 Bold
gui, Add, Text, x60 y40 w100 h40, Under Development
gui, Font

gui, Tab, Quick start
gui, Add, groupBox, w620 h430, Biorhythms Quick Start
gui, Add, Text, x60 y40 , %helpText%

;menu, fileMenu, add, &New Profile, newProfile
;menu, fileMenu, add, &Load Profile, loadProfile
;menu, fileMenu, add, &Save Profile, saveProfile
menu, fileMenu, add, E&xit, closeApp
;menu, helpMenu, add, &Quick start, Help
menu, helpMenu, add, &About, About
menu, myMenuBar, add, &File, :fileMenu
menu, myMenuBar, add, &Help, :helpMenu

gui, Menu, myMenuBar
gui, Add, statusBar, ,Soggy Dog Biorhythms
gui, Show, h490 w680, Soggy Dog Biorhythms
return

; -------------------------------------------------------------------------------------- BUILD
buttonBuild:
msgBox, , Build is..., Under Development
return

; -------------------------------------------------- LABELS THAT HAVE NOT YET BEEN ESTABLISHED
; ------------------------------------------------------------- AND WILL LIKELY GO AWAY ANYWAY
newProfile:
loadProfile:
saveProfile:
2buttonHelp:
return

; --------------------------------------------------------------------------------------- HELP
Help:
msgBox,64,Help, %HelpText%,
return

; -------------------------------------------------------------------------------------- ABOUT
About:
msgBox,64,About, %AboutText%
return

; ------------------------------------------------------------------------- BUILD PROFILE LIST
buildProfileList:
List =
profileList =
ifNotExist %A_ScriptDir%\Resources\Profiles.ini
   list = No Saved Profiles
else
{
fileRead, profileList, %A_ScriptDir%\Resources\Profiles.ini
loop Parse, profileList, [
   {
   IfInString, A_LoopField, ]
      {
      StringSplit, Field, A_LoopField, ]
      List .= Field1 . "|"
      }
   }
StringTrimRight, list, list, 1
}
return

; ---------------------------------------------------------------------- RETRIEVE PROFILE DATA
getData:           ;-- Used to be called 'RetreiveIt'
iniRead, profileDate, %A_ScriptDir%\Resources\Profiles.ini, %profile%, DOB
guiControl, , profileDate, %profileDate%
return

; -------------------------------------------------------------------------- UPDATE STATUS BAR
updateStatusBar:
SB_SetText("Born on " . DisplayBirth . ", you are " . days . " days old today!", 1)
return

; --------------------------------------------------------------------------------------- EXIT
closeApp:
guiClose:
exitApp

; ---------------------------------------------------------------------------------- FUNCTIONS
; Veovis
; http://www.autohotkey.com/forum/viewtopic.php?t=10957
WriteFile(file,pieces)
{
   global
   local Handle,data,hex
   Handle :=  DllCall("CreateFile","str",file,"Uint",0x40000000
                  ,"Uint",0,"UInt",0,"UInt",4,"Uint",0,"UInt",0)
   Loop,parse,pieces,|
   {
     piece := %A_loopfield%
     data := data piece
   }
   Loop,
   {
     if strlen(data) = 0
         break
     StringLeft, Hex, data, 2
     StringTrimLeft, data, data, 2
     Hex = 0x%hex%
     DllCall("WriteFile","UInt", Handle,"UChar *", Hex
     ,"UInt",1,"UInt *",UnusedVariable,"UInt",0)
   }
   DllCall("CloseHandle", "Uint", Handle)
   return
  }

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2009, 3:36 am 
Offline
User avatar

Joined: September 8th, 2008, 12:26 am
Posts: 1048
Location: Ploieşti, RO
Most important thing IMHO is that AFAIK vertical tabs have been dropped in some recent version of Windows (Vista or 7, not sure). So theoretically it'd be fine with me since I'm consistently a 98-er, but you'd hear from the 'trendy' guys. ;)

That apart, I kinda dislike vertical tabs myself due to low readability of rotated fonts.

Another thing that comes to mind is the one-item menus that kinda clash with the tab buttons. Personally I'd see those tabs faked through some classic horizontal buttons one on top of the other, using the colored buttons script floating around. And you could easily add two more below: About and Exit. ;)

Enough from me at 4:30 AM - just wanted to show there's still interest in your work. Keep it up! 8)

_________________
AHK tools by Drugwash (AHK 1.0.48.05 and Win98SE)


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

Joined: May 2nd, 2006, 11:16 pm
Posts: 800
Location: Greeley, CO
I haven't worked on this project for quite some time, but wanted to get a notice out
to anyone that runs across this post in search of information regarding RMChart...

Links to RMChart have been dead for a couple months, so I assume it's not coming back.
I have the files for RMChart available here.

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 30th, 2009, 9:49 am 
Offline
User avatar

Joined: September 8th, 2008, 12:26 am
Posts: 1048
Location: Ploieşti, RO
Thanks. While playing around with the included demo I already got it crashing in the magnifier test. Hopefully it's not dll's fault. Anyway, I thought of reporting this in case you were going to take advantage of that function at some point.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 30th, 2009, 3:16 pm 
Offline

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

I hadn't planned on using that feature, but since the author, Rainer Morgen,
seems to have vanished from the face of the Earth, I too hope it's not the fault of the DLL.

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


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bon, sks, Yahoo [Bot] and 21 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