Thanks. Since then, a Shower Songs project at https://www.rjmprogramming.com.au/HTMLCSS/shower_songs.html is an improvement regarding "Radio Play" on mobile platforms.
Numbers Guessing Game
Your Numbers Game
Get
clueYour
answerYour
ScoreClue? Score 0/0
-
Recent Posts
- PHP Exif Quiz Geographicals Tutorial
- PHP Exif Quiz Tutorial
- PHP Exif Retention off iPhone Images Tutorial
- List to Grid Layout CSS Media Query Tutorial
- List to Grid Layout Primer Tutorial
- Out and About WordPress Blog Content Tweaks Just with iPhone Tutorial
- Command Line History By Date Tutorial
- Overseas Travel Global Roaming Mobile Primer Tutorial
Categories
- Ajax
- Android
- Animation
- Anything You Like
- Code::Blocks
- Coding
- Colour Matching
- Data Integration
- Database
- Delphi
- Eclipse
- eLearning
- ESL
- Event-Driven Programming
- Games
- GIMP
- GUI
- Hardware
- Installers
- iOS
- Land Surveying
- Moodle
- Music Poll
- NetBeans
- Networking
- News
- Not Categorised
- OOP
- Operating System
- Photography
- Projects
- Signage Poll
- Software
- SpectroPhotometer
- Tiki Wiki
- Trips
- Tutorials
- Uncategorized
- Visual Studio
- Xcode
Meta
Tags
Ajax animation background button canvas command line CSS Did you know DOM dropdown email emoji event form game Google Google chart hashtag HTML IFRAME image iOS Javascript MAMP media mobile navigation onclick overlay PHP popup programming select share sharing SMS SVG table text textarea tutorial url video web browser webpageYour Background Image
OnTopList


MAMP Timekeeping Web Application Desktop Application Tutorial
We figured that an improvement on the progress with our Timekeeping web application of the recent MAMP Timekeeping Web Application Audio Broadcast Tutorial would be to mention what macOS or Mac OS X Desktop Application is topmost when the screenshot is taken. When thinking about solutions for this, there was not much time before thinking turned to … Apple Script, which has its GUI Apple “look” … but also … Apple Script PHP shell_exec and (macOS Terminal) command line accessible osascript command line “look” too … and excellent resources such as this excellent one to read that made us realize a PHP codeline such as … <?php $tma=””; if (!file_exists($_SERVER[‘DOCUMENT_ROOT’] . DIRECTORY_SEPARATOR . ‘script.jxa’)) { // Thanks to https://stackoverflow.com/questions/5292204/macosx-get-foremost-window-title $scris=”var seApp = Application(\”System Events\”); var oProcess = seApp.processes.whose({frontmost: true})[0]; var appName = oProcess.displayedName(); var url; var title; switch(appName) { case \”Safari\”: url = Application(appName).documents[0].url(); title = Application(appName).documents[0].name(); break; case \”Opera\”: url = Application(appName).windows[0].activeTab().url(); title = Application(appName).windows[0].activeTab().name(); break; case \”Google Chrome\”: url = Application(appName).windows[0].activeTab().url(); title = Application(appName).windows[0].activeTab().name(); break; case \”Google Chrome Canary\”, \”Chromium\”: url = Application(appName).windows[0].activeTab().url(); title = Application(appName).windows[0].activeTab().name(); break; default: title = oProcess. windows(). find(w => w.attributes.byName(\”AXMain\”).value() === true). attributes. byName(\”AXTitle\”). value() } JSON.stringify({ appname: appName, url: url, title: title });”; file_put_contents($_SERVER[‘DOCUMENT_ROOT’] . DIRECTORY_SEPARATOR . ‘script.jxa’, $scris); } $tma=shell_exec(‘osascript -l JavaScript ‘ . $_SERVER[‘DOCUMENT_ROOT’] . DIRECTORY_SEPARATOR . ‘script.jxa’); ?> … can glean such useful JSON results such as … {“appname”:”Safari”,”url”:”http://localhost:8888/HTMLCSS/quarter_hour_timer.php?tz=Australia%2FSydney&qs=e&audiosave=%20-v%20Victoria%20%20-o%20out.aiff%20%20Screenshot%20%20at%20Monday%20July%2025%202022%2021%2030%20AEST”,”title”:”βlocalhost:8888/HTMLCSS/quarter_hour_timer.php?tz=Australia%2FSydney&qs=e&audiosave=%20-v%20Victoria%20%20-o%20out.aiff%20%20Screenshot%20%20at%20Monday%20July%2025%202022%2021%2030%20AEST”} … well, it almost makes us speechless! This change affected … the changed HTML and Javascript quarter_hour_timer.html (we still ask you to download to MAMP‘s $_SERVER[‘DOCUMENT_ROOT’] “HTMLCSS” subfolder) Web Application supervisor the changed PHP quarter_hour_timer.php (we ask you to download to MAMP‘s $_SERVER[‘DOCUMENT_ROOT’] “HTMLCSS” subfolder) Timekeeping Web Application suited to macOS (or Mac OS X) “screencapture” command line usage the changed macos_say_record.js external Javascript … and we hope you try it for yourself! Previous relevant MAMP Timekeeping Web Application Audio Broadcast Tutorial is shown below. We thought what could be a benefit to the Timekeeping web application of the recent MAMP Timekeeping Web Application Web Share Personalization Tutorial would be to … offer an optional audio broadcasting piece of functionality … presented via a new 📢 (📢) emoji button, that might accompany … notifications … when a screenshot is taken. As good as notifications are, it could be that the user is beavering away with their head down at work as the screenshot is taken, but welcome the audio queue