Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/23/2019 in all areas

  1. Thanks for looking into that. I don't mind 'how' to implement this, the key is that I just want it to work somehow since it would be a great opportunity to build something useful... Right now, me and my 5 colleagues pick up the office support calls by answering the phone through this piece of windows software. But since we all use a cellphone with a virtual phone 'central', which does not offer an option to see who is currently in a call, getting that status through that 'API' would allow me to design a simple status screen which shows who is available and who isn't... That's the main target. P.S.: long explanation, I know, but I always figure it's more useful to explain exactly what I'm trying to achieve so we can find a good - or even alternative, out-of-the-box - solution...
    1 point
  2. what code would you like me to test? gimme... gimme gimme i'll grab your stuff above and give it a go, after i test the C# sample
    1 point
  3. Apparently SRER don't scare you so you might use this one too $txt = "127.0.0.1:3389@Administrator;12345" & @CRLF & "120.0.0.1:3389@Guest;54321" Msgbox(0,"", StringRegExpReplace($txt, '(?m)^(.*?)@(.*?);(.*)', _ "full ip address: $1" & @crlf & "username: $2" & @crlf & "password: $3" & @crlf) )
    1 point
  4. ISI360

    ISN AutoIt Studio

    Just a little spoiler for the next update (1.09) 😎
    1 point
  5. Jos

    Send Email - Very Simple

    Yea, wonder who made that
    1 point
  6. The function _FileCopy already exists so there is no need for the other function for example: #include <GUIConstantsEx.au3> $Form1 = GUICreate("Form1", 380, 169, 192, 154) $Button1 = GUICtrlCreateButton("Copy", 72, 88, 177, 57) $idSource = GUICtrlCreateInput(@ScriptFullPath, 24, 8, 313, 21) $idTarget = GUICtrlCreateInput(@ScriptDir & "\ScriptCopy\", 24, 40, 313, 21) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $button1 $sSource = GUICtrlRead($idSource) $sTarget = GUICtrlRead($idTarget) If FileExists($sSource) = 0 Or $sTarget = "" Then ContinueLoop _FileCopy($sSource, $sTarget) EndSwitch WEnd Func _FileCopy($sCopySource,$sCopyTargetDir) Local $FOF_RESPOND_YES = 16 Local $FOF_SIMPLEPROGRESS = 256 If Not FileExists($sCopyTargetDir) Then DirCreate($sCopyTargetDir) $winShell = ObjCreate("shell.application") $winShell.namespace($sCopyTargetDir).CopyHere($sCopySource,$FOF_RESPOND_YES) EndFunc
    1 point
  7. dv8

    _INetGetSource Timeout?

    About the timeout: $OldTCPTimeout=Opt("TCPTimeout") Opt("TCPTimeout",60000) $Res=_InetGetSource("http://whatever_you_want.com) Opt("TCPTimeout",$OldTCPTimeout) Did the trick for me.
    1 point
  8. here's what windows uses: ;~ 4 Do not display a progress dialog box. ;~ 8 Give the file being operated on a new name in a move, copy, or rename operation if a file with the target name already exists. ;~ 16 Respond with "Yes to All" for any dialog box that is displayed. ;~ 64 Preserve undo information, if possible. ;~ 128 Perform the operation on files only if a wildcard file name (*.*) is specified. ;~ 256 Display a progress dialog box but do not show the file names. ;~ 512 Do not confirm the creation of a new directory if the operation requires one to be created. ;~ 1024 Do not display a user interface if an error occurs. ;~ 2048 Version 4.71. Do not copy the security attributes of the file. ;~ 4096 Only operate in the local directory. Don't operate recursively into subdirectories. ;~ 9182 Version 5.0. Do not copy connected files as a group. Only copy the specified files. _FileCopy("C:\Installed Apps\Patches\WindowsXP-KB835935-SP2-ENU.exe","C:\temp") Func _FileCopy($fromFile,$tofile) Local $FOF_RESPOND_YES = 16 Local $FOF_SIMPLEPROGRESS = 256 $winShell = ObjCreate("shell.application") $winShell.namespace($tofile).CopyHere($fromFile,$FOF_RESPOND_YES) EndFunc
    1 point
×
×
  • Create New...