-- ��� ������ ��� ����� ">" � ������
on open (theList) -- ��������� ���������� ������� open
> tell application "Finder"
> 
set the itemList to theList
> 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
end open
-- � �� ��� �������� ��� ��������� ;) �� ��� ������� �� ��������

� ���! ���������� (��� ��������). ������ �������� �� �� ����������. �
�������� �� ���, ��� ����.


> �������� �� ���, ��������� ������ �������� �����, ����� ������������� �
> ScriptEditor � ���� Run - ��� ������� ��������, �� ��� ������ ��� ���������
> ScriptEditor ������ �� �������, ������� �������� ������ ��� applicapion (�����
> Format:Classic Applet � ���� ���, ������� 9.2.2)
��, ��� ����, ����� �������� � ������ 1.7 ;)

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

>��� ������� ���������� ���� �� ���������?
�����! ����� ��� ������� giving up after |����� � ��������|
(� ������� �� || ����� ������ �������������� ��-������)
������:
Set InteractionResult to Display dialog "Hello ����!" giving up after 5
-- ����� ���������
if gave up of InteractionResult then
--��������
end if

> ������ Scripter 2.5 � FaceSpan 3.5 ��� ��� ��� ��� � ������, FaceSpan 3.5
> ��������� � ����� �������� ��� ���������� ���������� �������, � ��� ��������
> �� ���� ��� ������� ������� � ��� ��� ��� �������� ���������!!??
�����!
����, ��������, ��� ������ ������� AppleScriptStudio, �� ���� ��� �����.
���� ������ Scripting Additions, �� DialogDirector ������, � ������
���������� ����. � ������.... � ��� FaseSpan � ��� ������, �� ����� ����
������-�� ��������.


-- 
Aha-pupok
[EMAIL PROTECTED]




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


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

Ответить