[proFit-list] saving a window from applescript

Chris Lee laserboy at fusemail.com
Mon Sep 1 02:03:45 CDT 2008


Works perfectly. Thanks
I hadn't realised that you could pass a posix path, and I suspect that  
part of the reason that I had problems was that I wasn't appending  
".data" to the filename.

Cheers
Chris

On Aug 29, 2008, at 5:29 PM, pro Fit Support wrote:

> Dear Chris
>
> Oops, I misread your question.
>
> What about:
>
> save window 1 in "/Users/kurt/Desktop/example.data"
>
> ?
>
>
> Best regards
>
> Kurt Sutter
> QuantumSoft
>
>
> On 29.08.2008, at 09:36, Chris Lee wrote:
>
>> Hi Kurt et al,
>>
>> Yes, that is what I tried originally but it doesn't work in this case
>> because the script also creates the window and it has no path
>> associated with it. The dictionary doesn't really tell me how to get
>> pro Fit to create the path it saves the file into. I have tried
>> several combinations but nothing seems to work.
>>
>> Cheers
>> Chris
>>
>> On Aug 28, 2008, at 5:44 PM, pro Fit Support wrote:
>>
>>> Christ
>>>
>>>
>>> Use the "asking" parameter, e.g.:
>>>
>>> tell application "pro Fit"
>>> 	close front window saving no
>>> end tell
>>>
>>> View pro Fit's dictionary from Script Editor to learn about these
>>> things.
>>>
>>> Best regards
>>>
>>> Kurt Sutter
>>> QuantumSoft
>>>
>>>
>>>
>>> On 28.08.2008, at 17:39, Chris Lee wrote:
>>>
>>>> Hi All,
>>>>
>>>> Does anyone know how to save a window from applescript? Actually,  
>>>> to
>>>> be more precise, I want to save it without a dialog and it is a
>>>> window
>>>> created by the applescript so it has no existing path.
>>>>
>>>> Cheers
>>>> Chris
>>>>
>>>> _______________________________________________
>>>> proFit-list mailing list
>>>> proFit-list at quantum-soft.com
>>>> http://quantum-soft.com/mailman/listinfo/profit-list_quantum-
>>>> soft.com
>>>>
>>>
>>>
>>> _______________________________________________
>>> proFit-list mailing list
>>> proFit-list at quantum-soft.com
>>> http://quantum-soft.com/mailman/listinfo/profit-list_quantum- 
>>> soft.com
>>>
>>
>>
>> _______________________________________________
>> proFit-list mailing list
>> proFit-list at quantum-soft.com
>> http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com
>>
>
>
>
> _______________________________________________
> proFit-list mailing list
> proFit-list at quantum-soft.com
> http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com
>




More information about the proFit-list mailing list