Clipboard paste working under 10.4 not 10.3
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