Jump to content

eagle51

Active Members
  • Posts

    21
  • Joined

  • Last visited

eagle51's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hallo together, what I want to do: move a specific E-Mail from the outlook default folder to another. e.g. "folder_new". My problem is the move-command for the email. What I found was $Message.Copy. But I don't know how to use this $oOutlook = ObjCreate("Outlook.Application") $oMAPI = $oOutlook.GetNameSpace ("MAPI") $InboxItems = $oMAPI.GetDefaultFolder ($oOutlookFolderInBox).Items ;Read all mails from inbox For $Pos = $InboxItems.Count To 1 Step - 1 $Message = $InboxItems.Item ($Pos) ; If sender = ......... ; HERE THE MOVE-MAIL COMMAND ... Thanks in advance e51
  2. works great. Thanks a lot !
  3. Seems to be working.. but... $url1 (the first argument) is opend in a single instance, while the other arguments (urls) are opend together in one instance..... So I get now 2 instances.. doesn't matter how URLs I want to open... 1st instance: $url1 2nd instance: $url2 , $url3, $url4 ...... and second question... What if I don't know how many urls I have? The problem could be solved with For ..... and then Run($command & $url, "", @SW_MAXIMIZE) but this doesn't work as mentioned above. Thanks
  4. Yes. I copy and pasted it I'm using FF 2
  5. same result I get five instances of firefox.exe
  6. Thanks for the great website Okey... Now Run("c:\FF\ff.exe new-tab " & $url1, "", @SW_MAXIMIZE)oÝ÷ Ú+0¢¹"nµú+{-jw¯{.Í7êêå×Múº¹vÓ~®®]ôß««7êêåäÚ0òÅç.µæ®¶­se'VâgV÷C¶3¢b3#´dbb3#¶fbæWRæWr×F"gV÷C²fײb33c·W&ÃÂgV÷C²gV÷C²Â5uôÔÔ¤R¥'VâgV÷C¶3¢b3#´dbb3#¶fbæWRæWr×F"gV÷C²fײb33c·W&Ã"ÂgV÷C²gV÷C²Â5uôÔÔ¤R¥'VâgV÷C¶3¢b3#´dbb3#¶fbæWRæWr×F"gV÷C²fײb33c·W&Ã2ÂgV÷C²gV÷C²Â5uôÔÔ¤R¥'VâgV÷C¶3¢b3#´dbb3#¶fbæWRæWr×F"gV÷C²fײb33c·W&ÃBÂgV÷C²gV÷C²Â5uôÔÔ¤R¥'VâgV÷C¶3¢b3#´dbb3#¶fbæWRæWr×F"gV÷C²fײb33c·W&ÃRÂgV÷C²gV÷C²Â5uôÔÔ¤R But that opens five FireFox instances... - sure, I call the Run-command five times. But I want them ALL in a SINGLE instance Hope you guys know what I mean. Furthermore, please apologize my bad english Have a nice day, Kesandal
  7. Hello together, I am using Opera and Firefox. Now I would like to know whether it's possible with autoit to open a URL in a NEW tab. For Firefox I found: Run(@ProgramFilesDir & "\Mozilla Firefox\firefox.exe " & $url, "", @SW_MAXIMIZE) But that command opens every time a new instance of firefox... - I want all the websites in different Tabs Hope you guys can help me. Thanks in advance, e51
  8. I'm not using the beta
  9. Outlook gets the e-mail in text-format. - It this is what you mean
  10. Hello out there, I'm searching a way to read mails from outlook and stroe then in an array. Exampe: Autoit should find mails with URLs begining with: http://www.autoitscript.com/forum/index.php?showtopic= and copy the FULL link to my array. Any idea ? Thx in advance eagle51
  11. I'm getting problems while trying to start or compile your file Fatal Error: AVector: []: Out of bounds. If I click on "ok" I close the message and nothing happens.... Maybe usefull: C:\Programme\AutoIt3\Include\A3LGDIPlus.au3 (2321) : ==> Subscript used with non-Array variable.: Return $aResult[0] <> 0 Return $aResult^ ERROR ->18:44:23 AutoIT3.exe ended.rc:1 +>18:44:24 AutoIt3Wrapper Finished >Exit code: 1 Time: 3.618 Hope u can help me, Kesandal Edit: Using Office 2003 Pro SP2. Installed Word and Outlook
  12. Hello, hope you guys can help me Here is the code... $ParentWin = GUICreate ("Bitte treffen Sie Ihre Auswahl", $gWidth, $gHeight) $ParentWin_Pos = WinGetPos($ParentWin, "") ; **** Erstellen von Menüs, Buttons etc.**** $m_men1 = GuiCtrlCreateMenu ("Funktionenen") $m_men2 = GuiCtrlCreateMenu ("?") $m_men1_pataufn = GuiCtrlCreateMenuitem ("Create",$m_men1) $m_men1_patstor = GuiCtrlCreateMenuitem ("Selete",$m_men1) $m_men1_line = GuiCtrlCreateMenuitem ("",$m_men1) $m_men1_beenden = GuiCtrlCreateMenuitem ("Close",$m_men1) $m_men2_hotkeys = GuiCtrlCreateMenuitem ("Hotkeys",$m_men2) $m_men2_hinweise = GuiCtrlCreateMenuitem ("Info",$m_men2) $m_men2_line = GuiCtrlCreateMenuitem ("",$m_men2) $m_men2_info = GuiCtrlCreateMenuitem ("?",$m_men2) GUICtrlCreateGroup ("Please choose an option...", 15, 10, 270, 120) $b_pataufn = GUICtrlCreateButton ("create", 25, 35, 250, 20) $b_patstor = GUICtrlCreateButton ("delete", 25, 60, 250, 20) $b_exit = GUICtrlCreateButton ("Beenden", 25, 100, 250, 20) GUISwitch($ParentWin) GUISetState () While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE or $msg = $m_men1_beenden or $msg = $b_exit Then GUIDelete() Exit EndIf If $msg = $m_men1_patstor or $msg = $b_patstor Then $ChildWin = GUICreate("delete", 275, 130, $ParentWin_Pos[0] + 50, $ParentWin_Pos[1] + 50) GUICtrlCreateLabel("Please enter a number (-1 for all).", 5, 10, 300, 50) $stor_anzahl =GuiCtrlCreateInput("",5,70,200,20) $b_s_ok =GUICtrlCreateButton("Ok", 5, 100, 70, 20) $b_s_abr =GUICtrlCreateButton("Abbrechen", 90, 100, 70, 20) GUISetState(@SW_SHOW) If GUIGetMsg() = $b_s_ok Then If $stor_anzahl = 1 Then ; code...... Endif If $stor_anzahl = "-1" Then ;code.... Endif What the script does: In the begining I create the main window where the user will be asked what he wants to do. If he click on "delete" a new window will op up (child) and the user will be asked to enter a number in an inputbox. Then he have to click on okey and the program should do the code If... =1 ... If = 2... and so on. In the main menu all buttons etc. are working. But if the child-window is active and the user click on "abbrechen" or "ok" nothing happens. can someone help me please to find the error? Thanks, eagle51
  13. great, I'll try it in a few minutes and report back Thanks
  14. Hi there, is it possible to save an image into my compiled exe-file? I need it for my splash-screen and don't want to send the exe and the image, if I want to give my script a friend. Thx and bye bye eagle51
×
×
  • Create New...