Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/07/2018 in all areas

  1. 1. Description. Automate communication with Gmail API using oAuth 2.0 security. 2. Requirements. Google Gmail account. Finished Authorization process. Look here 3. Possibilities. ;======================================================================================================================== ; Date: 2018-02-12, 11:46 ; ; Bug Fixs: 2018-02-17, 7:31 -> Fixed problems with adding items to array and minor bugs. ; ; Description: UDF for using Gmail API interface. This UDF requires oAuth.au3 and Gmail account. ; ; Function(s): ; gmailUsersGetProfile() -> Information about your account. ; gmailUsersLabelsList() -> Get all available labels ids. ex. "INBOX", "UNREAD" ; gmailUsersLabelsGet() -> Get information about specific label id. ; gmailUsersMessagesBatchDelete() -> Delete many messages emails by id. ; gmailUsersMessagesBatchModify() -> Set status for many messages ex. "INBOX", "UNREAD" ; gmailUsersMessagesDelete() -> Totaly delete email from ur account. ; gmailUsersMessagesGet() -> Get all information about specific email. ; gmailUsersMessagesList() -> Get list of last ~100 emails. ; gmailUsersMessagesModify() -> Modify single message. ; gmailUsersMessagesTrash() -> Put email in trash. ; gmailUsersMessagesUntrash() -> Restore email from trash. ; gmailUsersMessagesSend() -> Send email to single or group recipients. ; gmailUsersMessagesAttachmentsGet() -> Download attachment by id. ; ; Author(s): Ascer ;======================================================================================================================== 4. Downloads. oAuth.au3 Gmail API.au3 5. Examples. Sending emails
    1 point
  2. Hello Bilgus, Thank you for the tips on using gdi objects and providing a great example. This simple script will be very useful for me. I appreciate your experience and willingness to share. taurus905
    1 point
  3. 1 point
  4. Ok, that means you are using the lite version of SciTE that comes with the AutoIt3 Installer, so guess you have made some changes to the setup or installed an update. You are probably used to use the Full version of SciTE4AutoIt3, which is the separate installer and has the Ctrl+F7 menu to specify the options for compilation and SciTEConfig to define your own Keywords/functions. Just download and reinstall it. Jos
    1 point
  5. Show me the output from the SciTE outputpane when doing the compile so I can see what you are running. Jos
    1 point
  6. TAMIRI, Not too difficult: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Global $bInterrupt = False Global $Form1 = GUICreate("Form1", 623, 444, 192, 114) Global $StartButton = GUICtrlCreateButton("Start", 88, 192, 171, 25) Global $EndButton = GUICtrlCreateButton("Stop", 320, 192, 203, 25) GUICtrlSetState($EndButton, $GUI_DISABLE) GUISetState(@SW_SHOW) GUIRegisterMsg($WM_COMMAND, "_WM_COMMAND") While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit Case $StartButton Start() EndSwitch WEnd Func Start() $bInterrupt = False GUICtrlSetState($StartButton, $GUI_DISABLE) GUICtrlSetState($EndButton, $GUI_ENABLE) While $bInterrupt = False Sleep(50) ConsoleWrite("again" & @CRLF) WEnd GUICtrlSetState($StartButton, $GUI_ENABLE) GUICtrlSetState($EndButton, $GUI_DISABLE) $bInterrupt = False EndFunc ;==>Start Func _WM_COMMAND($hWnd, $Msg, $wParam, $lParam) ; The Stop button was pressed so set the flag If BitAND($wParam, 0x0000FFFF) = $EndButton Then $bInterrupt = True EndIf Return $GUI_RUNDEFMSG EndFunc ;==>_WM_COMMAND The tutorial explains what is going on. M23
    1 point
  7. Melba23

    Click input

    malble12i, You need to add that additional GUICtrlSetState line immediately after the control creation line - just as I posted it above. Then you will have the cursor in the input when the GUI opens. M23
    1 point
  8. Did you try this? ControlClick("CTI Toolkit Agent Desktop", "", "[Instance:22]")
    1 point
  9. Burgaud, This should get you started: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Global $GUIMinX = 0.5 * @DesktopWidth Global $GUIMinY = 0.5 * @DesktopHeight Global $MW = GUICreate("Test", $GUIMinX, $GUIMinY, -1, -1, BitOR($GUI_SS_DEFAULT_GUI, $WS_MAXIMIZEBOX, $WS_SIZEBOX)) local $Panel1 = GUICtrlCreateLabel("Names", 5, 5, 200, 150) GUICtrlSetBkColor($Panel1, 0xFFCCCC) GUICtrlSetResizing($Panel1, BitOR($GUI_DOCKSIZE, $GUI_DOCKALL)) local $Panel2 = GUICtrlCreateList("", 210, 5, $GUIMinX-215, 150) GUICtrlSetResizing($Panel2, BitOR($GUI_DOCKAUTO, $GUI_DOCKHEIGHT, $GUI_DOCKTOP)) local $Panel3 = GUICtrlCreateLabel("Address", 5, 160, 200, 150) GUICtrlSetBkColor($Panel3, 0xCCFFCC) GUICtrlSetResizing($Panel3, BitOR($GUI_DOCKSIZE, $GUI_DOCKALL)) local $Panel4 = GUICtrlCreateList("", 210, 160, $GUIMinX-215, 150) GUICtrlSetResizing($Panel4, BitOR($GUI_DOCKAUTO, $GUI_DOCKHEIGHT, $GUI_DOCKTOP)) local $Panel5 = GUICtrlCreateList("", 5, 310, $GUIMinX-10, $GUIMinY-350) GUICtrlSetResizing($Panel5, $GUI_DOCKTOP) GUISetState() While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd M23
    1 point
  10. Documentation for _SQLite_Display added to post 4 above. Code for _SQLite_Display added to zip-file in bottom of first post.
    1 point
  11. water

    AutoIT - OS Support

    The help file tells you which versions of WIndows are supported:
    1 point
  12. Yirrlaar, The Interrupting a running function tutorial in the Wiki should help lift the fog. M23
    1 point
  13. in WinSetTrans($hGUI, "", 0) ; <---- change to 1 to avoid the initial flash ;) GUISetState() change the 0 to a 1, to avoid the initial flash PS: Also this looks better too ConsoleWrite("Exit") For $z = 255 To 1 Step -$fStep WinSetTrans($hGUI, "", $z) Next GUIRegisterMsg($WM_TIMER, "") _WinAPI_DeleteObject($hHBmp_BG) _GDIPlus_Shutdown() GUIDelete($hGUI)
    1 point
×
×
  • Create New...