There are an event to be detected when player enters in fullscreen mode?
Detail: Flash fallback is present
Place this function in your event listener: console.log(player.isFullScreen);
This will print true if player is in fullscreen mode.
In order to successfully print the content of the variable you need to create the player
dynamically and assign it to a variable called player.
Related
I know we can record video using quicktime player's new screen recording, but it only records the active space ( https://support.apple.com/en-in/guide/mac-help/mh14112/mac#:~:text=Move%20between%20spaces,Right%20or%20Left%20arrow%20key. )
I want to record a zoom call in background while I switch my space to chrome let's say and do a google search.
Instead of using Spaces, try putting your Zoom app window aside a browser window so you can see them both on screen at the same time. Then in the Quicktime Player, before recording, select "record selected portion" and frame in only the Zoom app window, before clicking the record button. While the recording is going on you can still navigate/search within the separate browser window.
I use the TTaskbar component in my Delphi application to show the progress of the current operation in the TaskBar.
At the beginning it should show a "Indeterminate" progress (known as pbsMarquee in the context of a ProgressBar).
If I set the status the "indeterminate" animation is only display a single time. I expect it to animate all the time until I change the ProgressState:
tbTaskBar.ProgressState := TTaskBarProgressState.Indeterminate;
Any thing I am missing? What I need to do to dislay the animation all the time?
i know that handsontable is not mobile friendly but is there a workaround that we can edit on mobile devices with the newest version?
Regards
I use Handsontable version 0.25.1, but I imagine the situation is still the same at the very latest release.
My experience is only with iPad device (iOS 9); I cannot speak about all mobile devices.
I found the rendering acceptable. But if you tap a cell to edit nothing happens, which is rather limiting! I made just two small changes to rectify:
Tracing all of this right down in handsontable.full.js, the logic in onCellMouseDown() is testing for event.button === 0 (i.e. left mouse button) to start setting up for recognising the double click to activate the mobile text editor. On a touch device, they are explicitly calling their onMouseDown/Move/Up() from their onTouchStart/Move/End(), passing the mouse events the event structure received for the touch event. However, touch events' event structure does not have a button member, so that is undefined, causing bad behaviour.
Directly setting passed-in event.button = 0 before passing to mouse event handlers solves this. Put in line:
event.button = 0; // set as left mouse button
into onTouchStart() [prior to call to onMouseDown(event), around line 1326] & onTouchEnd() [prior to call to onMouseUp(event), around line 1368].
Now tapping into a cell correctly allows editing. It brings up their MobileTextEditor. Which I did not like for a number of reasons, including the fact that often it appears behind the on-screen keyboard so the user does not even know it is there! I changed their Handsontable.TextCell [around line 4346] so that the editor: line now reads:
editor: (isMobileBrowser() && Handsontable.useMobileEditor) ? getEditorConstructor('mobile') : getEditorConstructor('text'), // only use mobile editor if explicitly called for
So it uses the standard in-place text editor, which I prefer, unless you go hot.updateSettings({useMobileEditor: true}).
I have a topmost window. I need it be the topmost over any other topmost window but not cover any fullscreen window:
particularly: {Windows Media Player, Youtube flash player, RDP}
There is a solution with continuous checks:
every YYY milliseconds I check is there(on the same display) another topmost window with dimensions equal to screen dimensions.
if so: make my window non-topmost, otherwise make it topmost.
But I’m looking for another less resource-consuming solution which will not perform dozens of system calls and traverse the entire tree of topmost windows every second.
I can handle any WM_
I can inject hook into a process.
The problem:
How to detect a full screen window on the same desktop?
How to detect fullscreen mode using incoming WM_(s) or any technique other than continuous checking?
Check out SetWindowsHookEx() to set a CBT hook (WH_CBT). In particular, in your CBTProc() you'll get a WHCBT_MOVESIZE notification when a window is being moved or sized.
How can I fire an automatic key press or mouse click event when a color appears on the screen
on other application or browser?
It depends a lot on what you want. Do you want to send the keys to
your Application
another fixed Application
Simulate a global keypress
Simulating keys globally
All of these will cause problems targeting a specific application and the active window changes.
SendKeys Sends Messages to the active app. It's a high level function taking a string which encodes a sequence of keys.
keybd_event is very low level and injects a global keypress. In most cases SendKeys is easier to use.
mouse_event simulates mouse input.
SendInput supersedes these functions. It's more flexible but a bit harder to use.
Sending to a specific window
When working with a fixed target window, sending it messages can work depending on how the window works. But since this doesn't update all states it might not always work. But you don't have a race condition with changing window focus, which is worth a lot.
WM_CHAR sends a character in the basic multilingual plane (16 bit)
WM_UNICHAR sends a character supporting the whole unicode range
WM_KEYDOWN and WM_KEYUP Sends keys which will be translated to characters by the keyboard layout.
My recommendation is when targeting a specific window/application try using messages first, and only if that fails try one of the lower level solutions.
when a color appears on the screen on other application or browser
I made one program using OpenCV and C++ for operating mouse with finger gesture. I used 3 color strips for 3 mouse function.
Yellow color for Left click
Blue color for Right click
Pink color for controlling cursor position
Whenever camera detect these colors, associated function takes place, I have used mouse_event for performing mouse function.
For more information you may read my code, blog, video.
I'm not 100% sure what you want, but if all you are after is running the method linked the the button.Clicked event, then you can manually run the method just like any other method.
You can use the .NET SendKeys class to send keystrokes.
Emulating mouse clicks requires P/Invoke.
I don't know how to detect colors on the screen.