Custom Query (3927 matches)
Results (394 - 396 of 3927)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #2665 | Completed | Support for EFS (Encrypting File System) | ||
| Description |
I've got my first Windows (8.1 Pro) with EFS support. I started using EFS and noticed that some of the FileCopy commands in my AutoIt scripts were no longer functioning properly. If I FileCopy a "normal" (=no EFS) file, the FileCopy returns a 1=success. But if I FileCopy an EFS encrypted file, the FileCopy returns a 0=failure. The destination folder is located on my NAS (Network Attached Storage). There are no problemens whilst copying/moving (EFS and non-EFS) files within the 2 hard drives in my PC. If I drag&drop the file with Windows I get this nice little popup: "you are copying the file to a destination that does not support encryption" (with the possibility to stop or continue). I think my problems are not new and may go back some years when Microsoft first introduced EFS. I would like AutoIt to support EFS. My suggestions: 1) FileGetAttrib command. A new ReturnValueLetter. For example the "E" for Efs. 2) FileCopy/FileMove commands. A new flag allowing an EFS encrypted file to be copied whilst losing its encryption. 3) A FileCopy/FileMove return code explaining the EFS-failed-reason. I hope I've explained my problem/feature request properly (english is not my native language). Thank you for "listening". Kind regards, Gordon from The Netherlands My workaround for now looks like this: $Source = "D:\Test.txt"
$Dest = "N:\"
$Result = FileCopy($Source, $Dest, 1)
If $Result = 0 Then
$Result = RunWait(@ComSpec & " /c " & "Copy /D """ & $Source & """ """ & $Dest & """", "", @SW_MAXIMIZE) ;"/D" means "Allow the destination file to be created decrypted".
If $Result <> 0 Then
MsgBox(0, "Fail", "Both 'AutoIt FileCopy' and 'DOS Command Copy' failt!" & @LF & "Source=" & $Source & @LF & "Dest=" & $Dest)
Exit
EndIf
EndIf
|
|||
| #2671 | Fixed | StringSplit - bug : Delimiter case sensitivity problem | ||
| Description |
Repro: #include <MsgBoxConstants.au3>
#include <array.au3>
Local $sData1 = "NR KONTA: 47 1020" & @CRLF & _
"NR KONTA: 62 2030" & @CRLF & _
"NR KONTA: 64 1910" & @CRLF & _
"NR KONTA: 30 2030" & @CRLF & _
"NR KONTA: 03 1020" & @CRLF & _
"NR KONTA: 77 1020" & @CRLF & _
"NR KONTA: 35 1090" & @CRLF & _
"NR KONTA: 28 1240" & @CRLF & _
"NR KONTA: 07 1020" & @CRLF & _
"NR KONTA: 29 1240" & @CRLF & _
""
Local $sData2 = StringReplace($sData1, "NR KONTA: 62 2030", "Nr KONTA: 62 2030")
ClipPut($sData2)
Local $aTest1 = StringSplit($sData1, 'NR KONTA:', 1)
_ArrayDisplay($aTest1, '$aTest1')
Local $aTest2 = StringSplit($sData2, 'NR KONTA:', 1)
_ArrayDisplay($aTest2, '$aTest2')
Local $aTest3 = StringSplit($sData2, 'Nr KONTA:', 1)
_ArrayDisplay($aTest3, '$aTest3')
If $aTest1[$aTest1[0]] <> $aTest2[$aTest2[0]] Then
MsgBox($MB_SYSTEMMODAL, "Question", " Why ? " & @CRLF & " $aTest1[$aTest1[0]] <> $aTest2[$aTest2[0]] " & @CRLF & $aTest1[$aTest1[0]] & " <> " & $aTest2[$aTest2[0]], 10)
EndIf
If $aTest1[2] == $aTest2[2] and $aTest1[3] == $aTest2[3] Then
MsgBox($MB_SYSTEMMODAL, "Question", "Why second and third element in $aTest1 and $aTest2 are still the same ?", 10)
EndIf
MsgBox($MB_SYSTEMMODAL, "Question", "Why $aTest3 contains so little data ?", 10)
$sData1 = StringReplace($sData1, " KONTA:", "_KONTA:")
$sData2 = StringReplace($sData1, "NR_KONTA: 62 2030", "Nr_KONTA: 62 2030")
MsgBox($MB_SYSTEMMODAL, "New $sData1 Content", $sData1, 10)
MsgBox($MB_SYSTEMMODAL, "New $sData2 Content", $sData2, 10)
Local $aTest = StringSplit($sData1, @CRLF, 1)
_ArrayDisplay($aTest1, 'New $aTest')
Local $aTest1 = StringSplit($sData1, 'NR_KONTA:', 1)
_ArrayDisplay($aTest1, 'New $aTest1')
Local $aTest2 = StringSplit($sData2, 'NR_KONTA:', 1)
_ArrayDisplay($aTest2, 'New $aTest2')
Local $aTest3 = StringSplit($sData2, 'Nr_KONTA:', 1)
_ArrayDisplay($aTest3, 'New $aTest3')
Discusion: http://www.autoitscript.com/forum/topic/159807-stringsplit-strange-behavior-or-bug/ |
|||
| #2685 | Fixed | HotKeyRegister fails to register a Hungarian letter | ||
| Description |
I already made (I think 2) topic on the forum, but I think it's a bug. I'd like to register the í or Í (capital) letter as a HotKey, but it just does nothing. Here's a link to the thread which gives a small reproduction of the bug: http://www.autoitscript.com/forum/topic/159056-set-hotkey-on-2-specific-button/ In C, probably you use RegisterHotKey.Just as an external information the í letter is the following identifier: (button) (code) (name) Í E2 VK_OEM_102 I already tried every method I just knew, autoit just don't accept any form of í letter as a hotkey. |
|||
