Jump to content
Sign in to follow this  
uznut

:\ having some issues

Recommended Posts

uznut

ok i can't get the filegettime to show up in a label is there something that im doing wrong?

Opt("GUICoordMode", 1)
Opt("GUINotifyMode", 1)
;----------------------------------------------------------------------------------------------------------------------------------------
GuiCreate("ACH PROCESSING", 294,187,10,10,0x04CF0000)
GUISetControl("button", "OK", 30,89, 85,55)
GUISetControl("button", "CANCEL", 180,89, 85,55)

GUISetControl("label", "Please check the DATE and choose one of the following", 10, 15, 290, 20 )

$radio1 = GuiSetControl("radio", "Morning ACH",  110, 35, 100)
$radio2 = GuiSetControl("radio", "ONUS ACH",  110, 55, 50)  
$t = FileGettime("C:\Documents and Settings\tsmith\Desktop\AUTOIT\diablo.au3" 
$yyyymd = $t[0] & "/" & $t[1] & "/" & $t[2]
GuiSetControl("label", "& $yyyymd &",  30, 150, 185)

GuiShow()

While 1
    sleep(100)
    $msg = GuiMsg(0)
    If $msg = -3 Then ExitLoop
WEnd
Exit

Share this post


Link to post
Share on other sites
CyberSlug

GuiSetControl("label", $yyyymd, 30, 150, 185)

or you could say

GuiSetControl("label", "" & $yyyymd & "", 30, 150, 185)

I expect your code literally printed & $yyyymd &

Hope that helps


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites
uznut

ty :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×