내 친구를 시도하기 위해 가짜 바이러스를 만들었습니다 : P하지만 응용 프로그램이 끝날 때까지 명령 옵션 이스케이프 기능을 사용하지 못하도록하는 코드가 있는지 궁금합니다. 나는 단지 그들이 실험을 완전히 끝내지 않고 그 과정을 경험하기를 원한다. 감사합니다거기에 애플 스크립트 응용 프로그램이 실행되는 동안 강제로 종료 할 수 없게하는 방법이 있습니까?
: 그것은 내가 내 친구를 표시 할 수 있지만, 난 그냥 처음 몇 초 후를 강제 종료하고 싶지 않았다 생각 그냥 간단한 스크립트의 편집 -, 그들은 여전히 맥을 완벽하게 제어 할 수
표시 대화 상자가 버튼 결과의 반환 버튼을
세트 볼륨 5
경고음 5
후 "재생"인 경우 기본 버튼 1 을 { "종료", "재생"} "MagroXELA의 게임을"display dialog "Virus is downloading." buttons "Stop" default button "Stop" with title "Malware Initiating" with icon 2
delay 2
set volume 5
do shell script "say -v Zarvox Virus has Down loaded Successfully"
delay 2
do shell script "say -v Zarvox Wifi terminated"
beep 1
--
-- Toggle Airport Power On and Off
--
if (offset of "On" in (do shell script "networksetup -getairportpower en1")) > 0 then
do shell script "networksetup -setairportpower en1 off"
end if
tell application "Finder"
activate
open application file "Activity Monitor.app" of folder "Utilities" of folder "Applications" of startup disk
open application file "AirPort Utility.app" of folder "Utilities" of folder "Applications" of startup disk
open application file "Boot Camp Assistant.app" of folder "Utilities" of folder "Applications" of startup disk
open application file "Bluetooth File Exchange.app" of folder "Utilities" of folder "Applications" of startup disk
open application file "Disk Utility.app" of folder "Utilities" of folder "Applications" of startup disk
open application file "Keychain Access.app" of folder "Utilities" of folder "Applications" of startup disk
open application file "Terminal.app" of folder "Utilities" of folder "Applications" of startup disk
open application file "System Information.app" of folder "Utilities" of folder "Applications" of startup disk
end tell
tell application "Finder"
activate
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
make new Finder window
set target of Finder window 1 to startup disk
set target of Finder window 1 to startup disk
open application file "Terminal.app" of folder "Utilities" of folder "Applications" of startup disk
set target of Finder window 1 to startup disk
set target of Finder window 1 to folder "Applications" of startup disk
end tell
delay 6
tell application "DigitalColor Meter" to quit
tell application "Grab" to quit
tell application "Network Utility" to quit
tell application "System Information" to quit
tell application "Terminal" to quit
tell application "Keychain Access" to quit
tell application "Disk Utility" to quit
tell application "Bluetooth File Exchange" to quit
tell application "Boot Camp Assistant" to quit
tell application "AirPort Utility" to quit
tell application "Activity Monitor" to quit
tell application "App Store" to quit
tell application "iTunes" to quit
tell application "Finder"
repeat while window 1 exists
close window 1
end repeat
delay 2
set volume 5
do shell script "say -v Alex YOU GOT TROLLED HUH HUH HUH HUH"
delay 2
do shell script "say -v Zarvox Wifi activated"
--
-- Toggle Airport Power On and Off
--
if (offset of "On" in (do shell script "networksetup -getairportpower en1")) > 0 then
do shell script "networksetup -setairportpower en1 off"
else
do shell script "networksetup -setairportpower en1 on"
end if
delay 4
우리는 확실히 통제를 다시 얻고에서 당신이 누군가를 방지 도움이되지 않습니다 (당신이 애플 스크립트 편집기에서 응용 프로그램을 열면 스크립트 편집기의 Info.plist보다 우선하기 때문에 모든 저장에이 단계를 반복해야)
자신의 컴퓨터. 왜 우리는 당신이 당신의 친구에게주는 무해한 대본이라고 믿어야합니까? – idmean나는 그것이 무엇을하는지 보여주는 스크립트를 게시했다. 강제 종료를 비활성화하거나 강제 종료 메뉴에서 응용 프로그램을 숨기는 스크립트가있을 것이라고 생각했다. 나는 그들이 컴퓨터를 제어 할 수 없도록하고자한다. –
실제로 이것을 달성 할 수있는 방법이있다. 게시 한 스크립트가 매우 위험한 것은 아니지만 다른 악의적 인 스크립트를 위해 내가 제공 한 정보를 사용할 수 있습니다. 그리고 여러 대의 애플 리케이션과 여러 창을 열 때 맥을 제어 할 수 없게된다. – idmean