I have a notepad ++ with a column to modify like the column mode editing in notepad ++ by doing alt+shift+arrow keys. (example by putting B instead of A) :
I want to automate this by a powershell script without doing notepad ++ column mode editing. For example, I want by entering a letter in my script that the whole column is changed
$lettre = [string]
$array = "B","D","M","N","P","Z"
while ($true){
$letter = Read-Host "What medicalization wanted to put you ? B, D, M, N, P, Z ? or t to finish"
if ($lettre -eq "B" ){
echo "Medicalization B will be inserted"
}
if ($lettre -eq "D"){
echo "Medicalization D will be inserted"
}
if ($lettre -eq "M"){
echo "Medicalization M will be inserted"
}
if ($lettre -eq "N"){
echo "Medicalization N will be inserted"
}
if ($lettre -eq "P"){
echo "Medicalization N will be inserted"
}
if ($lettre -eq "Z"){
echo "Medicalization Z will be inserted"
}
if ($lettre -eq "t"){
echo "Finished"
break
}
}
I was thinking of going based on row and column or using column mode editing when entering commands on powershell. Is it possible to do this on powershell? If not, which programming language should I use and how?