Jump to content

Search the Community

Showing results for tags 'yday'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. hi i have some calculate problems... here is the code. Func date() if $ar=@year And (($dag+14 ) < @yday) then Call("monad") else MouseClick("left",448, 164) Sleep(500) MouseClick("left",466, 230) endif EndFunc Func monad() do if $month = "jan " Then MouseClick("left",448, 164) Sleep(500) MouseClick("left",524, 228) ExitLoop Else $dag=$dag +31 EndIf if $month = "feb " Then MouseClick("left",448, 164) Sleep(500) MouseClick("left",524, 228) ExitLoop Else $dag=$dag+29 EndIf if $month = "mar " Then MouseClick("left",448, 164) Sleep(500) MouseClick("left",524, 228) ExitLoop Else $dag=$dag+31 EndIf if $month = "apr " Then MouseClick("left",448, 164) Sleep(500) MouseClick("left",524, 228) ExitLoop Else $dag=$dag+30 EndIf if $month = "may " Then MouseClick("left",448, 164) Sleep(500) MouseClick("left",524, 228) ExitLoop Else $dag=$dag+31 EndIf if $month = "jun " Then MouseClick("left",448, 164) Sleep(500) MouseClick("left",524, 228) ExitLoop Else $dag=$dag+30 EndIf if $month = "jul " Then MouseClick("left",448, 164) Sleep(500) MouseClick("left",524, 228) ExitLoop Else $dag=$dag+31 EndIf if $month = "agu " Then MouseClick("left",448, 164) Sleep(500) MouseClick("left",524, 228) ExitLoop Else $dag=$dag+31 EndIf if $month = "sep " Then MouseClick("left",448, 164) Sleep(500) MouseClick("left",524, 228) ExitLoop Else $dag=$dag+30 EndIf if $month = "oct " Then MouseClick("left",448, 164) Sleep(500) MouseClick("left",524, 228) ExitLoop Else $dag=$dag+31 EndIf if $month = "nov " Then MouseClick("left",448, 164) Sleep(500) MouseClick("left",524, 228) ExitLoop Else $dag=$dag+30 EndIf if $month = "dec " Then MouseClick("left",448, 164) Sleep(500) MouseClick("left",524, 228) ExitLoop Else $dag=$dag+31 EndIf until 1=1 EndFunc and here is where the problems is. Func date() if $ar=@year And (($dag+14 ) < @yday) then Call("monad") else MouseClick("left",448, 164) Sleep(500) MouseClick("left",466, 230) endif EndFunc the problem is that the calculation does not work. i want the script to take the year and the month and the day a person registerd on a forum, and thats works perfektly. but i have this calculation becuse i want the script to know if the person was last active on the forum in the past 14 days. but now it is saying that every one who registerd at the year of 2012 have been online during the past 14 days but that is not correct. so if someone knows a cleaver way to slow this and like to share it with me i will be very thanks full and you will be a
×
×
  • Create New...