It may need a bit more under some conditions:

    tell application "Microsoft Entourage" to (get version) as string

    osascript -e 'tell application "Microsoft Entourage" to version as
string'


The AppleScript command 'version' returns a result that sort of looks like
text (it has "quotes") but in fact is in an ancient format - its
(AppleScript) class is 'version'. In the Terminal that's coerced to string,
so perhaps osascript does it all by itself, but there may be some contexts
where you'll get stuck without the explicit coercion 'as string'.  (That's
certainly true within AppleScript.)

-- 
Paul Berkowitz


> From: Barry Wainwright <[EMAIL PROTECTED]>
> Reply-To: "Entourage:mac Talk" <[email protected]>
> Date: Thu, 02 Nov 2006 19:54:36 +0000
> To: "Entourage:mac Talk" <[email protected]>
> Conversation: Command for version
> Subject: Re: Command for version
> 
> You could use an AppleScript command:
> 
> tell application "Microsoft Entourage" to version
> 
> If you have to work in the shell, you can use osascript to run this command:
> 
> osascript -e 'tell application "microsoft Entourage" to version'
> 
> -- 
> Barry Wainwright
> Microsoft MVP (see http://mvp.support.microsoft.com for details)
> Check out the Entourage User's WebLog for hints, tips and troubleshooting
> <http://homepage.mac.com/barryw/weblog/weblog.html>
> 
> 
> 
> 
> From: "Pertschi, Darrin" <[EMAIL PROTECTED]>
> Reply-To: "Entourage:mac Talk" <[email protected]>
> Date: Thu, 02 Nov 2006 14:24:15 -0500
> To: "Entourage:mac Talk" <[email protected]>
> Conversation: Command for version
> Subject: Command for version
> 
> Is there a shell command I can issue from ARD that can extract the Entourage
> version number?
> Using ARD¹s File Search (v2.2) is WAY to painful.
> 
> I need to easily find everyone below 11.2.
> 
> 
> 
> Darrin Pertschi
> Production Services Mgr. (IT)
> PRIMEDIA Enthusiast Media
> 
> 
> 
> --
> To unsubscribe:
> <mailto:[EMAIL PROTECTED]>
> archives:
> <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
> old-archive:
> <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>
> 
> 


--
To unsubscribe:
<mailto:[EMAIL PROTECTED]>
archives:
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to