applescript to open/close an app
来源:互联网 发布:淘宝都是假货吗 编辑:程序博客网 时间:2024/04/20 20:05
tell application "System Events"
get name of every process whose name is "Calculator"
if result is not {} then
tell application "Calculator"
quit
end tell
else
tell application "Calculator"
activate
end tell
end if
end tell
0 0
- applescript to open/close an app
- andboxing an objective-c app embedding applescript
- How to open an app from an unidentified developer
- OSX “open” command to create new files with an app
- How to close an InfoPath form programmatically
- AN OPEN LETTER TO HOBBYISTS
- open&close
- Navigation to Open/Close INV/GL/AR/AP/PO Period
- How to Close All Open Browsers Using QTP
- unable to open an initial console 问题解决
- Warning: unable to open an initial console
- An open letter to object technology newcomers
- unable to open an initial console 问题解决
- unable to open an initial console
- WARNING: Unable to open an initial console
- Warning: unable to open an initial console
- WARNING: Unable to open an initial console
- WARNING: Unable to open an initial console
- [笔记]算法复习笔记---栈、队列、链表(下)
- POJ 3009 Curling 2.0
- 15分钟学会使用Git和远程代码库
- 201312 CCF 第二题 ISBN号码
- 为什么mysql要做主从复制?
- applescript to open/close an app
- linux文件系统详解
- 畅游无线游戏盒子(一)--走迷宫
- 静态路由生效条件及loopback通信
- ACM程序设计 -K (移动方块问题)
- Java清空输入缓冲区的一种方法
- js---数组,定时器应用
- C语言的数组与函数
- java--11--网络编程