Run an Applescript command inside a tell application
Run an Applescript command inside a tell application
- Subject: Run an Applescript command inside a tell application
- From: David Bradley <email@hidden>
- Date: Thu, 12 Jul 2007 14:13:14 +0100
Hi,
Hopefully a quick question:
I can run the following command at the top level with no problems:
set theImagesFile to POSIX file theFile
However, when I put it inside tell application "QuarkXPress", which I
need to, I get the following error:
"QuarkXPress got an error: Can't get POSIX file \"/Users/GlobeMac1/
Work/Interhome/Scans/I300020a_s.tif\" of page 1 of document 1."
So, how do I run the command within the tell application section.
Hope this makes sense.
Regards
David Bradley
Web Programmer
Globe Media
Brookfields Way
Manvers
Wath-upon-Dearne
Rotherham
S63 5DL
Tel: 01709 768231
Fax: 01709 768011
email@hidden
www.globe-media.com
_______________________________________________
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