Custom Adobe AIR (badge) Installation Process - actionscript-3

I have a silly question.
Is there any way to make a custom adobe air application installer?
Now, after I click on the badge "install" button (on the web site), air app starts installation process in 4 steps (3 mouse clicks):
First, I have 3 buttons ("open", "save" and "cancel"), I click on "open";
Then I have 2 buttons ("install", "cancel"), and I have to click on "install";
After that, I have options to change installation directory location, add shortcut icon on the desktop, and 2 buttons again ("continue" and "cancel"), I have to click on "continue";
And finally, installation begins.
Is there any way to avoid some steps here (e.g. second step), or maybe to disable some buttons (like "save" button in the first step, or "add shortcut icon on my desktop" in the third)?
If it's not possible, is there any way to create custom air app installer?
Thanks
P.S. I don't have problem with these 3 mouse clicks during installation, but my clients consider that "I have" 1 extra click.

Check the below links for more clarity
http://help.adobe.com/en_US/air/build/WSfffb011ac560372f709e16db131e43659b9-8000.html
http://www.adobe.com/devnet/air/articles/customize-setup-for-AIR-app-with-captive-runtime.html
If you want custom badge style, you have to pack your app as captive runtime and create your own installer.

Related

Downloads page menu live update HTML and Bootstrap

I am trying to make a menu page where you have 3 tabs: Windows, Linux, Mac. Then when you hit Windows it not only downloads the windows installer but also opens install instructions for Windows. If you open the Linux tab, it will download the Debian package but also open Linux instructions on how to install it. I want it kind of like this site. Also, try making it simple because I am only a beginner in HTML.
https://www.jetbrains.com/pycharm/download/#section=windows
Example:
When I click on the Linux tab on this page:
Click HERE for image
the instructions popup reads instructions for the Linux install:
Click HERE for image
But when I got to the Windows tab, the instructions tab changes:
Click HERE for image
You can add event listeners to all the three tabs, like if the user clicks windows then on click change the link of the download button to the target file you wish to download and similarly for the other two.
If the download button is:
<button href="/path/to/windowsDownload" download>Download</button>
Now if the user clicks, Linux button, add event listener to Linux button as:
document.getElementById('linux-btn').addEventListener('click', () => {
document.getElementsByTagName('button'[0].setAttribute('href', '/path/to/LinuxDownload')
})
Similarily add an event listener for the other two buttons as well, i.e windows and mac respectively.

PhpStorm - Highlight active file in project navigator

Does anyone know how to highlight the current file in the project navigator, or a hotkey to expand folders to the active file?
I have looked around and couldn't find anything that points to this as an option.
Here is a nice feature: Autoscroll to Source and Autoscroll from Source.
It is available in all IntelliJ products .
On Demand
Should be used if you do not like when your Project View panel gets changed/moves without your consent.
Navigate | Select in... | Project View
Alt+F1, 1 for Windows/Linux
⌥+F1, 1 (or fn+⌥ Opt+F1, 1) for Mac OS
You may also click on "target like" icon on actual Project View panel with your mouse:
If you wish to use shorter/single shortcut instead of standard 2-step shortcut:
install "Extra Actions" plugin
assign custom shortcut to newly provided "Select in Project" action
As of some 2017.x version (or maybe even 2016.x) the IDE has own dedicated Select in Project View action (so no need for additional plugin). You can find it in Keymap under the Other branch (hint: use search box to narrow the list).
Automatically
Can be used if you do not mind (or even want) to have Project View panel keep focused on currently edited file (so it scrolls/moves up and down/expands when needed).
NOTE: with frequently switching between the files (e.g. CSS & HTML) when you have a lot of files in your project such "scrolling" may become quite annoying pretty fast (especially if such files are located in the invisible-right-now part of the project tree).
Activate Autoscroll from Source option in Project View panel (right click on tool window header bar/title or use menu under "gear" icon):
In modern versions (2020.3 and newer) that option was renamed and is now called Always Select Opened File:
Just click the circular icon (with tooltip Scroll from Source) to navigate in the project directory tree and highlight the corresponding active file in the PhpStorm editor.
On PhpStorm 2020.3 you have to click the cog icon in the project pane and select Always Select Opened Files:
The above answers are all valid but unfortunately you'll have to enable them for each project.
There's a plugin from Jetbrains that will enable this behaviour by default for all new projects.
http://plugins.jetbrains.com/plugin/7575?pr=

Is a "close" icon necessary in other platforms?

In iOS, one doesn't need to add a close icon for an app. In the rare event that one wants to kill an app they can do it via the OS.
When looking at the cocos2d-x project that is created by default when using the console (v3.1.1), the sample HelloWorld scene places a button on screen to "close" the app.
Is this actually required in ANY platform ? Does it make sense to add this button at all ?
Apple usually rejects on this and Google and Microsoft don't like it.
You can, however, have close buttons on menus or popovers (say, like a pause screen).

selecting an item opens edit mode in windows 8 apps C#.net

I have a windows 8 app, in which i show the list of students as tiles. When a tile is tapped on, the app bar opens which give the option to edit. My question is; when the tile is tapped, is it fine to go to the Edit window rather than opening the app bar. Does windows 8 app guidelines allow this.
I have gone through the windows 8 guidelines but it has left me confused if its the right way or not.
Thanks in advance.
I think the best way to do this must be that on click of the tile you should open the edit window. And the appbar must have only add button, so that in case the user wants to add a student he can do so through the app bar. I feel this is the correct user experience.

Does extensions work if I save chrome page as application into my desktop?

Does extensions work if I save chrome page as shortcut application?
I've tried but no result.
We know that if we save page as application, there would be no address bar and all other browser buttons.
I've developed simple extension, with no UI, just javascrips running in background.html page. So, as I see no scripts are running in application. But I need them work.
What can I do?
Simply edit the shortcut path and append --enable-extensions.
To edit a Windows 7 pinned taskbar item, right click it then right click the program name and select Properties from the menu.