📄 objrun.mac
字号:
Dim app
On Error Resume Next
Set app = Nothing
Set app = GetObject( , "MSDev.Application")
If Not app Is Nothing Then
MsgBox app.Name & " " & app.Version & " is running" & vbCrLf & vbCrLf &_
"Current project: " & app.ActiveProject.Name & vbCrLf &_
"Project type: " & app.ActiveProject.Type, vbInformation, "Info"
Set app = Nothing
Else
MsgBox "Application is not running!", vbCritical, "Error"
End If
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -