워드에서 문서 비교 후 추가한 것만 색깔 글자로 만들기

맥이나 윈도우나 모두 된다. 굳이 원격 데스크탑을 써서 윈도우 들어가서 작업할 필요가 없다. 단축키도 똑같다.

워드에서 두 문서를 비교한 후에, 지운 부분은 없애고 추가한 부분만 색깔처리하고 싶을 때 다음과 같이 하면 된다.

  1. 마우스 커서를 문서의 제일 앞에 둔다.

  2. Word -> Alt + F11 키로 vba 창 띄우고 모듈 추가 한후에 코드 적는 부분에 다음 코드를 복붙

Sub AcceptAllDeletionsOnly()
    Dim r As Revision

    If ActiveDocument.Revisions.Count = 0 Then
        MsgBox "이 문서에는 변경 내용(삭제)이 없습니다."
        Exit Sub
    End If

    For Each r In ActiveDocument.Revisions
        If r.Type = wdRevisionDelete Then
            r.Accept
        End If
    Next r
End Sub
  1. vba 창에서 F5 키를 눌러서 실행

모든 formatting baloon을 다 accept하는 방법은 다음과 같다.

  1. Review 탭에서 Markup Options의 Ink, Insertions and Deletions의 체크를 해제하고 Formatting에는 체크를 한다.

  2. Accept 버튼의 옆에 삼각형을 눌러서 드롭다운 메뉴를 만들고 'Accept All Changes Shown'을 클릭하여 모든 Formatting을 accept한다.

  3. 다시 Markup Options에서 Ink와 Insertions and Deletions, Formatting을 체크한다.

MacOS 26 Tahoe에서 네트워크 드라이브에 타임머신 쓰기

타임머신 기능은 그 유용성을 잊고 살다가도, 몇 년에 한번씩 유용할 때가 있다.

작업 결과를 다음 날 아무 생각 없이 지워버렸다가 식은 땀을 흘릴 때는 타임 머신을 찾게 된다.

10여년 전에 산 타임 캡슐의 HDD 용량이 딸린다고 느낄 때 즈음에 NAS로 갈아타면서 타임 머신을 NAS의 특정 디렉토리에 afp 로 물려 놓았다.

그 동안에는 NAS에 타임 머신이 잘 물리다가, MacOS가 26으로 업데이트 되면서 에러를 내뿜기 시작했다.

그래서 구글링을 했고 해결책을 찾았다.

https://discussions.apple.com/thread/256137390?sortBy=rank

[Precheck]
Please kindly follow the steps below to change settings on your Mac.

  1. Open Terminal on macOS, and edit /etc/nsmb.conf with vi:
    sudo vi /etc/nsmb.conf
  2. Change the value of signing_required from no to yes:
    signing_required=yes
  3. Press the Esc key, then type ZZ or :wq to save the changes and exit vi.
  4. Reboot your Mac.

Once you have completed the steps above on your Mac, please continue with the steps below to check settings on both your NAS and Mac.

[On your Synology NAS]

  1. Ensure that DSM is properly configured for Time Machine backups. Try creating a new shared folder and set it as the Time Machine backup folder, rather than using the original one.
  2. Ensure your NAS has enough free space.
  3. Make sure the following options are selected in Control Panel > File Services > SMB > Advanced Settings > General:
    • Maximum SMB protocol: SMB3 (Note: Time Machine backups require SMB3, so please change it back to SMB3 if it was modified.)
    • Enable Opportunistic Locking
    • Enable SMB2 Lease
    • Enable SMB Durable Handles (Cross-protocol file locking will be disabled)
  4. Confirm the following options are enabled or properly set in Control Panel > File Services > Advanced> Bonjour:
    • Enable Bonjour service discovery to locate Synology NAS
    • Enable Bonjour Time Machine broadcast via SMB
    • Set Time Machine Folders

synology phpmyadmin 실행

DSM -> Web Station 실행 후 왼쪽 메뉴에서 웹 포털로 들어간다.

phpMyAdmin의 상태가 '사용 안함'으로 나와 있을텐데, 이것을 선택 후 작업 -> '활성화' 해준다.

브라우저의 주소창에 IP_ADDRESS/phpmyadmin 을 쳐서 들어간다.

사용 후에 phpMyAdmin 다시 비활성화(사용 안함)) 해놓는 것 잊지 말자!!