Retrospect 4.3 AppleScripts

2000-12-04 Thread Mark

Retrospect Experts:

Being a complete AppleScript novice, I ask your indulgence in answering
what *should* be a fairly simple question.  The documentation for the
"FileMaker Pro Server Toggle" AppleScript that is included with Retrospect
4.3 refers specifically to to FileMaker 3.0.  The AppleScript itself,
however, is structured as follows:

tell application "FileMaker Pro Server" to force quit

To distinguish a particular copy of FileMaker Pro Server 5 from other
installations that we own, the one that we desire to toggle during
Retrospect backups is named "FileMaker Server 5 Students."  So finally
to the question:

Must we change the AppleScript to explicitly state "FileMaker Server 5
Students," or will the supplied default work without modification?

Best regards,

Mark E. Ingram

[EMAIL PROTECTED] (also [EMAIL PROTECTED])




--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Archives:http://list.working-dogs.com/lists/retro-talk/

For urgent issues, please contact Dantz technical support directly at
[EMAIL PROTECTED] or 925.253.3050.



Re: Retrospect 4.3 AppleScripts

2000-12-04 Thread Philip Chonacky

The first time the applescript is launched, you will be asked to locate the Applicatio 
"Filemaker Pro Server".  Direct the Applescipt to the correct application and from 
then on it will remember (the script creates it's own alias to the application)

Hope this helps
/philip


Retrospect Experts:

Being a complete AppleScript novice, I ask your indulgence in answering
what *should* be a fairly simple question.  The documentation for the
"FileMaker Pro Server Toggle" AppleScript that is included with Retrospect
4.3 refers specifically to to FileMaker 3.0.  The AppleScript itself,
however, is structured as follows:

tell application "FileMaker Pro Server" to force quit

To distinguish a particular copy of FileMaker Pro Server 5 from other
installations that we own, the one that we desire to toggle during
Retrospect backups is named "FileMaker Server 5 Students."  So finally
to the question:

Must we change the AppleScript to explicitly state "FileMaker Server 5
Students," or will the supplied default work without modification?

Best regards,

Mark E. Ingram

[EMAIL PROTECTED] (also [EMAIL PROTECTED])

___
Philip Chonacky, IS Manager
Barrett Companies
ph. (617) 577-9500
fx. (617) 577-1010
mailto:[EMAIL PROTECTED]




--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Archives:http://list.working-dogs.com/lists/retro-talk/

For urgent issues, please contact Dantz technical support directly at
[EMAIL PROTECTED] or 925.253.3050.



Re: Retrospect 4.3 AppleScripts

2000-12-04 Thread Philip Chonacky

I doubt it, I can't confirm for sure what the exact command is, because I don't have 
the actual application, but a force quit is not usually part of the event dictionary.  
More likely a regular quit.




Does it really tell the application to "force quite"?
that doesn't seem like it would be to good for FileMaker server.


Philip Chonacky wrote:

 The first time the applescript is launched, you will be asked to locate the 
Applicatio "Filemaker Pro Server".  Direct the Applescipt to the correct application 
and from then on it will remember (the script creates it's own alias to the 
application)

 Hope this helps
 /philip

 Retrospect Experts:
 
 Being a complete AppleScript novice, I ask your indulgence in answering
 what *should* be a fairly simple question.  The documentation for the
 "FileMaker Pro Server Toggle" AppleScript that is included with Retrospect
 4.3 refers specifically to to FileMaker 3.0.  The AppleScript itself,
 however, is structured as follows:
 
 tell application "FileMaker Pro Server" to force quit
 
 To distinguish a particular copy of FileMaker Pro Server 5 from other
 installations that we own, the one that we desire to toggle during
 Retrospect backups is named "FileMaker Server 5 Students."  So finally
 to the question:
 
 Must we change the AppleScript to explicitly state "FileMaker Server 5
 Students," or will the supplied default work without modification?
 
 Best regards,
 
 Mark E. Ingram
 
 [EMAIL PROTECTED] (also [EMAIL PROTECTED])

 ___
 Philip Chonacky, IS Manager
 Barrett Companies
 ph. (617) 577-9500
 fx. (617) 577-1010
 mailto:[EMAIL PROTECTED]

 --
 --
 To subscribe:[EMAIL PROTECTED]
 To unsubscribe:  [EMAIL PROTECTED]
 Archives:http://list.working-dogs.com/lists/retro-talk/

 For urgent issues, please contact Dantz technical support directly at
 [EMAIL PROTECTED] or 925.253.3050.



--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Archives:http://list.working-dogs.com/lists/retro-talk/

For urgent issues, please contact Dantz technical support directly at
[EMAIL PROTECTED] or 925.253.3050.


___
Philip Chonacky, IS Manager
Barrett Companies
ph. (617) 577-9500
fx. (617) 577-1010
mailto:[EMAIL PROTECTED]




--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Archives:http://list.working-dogs.com/lists/retro-talk/

For urgent issues, please contact Dantz technical support directly at
[EMAIL PROTECTED] or 925.253.3050.



Re: Retrospect 4.3 AppleScripts

2000-12-04 Thread Philip Chonacky
Funny, when I open it, I get:

>on RetrospectStart given autoLaunchBoolean:autolaunched
>	if autolaunched is true then
>		set kRetroAutoLaunched to true
>		tell application "FileMaker Pro" to «event FMPAFQUI»
>	end if
>	return true
>end RetrospectStart

What application did you point your script to?  Since I do nopt have Filemaker Server, I pointed to just plain Filemaker (ver.3, yeah I know it's way old!), and I assume the text between ">>" is the function I cannot see.

It may also be a difference in syntax between FM Server and MacOS.

Good luck.
/philip




>Mark Ingram wrote:
>
>> [A] "FileMaker Pro Server Toggle" AppleScript ... is included with
>> Retrospect 4.3 [and] refers specifically to to FileMaker 3.0.  The
>> AppleScript itself, however, is structured as follows:
>>
>> tell application "FileMaker Pro Server" to force quit
>
>Tim David replied:
>
>> Does it really tell the application to "force [quit]"?
>> that doesn't seem like it would be to good for FileMaker server.
>
>Philip Chonacky added:
>
>> I doubt it, I can't confirm for sure what the exact command is,
>> because I don't have the actual application, but a force quit is not
>> usually part of the event dictionary.  More likely a regular quit.
>
>MI replies:
>
>This construct raised my eyebrows too, but if you have the Mac version of
>Retrospect 4.3, look at the file Retrospect 4.3 : AppleScript Utilities :
>Script Examples : FileMaker Pro Server Toggle : Retrospect Event Handler.
>
>Although at this point I have been unable to check the event dictionary of
>FileMaker Pro Server 5, Here is the pertinent syntax from the script:
>
>(*
>Note: The name of this script must not be changed, it must be named
>Retrospect Event Handler and placed in the Retrospect folder of the
>system folder's preference folder.
>*)
>property kRetroAutoLaunched : false
>
>on RetrospectStart given autoLaunchBoolean:autolaunched
>	if autolaunched is true then
>		set kRetroAutoLaunched to true
>		tell application "FileMaker Pro Server" to force quit
>		sleep for 5 * minutes
>	end if
>	return true
>end RetrospectStart
>
>[snip]
>
>Although it may be exactly as Eric posted earlier, that "... [Dantz]
>really [doesn't] provide support for Apple Script ... --it's outside the
>realm of expertise of our tech support reps" - the quoted Event Handler is
>indeed included in the Retrospect 4.3 upgrade package.  Perhaps someone at
>Dantz can at least comment on the use of the "forced quit" command versus
>a simple "quit."
>
>YMMV,
>
>Mark E. Ingram
>
>[EMAIL PROTECTED] (also [EMAIL PROTECTED])


___
Philip Chonacky, IS Manager
Barrett Companies
ph. (617) 577-9500
fx. (617) 577-1010
mailto:[EMAIL PROTECTED]


-- -- To subscribe:[EMAIL PROTECTED] To unsubscribe:  [EMAIL PROTECTED] Archives:
For urgent issues, please contact Dantz technical support directly at [EMAIL PROTECTED] or 925.253.3050. 

Re: Retrospect 4.3 AppleScripts

2000-12-04 Thread Mark

On Mon, 4 Dec 2000, Philip Chonacky wrote:

 Funny, when I open it, I get:

  tell application "FileMaker Pro" to «event FMPAFQUI»

 What application did you point your script to?

Because the FileMaker 5 server is currently under heavy user load, I have
not yet directed the script to *any* application.  However, when I open
Retrospect Event Handler (Version 4.3, creation date of May 17, 2000) in
the Script Editor, it is constructed with the "force quit" syntax.

I'll report back if this changes after the script is directed to FMPS 5.

 Good luck.

Thanks!

MI




--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Archives:http://list.working-dogs.com/lists/retro-talk/

For urgent issues, please contact Dantz technical support directly at
[EMAIL PROTECTED] or 925.253.3050.