Re: How do you display the IP Address?
Re: How do you display the IP Address?
- Subject: Re: How do you display the IP Address?
- From: Jon Pugh <email@hidden>
- Date: Tue, 25 Aug 2009 16:14:35 -0700
At 3:52 PM -0700 8/25/09, Stockly, Ed wrote:
>I would recommend you NOT make changes to a user's clipboard without warning
>or an option not to do so.
>
>If that's an option you want, you could do it this way:
>
>Display dialog helpDeskInfo default answer helpDeskInfo
>
>Then, a user who wants to copy and paste all or part of the result can do so
>from the dialog, and those who don't want to won't be surprised when they
>paste the next time.
I agree with Ed's sentiment, but I think it is better implemented this way:
display alert helpdeskinfo buttons {"Copy", "OK"} default button "OK"
if button returned of result = "Copy" then
set the clipboard to helpdeskinfo
end if
;)
Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden