discovery hifi forum discovery hifi forum
A forum for hifi fanatics and music lovers
 
 ªèÇÂàËÅ×Í���������   ¤é¹ËÒ����   ÃÒª×èÍÊÁҪԡ��ª�����Ҫԡ   ¡ÅØèÁ¼Ùéãªé����������   ÊÁѤÃÊÁÒªÔ¡(Register)��Ѥ���Ҫԡ(Register) 
 ¢éÍÁÙÅÊèǹµÑÇ(Profile)��������ǹ���(Profile)   à¢éÒÊÙèÃкºà¾×èÍàªç¤¢éͤÇÒÁÊèǹµÑÇ�������к������礢�ͤ�����ǹ���   à¢éÒÊÙèÃкº(Log in)�������к�(Log in) 

apple script ����Ѻ���ҧnetwork �͹�Դ����ͧ

 
ÊÃéÒ§ËÑÇ¢éÍãËÁè   µÍº    discovery hifi forum -> Audiophile Equipment
��ҹ��Ǣ�͡�͹˹�� :: ��ҹ��Ǣ�ͶѴ�  
����� ��ͤ���
youngkoi



�������: 01 Apr 2011
�ͺ: 5

µÍºï¿½Íºï¿½ï¿½ï¿½ï¿½ï¿½: Fri Aug 05, 2011 2:12 pm    ï¿½ï¿½ï¿½ï¿½Í§: apple script ����Ѻ���ҧnetwork �͹�Դ����ͧ µÍºâ´ÂÍéÒ§¢éͤÇÒÁ

��������Ǥ�Ѻ��ѧ�ҡ����������ѡ�˭��Ѻ ����Ѻ��ҹ����ͧ������ҧ network �������������к� network ������ remote ipad iphone ���Ѻ


��apple script �Ф�Ѻ ��͹ run ����Դ universal access � system pref. �ԡ

Enable access for assistive devices �ҡ��� run apple script ���Ѻ

-- edit by noom 5 aug 11
property NetworkName : "my_x3"
property NetworkPassword : "noom123456789"

property CreateMenuName : "Create Network�"

try
do shell script "/usr/sbin/scselect " & NetworkName
delay 2
end try

tell application "System Events"
tell process "SystemUIServer"
tell menu bar 1
set menu_extras to value of attribute "AXDescription" of menu bar items
repeat with the_menu from 1 to the count of menu_extras
if item the_menu of menu_extras is "Airport Menu Extra" then exit repeat
end repeat
tell menu bar item the_menu
perform action "AXPress"
delay 0.2
perform action "AXPress" of menu item CreateMenuName of menu 1
end tell
end tell
repeat until exists window 1
delay 0.5
end repeat
tell window 1
keystroke NetworkName
-- click checkbox 1
-- keystroke tab
-- keystroke tab
-- keystroke tab
-- keystroke NetworkPassword
-- keystroke tab
-- keystroke NetworkPassword
-- click pop up button 2
-- click menu item 2 of menu 1 of pop up button 2
delay 0.5
click button 1
end tell
end tell
end tell

��ҵ�ͧ������ �Դ����ͧ���� script ��� run ��¡���Ф�Ѻ������ҵ�ͤ�Ѻ
���仢�ҧ��
´Ù¢éÍÁÙÅÊèǹµÑÇ Ê觢éͤÇÒÁÊèǹµÑÇ
youngkoi



�������: 01 Apr 2011
�ͺ: 5

µÍºï¿½Íºï¿½ï¿½ï¿½ï¿½ï¿½: Fri Aug 05, 2011 2:23 pm    ï¿½ï¿½ï¿½ï¿½Í§: µÍºâ´ÂÍéÒ§¢éͤÇÒÁ

�������ö�� automator �������Ѻ�¡�� ���ҧ service ��Ѻ���͡ run apple script ���ǡ�save ��Ѻ �Դ system pref. ���͡ account �ͧ�������͡ login item

���͡ ���automator �����ҷ�����Ѻ


���͹������ö���ٻ��÷ӵ�ҧ����ҡ��ǻ��Ѻ
���仢�ҧ��
´Ù¢éÍÁÙÅÊèǹµÑÇ Ê觢éͤÇÒÁÊèǹµÑÇ
discoveryhifi



�������: 25 Feb 2008
�ͺ: 1166
�������: BKK. Thailand

µÍºï¿½Íºï¿½ï¿½ï¿½ï¿½ï¿½: Fri Aug 05, 2011 11:12 pm    ï¿½ï¿½ï¿½ï¿½Í§: µÍºâ´ÂÍéÒ§¢éͤÇÒÁ

��������Ѻ �ѹ����繡�����ҧ adhoc network ����Ѻ iPhone ���� iPad �����������ͧ����дǡ�դ�Ѻ...

��ҵ�ͧ���Ẻ Remote Desktop ������ҡ ��§ add VNC Server ����� login item �ա��ǡ稺��Ѻ... Very Happy
_________________
discovery hifi
���仢�ҧ��
´Ù¢éÍÁÙÅÊèǹµÑÇ Ê觢éͤÇÒÁÊèǹµÑÇ ªÁàÇçºÊèǹµÑÇ
���§�ӴѺ��ͤ����ͺ�ҡ��͹˹��:   
ÊÃéÒ§ËÑÇ¢éÍãËÁè   µÍº    discovery hifi forum -> Audiophile Equipment ��Ѻ���� GMT + 7 �������
˹�� 1 �ҡ 1

 
价��:  
�س�������ö���ҧ��Ǣ������
�س�������ö�����ͺ
�س�������ö��䢢�ͤ����ͧ�س
�س�������öź��ͤ����ͧ�س
�س�������öŧ��ṹ


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


For Support - http://forums.BizHat.com

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!