• 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
Copy dialog result to Clipboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Copy dialog result to Clipboard


  • Subject: Copy dialog result to Clipboard
  • From: Applescript Member <email@hidden>
  • Date: Wed, 21 Mar 2001 14:03:30 -0700

How is a dialog result copied to the Clipboard?

Thanks,
Jeff
email@hidden

> From: email@hidden
> Reply-To: email@hidden
> Date: Tue, 20 Mar 2001 22:49:17 -0800 (PST)
> To: email@hidden
> Subject: applescript-users digest, Vol 2 #520 - 4 msgs
>
> Send applescript-users mailing list submissions to
> email@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.lists.apple.com/mailman/listinfo/applescript-users
> or, via email, send a message with subject or body 'help' to
> email@hidden
>
> You can reach the person managing the list at
> email@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of applescript-users digest..."
>
>
> Today's Topics:
>
> 1. Finder inopportunely activates. (Emmanuel)
> 2. Re: Read File Problems (Charles Arthur)
> 3. sending form data with IE 5 (matt holland)
> 4. Timeout Function acting weird!!! (William Jamieson)
>
> --__--__--
>
> Message: 1
> Date: Tue, 20 Mar 2001 23:15:36 +0100
> To: email@hidden
> From: Emmanuel <email@hidden>
> Subject: Finder inopportunely activates.
>
> Is it me? Well-known bug?
>
> Running the following line:
>
> ------------------------------
> tell application "Finder"
> get original item of WhateverAlias
> end tell
> ------------------------------
>
> will activate the Finder.
>
> This is very inappropriate.
>
> Are there any other such commands?
>
> Emmanuel, happy user of OS9.1, AS1.5.5.
>
> --__--__--
>
> Message: 2
> Date: Tue, 20 Mar 2001 07:14:56 +0000
> To: email@hidden
> From: Charles Arthur <email@hidden>
> Subject: Re: Read File Problems
> Cc: <email@hidden>
>
> On Tue, 20 Mar 2001 01:20:15 +0000 Nigel Garvey <email@hidden>
> wrote:
> ....
>> Interesting that "\r" string. It actually compiles as a return. I didn't
>> realise that was possible in AppleScript.
>
> Hey. someone's got hold of Nigel's computer while he was off making some
> tea or something. I can't believe he would have written a sentence like
> that second one. :-)
>
> This for me though is the delight of this list (and the Net generally):
> stumbling across new ideas that other people have taken for granted for
> ages and being able to incorporate them in future work.
>
> Charles
>
> http://www.ukclimbing.com : 1,000+ British crags, 350+ British climbing walls
> - searchable by distance rock type, etc, with 5-day weather forecasts for
> every one - plus maps, articles, news, and the New Routes database. There's
> even a cool shop attached...
>
> --__--__--
>
> Message: 3
> Date: Tue, 20 Mar 2001 21:24:42 -0800
> From: matt holland <email@hidden>
> To: email@hidden
> Subject: sending form data with IE 5
>
> Hi all,
>
> I've been working on a script for the past few weeks to automate the submittal
> of ebay items, using a Filemaker Pro database, and IE. Everything seems to
> work except for submitting the html containing the description text.
>
> At first I had to escape the quote marks using a backslash to get the script
> to compile, now it compiles but it only works when I omit the variable
> representing the description text. IE will otherwise report "some data could
> not be read"
>
> I tried to use the Encode URL osax at
> http://www.infomotions.com/tricks/manuscript/1880-0003.html however this
> didn't solve the problem.
>
> I uploaded my script and associated FMP database to
> http://www.speakeasy.org/~mholland/AS/ebayauto.sit I wasn't sure if there was
> an acceptable limit for lengths of posts, so I'm playing the safe route by
> letting you download it.
>
> For context this is for selling vinyl records. (on my way down from a 6 year
> dj hobby/career)
>
> Thanks in advance for all help!
>
> -matt
>
> --__--__--
>
> Message: 4
> Date: Wed, 21 Mar 2001 09:36:50 +1100
> Subject: Timeout Function acting weird!!!
> From: William Jamieson <email@hidden>
> To: AppleScript List <email@hidden>, William
> Jamieson <email@hidden>
>
> Hi All,
>
> I am attempting to use the AppleScript timeout command for a variety of
> applications. Yet I find that I am getting inconsistent results.
> If I use the delay command between the timeout command it does not give me a
> timeout error (try using the code below).
>
> ----------------------------------------------------------------------------
> try
> with timeout of 8 seconds
> delay 10
> end timeout
> beep 2
> on error errMsg number errNum
> activate
> display dialog "Error: " & errNum & " " & errMsg
> end try
> ----------------------------------------------------------------------------
>
> However I hold the an application open with a dialog I can generate a
> timeout error (-1712) (try using the code below).
>
> ----------------------------------------------------------------------------
> try
> with timeout of 8 seconds
> tell application "Finder"
> activate
> display dialog "Holding Finder Open" giving up after 10
> end tell
> end timeout
> beep 2
> on error errMsg number errNum
> activate
> display dialog "Error: " & errNum & " " & errMsg
> end try
> ----------------------------------------------------------------------------
>
> If I hold the an application open with a repeat statement I cannot generate
> the timeout error (try using the code below).
>
> ----------------------------------------------------------------------------
> set x to 0
> try
> with timeout of 1 seconds
> repeat 2000000
> set x to x + 1
> end repeat
> end timeout
> beep 2
> on error errMsg number errNum
> activate
> display dialog "Error: " & errNum & " " & errMsg
> end try
> ----------------------------------------------------------------------------
>
> I am currently using Mac OS 9.1 and AppleScript 1.5.5. If anyone has had
> any similar experience, has solutions to these issues or just knows the
> rules that apply I would be very appreciative. Thanks for your time.
>
> Regards
>
> William Jamieson
> Systems Developer
>
> Smart Works Systems
>
>
> --__--__--
>
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users
>
>
> End of applescript-users Digest


  • Follow-Ups:
    • Re: Copy dialog result to Clipboard
      • From: Yosemite <email@hidden>
  • Prev by Date: Re: Finder inopportunely activates.
  • Next by Date: Re: Copy dialog result to Clipboard
  • Previous by thread: Re: Unloading Coercions
  • Next by thread: Re: Copy dialog result to Clipboard
  • Index(es):
    • Date
    • Thread