Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/30/2019 in all areas

  1. Just tried with SciTE v 4.1.2 (latest Beta) and it opens the file without any issues when double clicking the file and no SciTE started yet. Jos
    1 point
  2. @iamtheky Unsure if the question is directed at me, but if so no, what I mean is Get-AppxPackage and Get-AppxProvisionedPackage can return different lists, as mentioned above one is for current user and the other for new users, when removing I also found that the full names can be slightly different which is why I use wild cards (see above): Get-AppxProvisionedPackage for 3DBuilder Microsoft.3DBuilder_16.1.1431.0_neutral_~_8wekyb3d8bbwe Get-AppxPackage for 3DBuilder Microsoft.3DBuilder_16.1.1431.0_x64__8wekyb3d8bbwe
    1 point
  3. 'you get butt-slammed!'
    1 point
  4. Jos

    How To Delete A Post?

    ... and get you ass banned as a bonus.
    1 point
  5. I just edit mine to something that violates the rules and it gets removed for me. This has been bad advice with the K-y.
    1 point
  6. Couldn't resist... I have no idea how close in concept this is though. MsgBox(0, '', 'Case Sensitive: ' & _StringLikePerc('I am a strinG.', 'I am a string.', 1) & '%' & @CR & _ 'Not Sensitive: ' & _StringLikePerc('I am a strinG.', 'I am a string.') & '%') Func _StringLikePerc($sString1, $sString2, $nCase = 0) Local $nLen1 = StringLen($sString1), $nLen2 = StringLen($sString2) Local $nMinLen = $nLen1, $nMaxLen = $nLen2, $iAdd If $nLen2 < $nLen1 Then $nMinLen = $nLen2 $nMaxLen = $nLen1 EndIf If $nCase Then For $iCC = 1 To $nMinLen If StringMid($sString1, $iCC, 1) == StringMid($sString2, $iCC, 1) Then $iAdd += 1 Next Else For $iCC = 1 To $nMinLen If StringMid($sString1, $iCC, 1) = StringMid($sString2, $iCC, 1) Then $iAdd += 1 Next EndIf Return Round(($iAdd / $nMaxLen) * 100, 2) EndFunc Edit: Now that I think about it, the above isn't a good example, it would only do a % based on if the first char was the same or not... if that varied, then it would return a 0% match.... ahh well.
    1 point
×
×
  • Create New...