• 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
Clipboard paste working under 10.4 not 10.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Clipboard paste working under 10.4 not 10.3


  • Subject: Clipboard paste working under 10.4 not 10.3
  • From: Brett Conlon <email@hidden>
  • Date: Mon, 10 Apr 2006 11:53:32 +1000


G'day all,

The following code is working fine on my Mac under 10.4 but on the two 10.3.9 Macs I tested it on in the studio it pastes what appears to be a space.

tell application "QuarkXPress"
                activate
                tell project 1
                        set QXLayoutName to name of active layout space
                        set QXProjName to name
                end tell
                if QXLayoutName contains "Layout" then
                        set QXDocName to QXProjName
                else
                        set QXDocName to QXLayoutName
                end if
                set PDFName to text returned of (display dialog "Please name your PDF" default answer QXDocName)
                set the clipboard to PDFName

Later, as part of UI scripting to save the PDF I have the below command paste the results into the Save dialog:

keystroke "v" using {command down} --Paste PDF name

Any thoughts?

Cheers,

Cojcolds
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Clipboard paste working under 10.4 not 10.3
      • From: Brett Conlon <email@hidden>
  • Prev by Date: Re: Store script as run only
  • Next by Date: Re: Store script as run only
  • Previous by thread: Re: Dynamic Handler Call
  • Next by thread: Re: Clipboard paste working under 10.4 not 10.3
  • Index(es):
    • Date
    • Thread