Re: Run an Applescript command inside a tell application
Re: Run an Applescript command inside a tell application
- Subject: Re: Run an Applescript command inside a tell application
- From: Michelle Steiner <email@hidden>
- Date: Thu, 12 Jul 2007 06:21:12 -0700
On Jul 12, 2007, at 6:13 AM, David Bradley wrote:
So, how do I run the command within the tell application section.
Well, one way to do it is to use a subroutine.
tell application "QuarkXPress"
-- code goes here
set theImagesFile to my GetImagesFile (theFile)
--more code goes here
end tell
on GetImagesFile (theFile)
return POSIX file theFile
end GetImagesFile
--
--------------------------------------------------------
Misquotation of unattributed, trite
metaphysical saying goes here.
Stupid ascii Unnecessary notice of
graphic goes here. responsibility goes here.
---------------------------------------------------------
_______________________________________________
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