I want to play a file called startup.mp4 in command prompt but without the pause/play and the process bar of the video like in the chilledwindows.exe virus it plays a video but the user cannot notice that its a video. Is it possible if it is how?
try
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --kiosk --no-first-run --edge-kiosk-type=fullscreen --kiosk-idle-timeout-minutes=1 "https://ia800907.us.archive.org/9/items/Chillled_Windows/chilledwindows.mp4"
I added --kiosk-idle-timeout-minutes=1 in case anyone gets into panic mode and hits every key apart from the close combination, just wait 60 seconds for a choice to appear.
For more options see https://learn.microsoft.com/en-us/deployedge/microsoft-edge-configure-kiosk-mode#use-kiosk-mode-features
Related
I start screen capturing on Mac using cmd-shift-5. I would like a way to programmatically stop the screen capture (or alternatively, to flush to screen capture so far to disk).
The reason I'd like this is I'd like to start processing the first minute of screen capture while I continue recording additional footage. I already have ways of programmatically starting a screen capture (1. programmatically sending keyboard inputs to mimic cmd-shift-5 ENTER; or 2. the screencapture command line tool, though I can't seem to get the command line tool to record audio, just video, and the audio's important too), but not of programmatically stopping the capture.
There doesn't even seem to be a keyboard shortcut for stopping the capture; only a button on the touchbar. Some options I've considered are 1) trying to find a way to programmatically use the touchbar, or 2) a combination of programmatic keyboard and mouse movements (cmd-shift-5, then clicking the stop recording button.)
A better approach would be appreciated!
I am trying to send a Hex command from the P.C's serial port. So far I am doing this with a batch script using a modification of this code and the "copy" function.
#echo off
echo BEEF100500C6FF111101000100>off.txt
echo BEEF030600DCDB690000000000>on.txt
certutil -decodehex off.txt off.bin
certutil -decodehex on.txt on.bin
MODE COM1:19,n,8,1
copy off.bin \\.\com1 /b
copy on.bin \\.\com1 /b
What I would like to do is send the Hex command any time the mouse wheel is scrolled up, or send a different command any time the mouse wheel is scrolled down.
The missing piece for me is how to read the input from the USB optical mouse, and combine this event with my desired function.
I found this link on Microsofts help page, but I do not understand all of it and I'm not sure how to incorporate this as my solution.
https://learn.microsoft.com/en-us/windows/desktop/inputdev/mouse-input
Open to any solutions except that I'd like to avoid using third part software like AutoHotKey. Any opensource code or executable are O.K.
I'm not sure why you want to do that, but you may wish to adapt the code from this answer for your needs.
I have got a problem and I really don’t know how to solve it: I would like to change the player position of this / this video while it is opened in the background (so that another tab or application can be active at the same time). I can’t find anything helpful in the sourcecode and GUI scripting is not an option.
Thank you in advance!
EDIT: I came up with an idea: I changed the user agent to iOS 10 (iPhone) although I’m not sure if this makes the whole thing easier.
You can do this with AppleScript and JavaScript if the video player is using the HTML5 video tag. Like you said, changing your user agent to an iOS device increases your chances of being served this instead of a flash player.
First, you need to search for the correct window by URL. Then, the script will run some Javascript in the window to update the time of the video. Change the properties to fit your usage. If the page has multiple video tags, you can change the [0] to which one by order on the DOM, or target by ID instead.
property checkURL : "vimeo.com"
property changeTime : 90
try
tell application "Safari"
set theTab to first tab of window 1 whose URL contains checkURL
do JavaScript "document.getElementsByTagName('video')[0].currentTime = " & changeTime in theTab
end tell
on error
display dialog "That site is not loaded"
end try
I'm writing a MEL script which involves opening the grease pencil UI toolbar. I want to remove the close button on that toolbar. I tried doing
GreasePencilTool;
window -edit -tbm 0 greasePencilFloatingWindow;
but get Error: line 2: window: Object 'greasePencilFloatingWindow' not found.
Further tests reveal that running
GreasePencilTool;
window -q -exists greasePencilFloatingWindow;
will return a result of 0.
Running GreasePencilTool; and then window -edit -tbm 0 greasePencilFloatingWindow; at separate times works as expected, as does running window -edit -tbm 0 greasePencilFloatingWindow; when the toolbar is already open.
However, I need to be able to remove the close button immediately when the toolbar opens.
The closest thing I can think of that illustrates what I want to do are Javascript callback functions, where another function can be executed once the current function is finished... but is there a way to do something like that in MEL?
I've also tried using the evalDeferred command without success.
The grease pencil tool is launched asynchronously so the window will not be present for some unknown length of time. This means the best you could do is trigger a function which would check periodically and do it the next time you find the correctly named window; you could attach this to an idle time script job.
It's ugly. But it is probably the only way since there's no event that will notify when thje window arrives. If you do that, make the script job suicide after it fires so it's not sitting there on every idle check till the end of time.
I need some help with flowplayer…
I want create player like this: moviechannel.pl/player/
So, i want like this: Someone go to page, click on the play button and video start and after X seconds stop and execute javascript code. how create something like this??
You can use cue points or content plugin in flowplayer, below is link:
http://flash.flowplayer.org/documentation/events/cuepoints.html
http://flash.flowplayer.org/plugins/flash/content.html
but the function which is called on that cuepoint, you need to pause the video and after completion of javascript you need to resume your video
Use $f().pause(); to pause
and $f().resume(); to resume video in your function