Perry Hiltz 19.Apr.07 11:05 AM a Web browser Domino DesignerAll ReleasesMacintosh
I am working on an application specifically for Macintosh. I am not a Macintosh developer but I need to press the Enter key programmatic ally on a Mac.
What I normally do in Windows is use this agent:
Option Public
Option Explicit
Declare Sub keybd_event Lib "user32.dll" (Byval bVk As Integer, Byval bScan As Integer, Byval dwFlags As Integer,Byval dwExtraInfo As Integer)
Declare Function GetForegroundWindow Lib "user32" () As Long
Dim s As New NotesSession
Dim notesDataPath As String, currentIcon As String, currentProcess As String, tmpStr As String
Dim i As Integer
Dim outFilePath As String, outFileNum As Integer
Dim hForegroundWnd As Long