Hello,
Using macOS Mojave Version 10.14.2 on Mac mini (Late 2014), 3 GHz Intel Core i7, 16 GB 1600 MHz DDR3 with Xojo Version 2018 Release 4
I have read this... https://nug.xojo.narkive.com/5iB1iodb/show-me-in-the-finder
and I have tried the following...
dim ae As AppleEvent ae=newAppleEvent("misc", "slct", "MACS") ae.folderitemparam("----") = app.gf if not ae.send then MsgBox "Finder not running." else ae = newAppleEvent("misc", "actv", "MACS") // the folderitem is not highlighted in its parent folder 'ae=newAppleEvent("misc", "mvis", "MACS") // the folderitem is not highlighted in its parent folder if not ae.send then MsgBox "Finder not running." else 'MsgBox "Finder is running." // if this is uncommented the msgbox is displayed indicating "Finder is running." ae.folderitemparam("----") = app.gf 'MsgBox app.gf.name // if this is uncommented the msgbox is displayed indicating the correct app.gf.name end if 'app.gf.Parent.launch // if this is uncommented the correct app.gf.Parent is launched end if
Any help/suggestions as to why the folderitem is not highlighted in its parent folder?
Thanks.
Lennox