>> 3. ������ ������� �� AppleScript. � ������� ��������� ������, �������
>��������
>> ��������� �������, ���������� ��������� ������, ����� ����� ���������
>������ �
>> ScriptEditor-� � �� �������� �������� � ����� �������, � ������� ����
>������
>> ��������� ��� application � ������ ����� ������ ������ �� ����, ���
>�����
>> ��������?
>��������� ������������ ������� ���� File:Save as (�� �� Save As Run-Only -
>����� �� ��������������) � ������� ����� Format:Classic Applet. ������
>������ �� Stay Open � ������� ������� �� Newer Show Startup Screen
>(���� � �� ��������� ����� ������ ����� ��������, ����� � ��� �����������
>�����, � ��� ���� ������, Dropplet? � ����� target application?)


������� ������
��� ������

tell application "Finder"
        
        set the itemList to the selection as list
        set the itemCount to the count of the itemList
                
        display dialog "������� ������������ ������" default answer ""
set the articleName to the text returned of the result
        
        repeat with i from 1 to the itemCount
                set the fileName to the name of the item i of the itemList as string
                set the comment of the item i of the itemList to the fileName
                if i < 10 then
                        set nul to "0"
                else
                        set nul to ""
                end if
                set the fileName to the articleName & "-" & nul & i
                set the name of the item i of the itemList to the fileName
        end repeat
end tell

�������� �� ���, ��������� ������ �������� �����, ����� ������������� � ScriptEditor � 
���� Run - ��� ������� ��������, �� ��� ������ ��� ��������� ScriptEditor ������ �� 
�������, ������� �������� ������ ��� applicapion (����� Format:Classic Applet � ���� 
���, ������� 9.2.2) � �������� ��������� �������, ������ ������� drop-���� ����� 
������� � ������ ������� �� ���� application script �� ������ �� ����������, ������ 
�������� ������ � ���� ����� ���� ��������� � �������� � ���� ������ �� ����.

������ ��� ��������� application script �������� �� �������� drop-� �� ���� ������? 
��� ������� ���������� ���� �� ���������?


>> ���� �� � ����-������ ��������� ��������� Scripter 2.5 � FaceSpan 3.5?
>Scripter 2.5 - ����, ����� (����)
>FaceSpan 3.5 - ����, ��� ��� �� �������� (���� 3.0)
>� ��� ������� ScriptDebugger 2.0 � ���� ������ 3 �� ��������� ������, ����
>�
>��� �����. ;)

������ Scripter 2.5 � FaceSpan 3.5 ��� ��� ��� ��� � ������, FaceSpan 3.5 ��������� � 
����� �������� ��� ���������� ���������� �������, � ��� �������� �� ���� ��� ������� 
������� � ��� ��� ��� �������� ���������!!??

������, � �� ������ �� ���� ��������� ��� ��� ���� � ���� �� �� ���, e-mail ��� ftp?


-----
Machelp; policy & news @ http://www.macrules.ru


  • ... "Карапетян Григорий"
    • ... Kirill Kortchagin
      • ... Andrey HunT

Ответить