Package org.sikuli.natives
Class MacUtil
java.lang.Object
org.sikuli.natives.MacUtil
- All Implemented Interfaces:
OSUtil
public class MacUtil extends Object implements OSUtil
-
Constructor Summary
Constructors Constructor Description MacUtil() -
Method Summary
Modifier and Type Method Description voidcheckFeatureAvailability()check if needed command libraries or packages are installed and working
if not ok, respective features will do nothing but issue error messagesbooleanclose(App app)Appget(App app)List<App>getApps(String name)static RectanglegetFocusedRegion()RectanglegetFocusedWindow()static intgetPID(String appName)static RectanglegetRegion(int pid, int winNum)RectanglegetWindow(String appName)RectanglegetWindow(App app)RectanglegetWindow(App app, int winNum)List<Region>getWindows(App app)booleanopen(App app)Appswitchto(String title, int index)booleanswitchto(App app)
-
Constructor Details
-
MacUtil
public MacUtil()
-
-
Method Details
-
checkFeatureAvailability
public void checkFeatureAvailability()Description copied from interface:OSUtilcheck if needed command libraries or packages are installed and working
if not ok, respective features will do nothing but issue error messages- Specified by:
checkFeatureAvailabilityin interfaceOSUtil
-
get
-
open
-
switchto
-
switchto
-
close
-
getWindow
-
getWindow
-
getWindow
-
getFocusedWindow
- Specified by:
getFocusedWindowin interfaceOSUtil
-
getWindows
- Specified by:
getWindowsin interfaceOSUtil
-
getApps
-
getPID
-
getRegion
-
getFocusedRegion
-