Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Mac Software

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 12-01-2012, 10:00 PM   #23
chandler767
Junior Member
 
Join Date: Aug 2012
Posts: 27
Default

Applescript.

Code:
set the alert_message to "You may now plug in your DisplayLink device."
display dialog the alert_message buttons {"OK"} default button 1
set the my_choice1 to the button returned of the result
if my_choice1 is "OK" then
end if
on quit
	
	set the alert_message to "Unplug your DisplayLink device now."
	display dialog the alert_message buttons {"OK"} default button 1
	set the my_choice to the button returned of the result
	if my_choice is "OK" then
		tell application "Finder"
			continue quit
		end tell
		
	end if
	continue quit
end quit
chandler767 is offline   Reply With Quote
 

Tags
login screen, mountain lion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:44 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.