Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/05/2017 in all areas

  1. JLogan3o13

    Telegram Bot UDF

    Perhaps we should give people who post UDFs a short time to get feedback from the community and improve the scripts, before we rush to add them to the Wiki.
    1 point
  2. mLipok

    Telegram Bot UDF

    Added to UDF List on AutoIt WikiPage, here: https://www.autoitscript.com/wiki/User_Defined_Functions#Social_Media_and_other_Website_API
    1 point
  3. It is fine to have your source shared from Github. Jos
    1 point
  4. You could modify function _OL_ItemFind to ignore the error: ; Fill array with the specified properties $iCounter += 1 If BitAND($iFlags, 4) <> 4 Then For $iIndex = 1 To $aReturnProperties[0] $aItems[$iCounter][$iIndex - 1] = $oItem.ItemProperties.Item($aReturnProperties[$iIndex]).value If @error Then ContinueLoop ; <== Changed line If BitAND($iFlags, 2) = 2 And $iCounter = 1 Then $aItems[0][$iIndex - 1] = $oItem.ItemProperties.Item($aReturnProperties[$iIndex]).Name Next EndIf
    1 point
  5. Open CMD Type: Net Use x: "\\192.168.20.13\Compartida\Publica" /USER:"domain.local\jaume" Password Does X: get mapped to the shared folder? Can you post the command you use here as well?
    1 point
  6. aa2zz6, subz, F.Y.I, SetSel is Not required. The third parm of GuiCtrlSetData ensures that the caret (insertion point) is always at the end... #include <StaticConstants.au3> #include <GUIConstantsEx.au3> #include <GuiEdit.au3> #include <ScrollBarsConstants.au3> #include <date.au3> #AutoIt3Wrapper_Add_Constants=n Local $gui010 = GUICreate('Edit Example') $log1 = GUICtrlCreateEdit("", 20, 40, 170, 300) $log2 = GUICtrlCreateEdit("", 210, 40, 170, 300) Local $btn010 = GUICtrlCreateButton('Clear', 20, 360, 360, 20) GUISetState() AdlibRegister('Write_Log', 100) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit Case $btn010 GUICtrlSetData($log1, '') ; <----- clear the logs GUICtrlSetData($log2, '') ; <----- clear the logs EndSwitch WEnd ; fill the log up to show scrolling Func Write_Log() GUICtrlSetData($log1, _NowCalc() & @CRLF, 1) GUICtrlSetData($log2, _NowCalc() & @CRLF, 1) ;$iEnd = StringLen(GUICtrlRead($gui010)) ;_GUICtrlEdit_SetSel($gui010, $iEnd, $iEnd) ;_GUICtrlEdit_Scroll($log1, $SB_SCROLLCARET) EndFunc ;==>Write_Log kylomas edit: None of the scrolling is required.
    1 point
  7. @PeteF Not really, I use a program called Fences to do that. I provided a link. And thank you.
    1 point
  8. If you have the username/password to RDP and you can access the shared path when logged in, then you can map or connect to the remote share using that username/password. For example: nb: You need to check the spelling of Publica it appears to have an accent which I'm unfamiliar with. DriveMapAdd('X:', '\\DATOS1\Compartida\Publica', 1, 'Domain\Username', 'Password') ;~ Map the drive to the server share FileCopy('X:\PAUTAS', 'C:\Data\', 9) ;~ Copy the folder X:\PAUTAS to C:\Data, Create the folder path if it doesn't exist. DriveMapDel('X:') ;~ Delete the Mapped Drive; Optional you can delete this if you prefer to keep the mapped drive. It appears that you have a function in your script above but it's incorrectly formatted i.e. "DriveMapAdd('X:', 'A:'...". The A: should be a shared path, on top of that the function is never called. in the script.
    1 point
  9. Verify TCP port 3389, Allow Network Authentication checkbox, check Local Users and Groups.. remote desktop user, and verify Remote Desktop Service run.
    1 point
  10. Does your local computer have access to that network share? If so, it seems a lot less hassle to grab files from the share from your local PC, rather than connecting to the remote machine, then out to the network share.
    1 point
×
×
  • Create New...