Can node-webkit or atom-shell take screenshot of entire desktop screen? - screenshot

I want to take a screenshot of entire screen (PrintScr), not just browser window. Is this possible with either node-webkit or atom-shell?

Atom Shell can't do this natively, you'd have to write a native node module to do this, then include it in your project

Related

rebrand GUI icons of Chromium

I am building my browser from Chromium on Windows. I carried out steps from this page: https://chromium.googlesource.com/chromium/src/+/main/docs/windows_build_instructions.md
It builds successfully and browser runs well. I also rebranded all pics in src\chrome\app\theme\chromium, but the logo icons in GUI are still chromium ones
Where can I change these in code?
To change those logo you can refer to my answer here
Now to change the vectorized icon which is displayed in the tab bar, you should modify this file
components/omnibox/browser/vector_icons/product.icon
You can find more info about vectorized icons here
This is how the code of vectorized icon looks like here
Hope that helps!

Does anyone know how do i get the list of all the applications installed in phone that can run audio files in react-native?

I want to create a functionality in react-native app such that on pressing a particular button, it should get me to the "open with" window, and that window should fetch me the list of all the installed applications in the phone which can run audio files. How can i get such list?
On a Android system, that "Open with" screen pops up when:
The user have more than one application that can play that specific audio format(Because it's not every app that can run every audio format).
The user did not set-up a default app to open the audio format.
So, You should just use a library like rn-fetch-blob to open the file for you, like as follow:
RNFetchBlob.android.actionViewIntent(fileLocation, mimeType)
And android will take care of picking the right app for you.
In case this answer does not satisfy you, you can get a list of apps using react-native-android-installed-apps-unblocking, but there's no information about wich ones can run an audio file, and maybe IOS will have some restrictions about what can be done, so your best option is to let the system do that for you!

App modeller, Identify button not showing up in blueprism spying

I am creating calculator VBO in blueprism object studio.
In application modeller I gave calc.exe path and able to launch calculator, but I am not getting identify option to spy on any element..
In Element, After clicking Launch buttion, identify is appearing for a split of sec and Launch button is coming back instead of Identify
PS- As mentioned in videos and links, I have launched calc via application modeller not directly via windows..
I am using windows 10, BluePrism V.5.0.11.0 versionenter image description here
Windows 10 calculator is complicated case, please consider using different application in your training. For example paint is much simpler to get started.
If you really need to get that going, then you may need to launch application first, using one object, and afterwards use second object to attach and interact with it.
can be two reasons
1. Either your application is not launched properly.
2. Sometimes we face problems with some versions of applications.
The best way to fix your problem is
Edit your settings remove the application path from the navigate stage.
Launch the application separately
Open Navigate stage > Action > Attach
Provide the window title within quotes (example: "Calculator")
Click OK then run the object
Now if you go to application modeller
You will be able to see the identify button under the element.
Hope this will help you.
I resolved this by unchecking "Disable invasive techniques (hooking)".
The Windows 10 calculator runs with process name win32calc which is also located under c:\windows\system32.
So when you launch the application please make you identify the applications process name and its location
I resolved this by circumventing to windows 7 calculator instead of a windows 10 calculator on windows 10.
Link to download win 7 calculator for win 10-
https://winaero.com/download.php?view.1795
This will be installed in the same place as your default calculator.
Inside-
C:\Windows\System32
The name of the app in my case was "calc1.exe" to avoid collisions with the default calculator.
I used this as my base reference app for spying and it worked.
Also note, the hover to highlight button seems to be a bit buggy, try a bit hit and trail to get you required button to be highlighted and mark using "Ctrl+LeftClick"

React Native iOS simulator only performs fetch on click

I have a weird bug in my simulator. iOS / React Native does a call, but it waits until I click inside the simulator to actually display the data (and show the result actions from Redux in my console.log).
Has anyone experienced this behaviour before?
If you're using remote JS debugging (in Chrome for example), try disabling it.
Update: Rather than disabling JS debugging completely, you can instead deactivate breakpoints and remove Pause on exceptions, which usually means you don't have to click to nudge the code to progress.
To do so in Chrome click the Sources tab in inspector, followed by the relevant file, then on the right ensure the two options are disabled. One looks like a bullet with a line through it (you want this to be blue), and the other looks like a pause icon in a circle (you want this to be grey).

Screenshot into AIR application

Is there away to copy a screenshot directly into an Adobe Air (2) application?
Kinda like this: User presses the "print screen" button and the screenshot shows up in the app.
Also I'ld like to know if pasting via keyboard or right-click work for that?
I'm new too AIR.
Best, John
Yes, it can be done.
But no, not directly from Air, unless you wish to capture parts of your own AIR UI (which should be no problem as these are within the scope of the AIR Application)
To capture the whole screen you would need to use an ANE (Adobe Native Extension) which can be written
both for iOS and Android devices and used from within AIR via an API.
Introduction to ANE Development:http://help.adobe.com/en_US/air/extensions/air_extensions.pdf
The following post discusses on the way by which an Air ANE can capture a screenshot (which is technical and relevant for developing such an ANE for Android)
How Native Extension take screenshot on Android device?
Other then this you might try a workaround, that is, instructing the user to capture using his own device's capture combination, then simply ask them to select the file from the Gallery, if indeed this is your intention...?