PDA

View Full Version : How to run Apple Script using Qt4.4.2?



merry
18th December 2008, 06:20
Hi all

Working on Qt4.4.2 on my intel mac machine, I want to run Apple Script using Qt for getting the information about the processes running or not?

for eg. (Apple Script)


tell application "System Events"
count (every process whose name is "Internet Explorer")
end tell

it returns 1 if it is running else return 0.

or is there any function in Qt to get the information about the applications on the system.