Jump to content

Nina

Members
  • Posts

    14
  • Joined

  • Last visited

Everything posted by Nina

  1. I don't really get what you mean, the option script recording and playback is no longer available(grey due to internal reasons).
  2. Dear Forum Members, I was wondering if there is maybe an UDF or a way to automate SAP without Having access to SAPgui Scripting. Thank you in advance, Nina
  3. Thank you very much!
  4. what I'm trying to do is to search a word in google, then return the title of the first 3 links that were found. I checked the HTTML code of the google research page and the title is between <h3 class="LC20lb DKV0Md"> and </h3> . I have updated my code, and for now I managed to have it partially working(it returns the first title) but, there is an issue somewhere, because it only returns the first title and then it shows the following error _IETagNameGetCollection($findH3, "h3")
  5. I think my post is not very clear, for the '<h3 ….>' it's just an exemple, The text I would like to extract is between <h3 class="LC20lb DKV0Md"> and </h3>
  6. Jos, I'm sorry, didn't mean to be impolite, after posting the question in the topic which was already posted, I noticed that it's very old and though that maybe it was wrong to post it there. so I opened a new topic. As per my question, I must have deleted the parenthese by mistake while typing my question, anyway, it's not working(even with the parenthese)..
  7. hello I found the the below code in the forum and it works only to extract the title #Include <String.au3> #Include <INET.au3> $html = _StringBetween(_INetGetSource('http://somdcomputerguy.com'), '<title>', '</title>') MsgBox(0, "title", $html[0]) when I put $html = _StringBetween(_INetGetSource('http://www.google.com/search?q=autoit', '<h3 ….>', '</h3>') MsgBox(0, "title", $html[0]) it doesn't work, is maybe because it finds many </h3>? can you please point me to the right direction?
  8. hi the below code works, but when I change <title> and put <h3 class = ...> it doesn't work #Include <String.au3> #Include <INET.au3> $html = _StringBetween(_INetGetSource('http://somdcomputerguy.com'), '<title>', '</title>') MsgBox(0, "title", $html[0])
  9. it works 🥂 thank you very much
  10. Thank you for your help, it works perfectly now. can you please tell me in which function can I add a parameter to get only unread emails from a particular sender moved to the folder instead of moving all unread emails? thank you in advance, your help is much appreciated. Nina
  11. thank you for your response, I corrected and it seems to create a new folder "unread mails", however, the function _OL_ItemMove doesn't move the unread emails to the new folder, it shows error# 6 and extended: -2147024809 _OL_ItemMove($oOutlook, $item_find[1][0], Default, "*unread Mails")
  12. Hi Water Thank you very much for sharing your UDFs. I know that there is many similar issues to the one I have already on the forum, but I tried different codes and nothing worked for me since I'm new to autoit and to programing in general I have hard time figuring this out: I'm trying to use your OutlookEX UDF to move unread emails from a specific sender to a folder. For now I was trying to see if I can manage to move unread emails from all users to the folder "Unread mails" but it doesn't work can you please tell me what is the issue with my code? #RequireAdmin #include <File.au3> #include <Array.au3> #include <OutlookEX.au3> Global $oOutlook = _OL_Open() $vFolder = _OL_FolderAccess($oOutlook, "*") $item_find =_OL_ItemFind($oOutlook, $vFolder, $olMail,"[UnRead]=True", "", "", "", "", 1) if $item_find[0][0] = 0 Then MsgBox(0, "", @error & "/" & @extended) _ArrayDisplay($item_find, "unread emails") _OL_ItemMove($oOutlook, $item_find[1][0], Default, "*unread Mails")
  13. Melba23, Thank you very much, it's clear now. Yes I wanted it to display the score Nina
  14. Hi, I'm new to AutoIT, I Have a loop that I would like it to exit if the value of the variable $false = 1, but it doesn't work. I know that I can use exitloop, but for my learning purposes I would like to understand why my code doesn't exit when the value of $false changes to 1 Global $Question1, $Question2, $Question3, $false, $true, $score Global $Reponse1, $Reponse2, $Reponse3 $Reponse1 = '+' $Reponse2 = '+' $Reponse3 = '-' $false = 0 while $false = 0    $Question1 = InputBox("Question 1","Question 1? :")    If $Question1 <> $Reponse1 Then       $false = 1    EndIf    $Question2 = InputBox("Question 2", "Question 2 :")    if $Question2 <> $Reponse2 then      $false = 1    EndIf    $Question3 = InputBox("Question 3","Question 2 :")    if $Question3 <> $Reponse3 Then      $false = 1     EndIf    MsgBox(0, "Resultat", "votre score est :", $false)    WEnd
×
×
  • Create New...