Month: October 2010

Posted in Asp.Net Uncategorized

Recursive in C#

public partial class _Default : System.Web.UI.Page { List lst = new List(); int mainnode = 0; protected…

Posted in MAC Uncategorized

Mouse click event using Apple Script

set “Google” as Home page for test this application… tell application “Safari” activate tell application “Safari” run…

Posted in MAC Uncategorized

System tray menu in MAC OS x application

1. Open interface builder create NSMenu from Tools->Library. And create NSMenuItem “Active” and “Quit”. 2. “Active” select…

Posted in iPhone Uncategorized

ESC handle by AppleScript

tell application “System Events” tell application “TextEdit” to activate tell application “TextEdit” to run keystroke “s” using…

Posted in iPhone Uncategorized

AppleScript in Cocoa Class

//message= TextEdit:f NSString *string = message; // split the text by the : to get an array…

Posted in iPhone Uncategorized

First Apple script Open Application

tell me activate set s to display dialog “Which appliation do you want to start?” default answer…