Floating window in 2.80

Is it possible to make a hotkey that will popup the window where the mouse pointer is?

Currently the only way to make a new window pop up and centered at the cursor is using bpy.ops.screen.userpref_show('INVOKE_DEFAULT'). You can then change the new window to display any area type.

In 2.8, set a shortcut to

bpy.ops.screen.area_dupli('INVOKE_DEFAULT')

Yep! Thanks guys!