Re: Saving & closing iData via an Applescript
Re: Saving & closing iData via an Applescript
- Subject: Re: Saving & closing iData via an Applescript
- From: John Stewart <email@hidden>
- Date: Sat, 12 Oct 2002 05:01:27 -0400
On 10/11/02 at 9:35 PM, the entity OzSprings spoke thusly
>
One of the things that iData doesn't have is an automatic save which
>
means that when I shut down my Mac and go away, I return to find
>
that my Mac hasn't shut down because it is waiting for me to save my
>
iData files.
>
>
iData is AppleScriptable and I have tried to create a script to go
>
into my shutdown folder in the system folder, but not knowing
>
Applescript very well, I quit the Finder instead of iData. Obviously
>
my approach to syntax needs improving.
>
>
The iData AppleScript commands are Quit and Save:
>
>
quit: Quit iData
>
quit
>
[saving yes/no/ask] -- Specifies whether or not to
>
save currently open documents
>
>
>
and
>
>
save: Save an object
>
save reference -- The datafile to save - default is current datafile
>
>
Can anyone help me with this? Your advice may also help me understand
>
how to apply the correct syntax for other scripts I might want to
>
run, so I can figure out things for myself in the future.
>
>
Any help would be most appreciated
>
>
>
Kind regards
>
>
>
Oz
this is probably what you are looking for, it works OMM -
tell application "iData Pro" to quit saving yes
John
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.