Jump to content

News system


YuChan
 Share

Recommended Posts

  • Moderators

@YuChan We operate on a "Teach a Man to Fish" motto. If you want help with something specific, you need to provide the following:

  • Exactly what you are trying to do
  • What you have tried on your own
  • Where you are stuck.

No one here is going to write it for you.

Also, if you are a beginner as you state, perhaps you should spend some time going through the help file and trying out the examples, rather than trying to launch right into the deep end with "a news system".

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

@YuChan I assume you mean "tuto" as in "tutorial", and the answer is that there are no tutorials available for creating a news system.

Though we can help you if you can elaborate on what kind of news station you want to make :)

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Link to comment
Share on other sites

I want colaborate but im french it's hard to understand.

I have this:
 

Func _chargementNews()
    $bNews = InetRead("https://127.0.0.1/news.txt",1)
    If @error Then MsgBox(64,"ALERT","Impossible de recuperer les News !")
    $news = BinaryToString($bNews)
    $finalNews = StringSplit($news,"next",1 + 2)
    $arraySize = UBound($finalNews)

    For $i = 0 To $arraySize - 2 Step + 2
        $previousJournalNews = GUICtrlRead($journalNews)
        If $previousJournalNews <> "" Then
            GUICtrlSetData($journalNews, $finalNews[$i] & @CRLF & $finalNews[$i + 1] & @CRLF & $previousJournalNews)
        Else
            GUICtrlSetData($journalNews, $finalNews[$i] & @CRLF & $finalNews[$i + 1])
        EndIf
    Next
EndFunc

But i don't know how is a news file.

Can you help me ?

THX

Link to comment
Share on other sites

There is an unofficial dedicated French forum for AutoIt: https://www.autoitscript.fr/forum/

You may get more help there. By the way, are you just trying to read a web page and extract news from it?

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Link to comment
Share on other sites

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...