All Projects → joedf → Webapp.ahk

joedf / Webapp.ahk

Licence: mit
"AHK-Webkit" / Webapp.ahk - Library for developing web-based apps with AutoHotkey.

Programming Languages

autohotkey
350 projects

Projects that are alternatives of or similar to Webapp.ahk

Django Todolist
exemplary django application - small to do list web app
Stars: ✭ 47 (-24.19%)
Mutual labels:  webapp
Anarki
Community-managed fork of the Arc dialect of Lisp; for commit privileges submit a pull request.
Stars: ✭ 1,065 (+1617.74%)
Mutual labels:  webapp
Web Applications With Fastapi Course
Demo code and other handouts for students of our FastAPI Web Apps course.
Stars: ✭ 56 (-9.68%)
Mutual labels:  webapp
Milky
A .NET Standard library for pentesting web apps against credential stuffing attacks.
Stars: ✭ 49 (-20.97%)
Mutual labels:  webapp
Aioli
Framework for building fast genomics web tools with WebAssembly and WebWorkers
Stars: ✭ 51 (-17.74%)
Mutual labels:  webapp
Desk Lamp Alternative Firmware
An alternative firmware for the Mijia Xiaomi Desk Lamp
Stars: ✭ 54 (-12.9%)
Mutual labels:  webapp
Start Fastapi
a lightweight web framework based on fastapi
Stars: ✭ 48 (-22.58%)
Mutual labels:  webapp
Play Scala Slick Example
Example Play Scala project with Slick
Stars: ✭ 59 (-4.84%)
Mutual labels:  webapp
Vue Bridge Webview
javascript bridge android/ios webview
Stars: ✭ 52 (-16.13%)
Mutual labels:  webapp
Rust Webapp Starter
Rust single page webapp written in actix-web with vuejs.
Stars: ✭ 56 (-9.68%)
Mutual labels:  webapp
Fclub
Vue全家桶+Koa+mongoose全栈开发的单页应用 http://wap.fulun.club
Stars: ✭ 49 (-20.97%)
Mutual labels:  webapp
Wifi Of House
A simple web application which allows you to share your WiFi credentials instantly with your friends and family. Built using Python, Flask and Bootstrap.
Stars: ✭ 51 (-17.74%)
Mutual labels:  webapp
Bui Guide
BUI 是H5、App的统一框架, 用于快速定制开发WebApp,微信公众号,小程序(微信,支付宝)的webview适配,还可以开发混合移动应用 ( 例如: Bingotouch, Link, Cordova, DCloud, ApiCloud, Appcan ) 的UI, 钉钉的轻应用等第三方平台.
Stars: ✭ 55 (-11.29%)
Mutual labels:  webapp
Csswand
🎨✨ Hover your wand and use your magic spell to copy beautiful css
Stars: ✭ 1,046 (+1587.1%)
Mutual labels:  webapp
Flask Tutorial
A tutorial to build your first flask application
Stars: ✭ 58 (-6.45%)
Mutual labels:  webapp
Company Structure
A company structure with a list of projects and their users
Stars: ✭ 48 (-22.58%)
Mutual labels:  webapp
Channelstream
Channelstream is a websocket communication server for web applications
Stars: ✭ 52 (-16.13%)
Mutual labels:  webapp
Node Express Typescript Boilerplate
A boilerplate for developing web apps with Node.js, Express.js & TypeScript. Demonstrates helpful recipes in 8 steps in individual branches.
Stars: ✭ 60 (-3.23%)
Mutual labels:  webapp
Prestashop
Free PWA & SPA for PrestaShop
Stars: ✭ 59 (-4.84%)
Mutual labels:  webapp
Financier
A web-based business management platform.
Stars: ✭ 55 (-11.29%)
Mutual labels:  webapp

Webapp.ahk

"AHK-Webkit" / Webapp.ahk - Library for developing web-based apps with AutoHotkey. (Actually uses IE [Trident])
Released under the MIT License

Getting started

Webapp.ahk projects should have one AutoHotkey script (*.ahk) file. See Example.ahk. This file must have the following in the header:

#Include Lib\Webapp.ahk
__Webapp_AppStart:
;<< Header End >>

Note: Do not change the working directory; Webapp.ahk handles it. Aurelain's Exo is planned to be intergrated into Webapp.ahk. Custom functions maybe added easily. See the provided example html and ahk files.
Important!: It is strongly recommended to include the following meta tag in the html files:
<meta http-equiv='X-UA-Compatible' content='IE=edge'>

A Webapp.ahk project must have a webapp.json configuration file.

{
  "name":                   "My App",
  "width":                  640,
  "height":                 480,
  "protocol":               "app",
  "protocol_call":          "app_call",
  "html_url":               "index.html",
  "NavComplete_call":       "app_page",
  "Nav_sounds":             true,
  "fullscreen":             true,
  "DPI_Aware":              true,
  "ZoomLevel":              100,
  "AllowZoomLevelChange":   true
}
  • Width & Height: Webapp.ahk allows window resizing just like any other application. The width and height options here are to set the application's starting size.
  • The name option is the text that will be displayed in the title bar. It can be changed on run-time with setAppName().
  • The html_url option is the starting HTML file for the App to launch with. It defaults to index.html if none is specified.
  • The protocol option is for filtering URL prefixes such as whether to run a function when a link like app://msgbox/hello is clicked.
  • The protocol_call option is the name of the function in your AutoHotkey that will run in these cases. It defaults to app_call() if none is specified.
  • The NavComplete_call option is the name of the function in your AutoHotkey that will run when a page is finished loading. Its first argument is the new page's URL. It defaults to app_page() if none is specified.
  • The Nav_sounds parameter (boolean) is optional. If left unspecified, it defaults to false. The Navigation sounds correspond to the sounds made by IE during navigation such as the infamous "click" sound.
  • The fullscreen parameter (boolean) is optional. If left unspecified, it defaults to false. This sets whether the application should start in fullscreen or as a window of the specified size (Width & Height).
  • The DPI_Aware parameter (boolean) is optional. If left unspecified, it defaults to true. This sets whether the application should do zoom level auto-correction based on the system's DPI.
  • The ZoomLevel option is the percent scaling for the App to launch with (e.g. specify 200 for 200% scaling). It defaults to 100 if none is specified.
  • The AllowZoomLevelChange parameter (boolean) is optional. If left unspecified, it defaults to true. This sets whether the application should allow users to change the zoom level with either Ctrl +/- or Ctrl Wheel Up/Down.

Note: For example, if protocol is set to myapp and a myapp://test/1234 link is clicked, the set protocol_call function will be called and will receive test/1234 as its first argument. If protocol is set to *, the set protocol_call function will run for ANY link clicked and it will receive myapp://test/1234 (the whole URL) as its first argument. This is not recommended for most cases, as links with will also trigger the function (usually unwanted behaviour).

Special thanks

A special thanks to Coco, VxE, Lexikos, Phatricko, MrBubbles and the AutoHotkey community.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].