• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do you display the IP Address?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: How do you display the IP Address? (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: How do you display the IP Address?
  • Next by Date: Re: How do you display the IP Address?
  • Previous by thread: Re: How do you display the IP Address?
  • Next by thread: Re: How do you display the IP Address?
  • Index(es):
    • Date
    • Thread