Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

How to Make FlashPAP On A Mac “Exit and run Sleep Tracking Software” such as OSCAR
#1
Cool 
How to Make FlashPAP On A Mac “Exit and run Sleep Tracking Software” such as OSCAR
This has been a little bug on Mac computers for as long as I can remember - the “Exit and run Sleep Tracking Software” does not launch OSCAR. Well, I discovered a fix, and it works great!

Step 1
  1. Open a Finder window and navigate to your Applications folder.
  2. Control + Click (right-click equivalent) on the OSCAR App.
  3. Click “Show Package Contents” in the popup window.
  4. Click “Contents”.
  5. Click “MacOS”.
  6. Control + Click (right-click equivalent) on OSCAR.
  7. Click “Make Alias” in the popup window.
  8. Rename it if you wish, or not. (I did not rename the alias.)
  9. Move the Alias to your Applications folder.
  10. Close the Finder window.
Step 2
  1. Open FlashPAP.
  2. Click the ellipsis “…” button to the right of the “Exit and run Sleep Tracking Software” button.
  3. Navigate to the Alias you created above.
  4. Click “Open”.
    (Subsequent clicks on the ellipsis “…” button will take you to the package contents “OSCAR”, not the Alias in your Applications folder.)
Open FlashPAP.
Import your data as normal.
Click the “Exit and run Sleep Tracking Software”.
Be amazed and enjoy!  Thumbs-up-2 

Ray
RayBee

  
Post Reply Post Reply






Donate to Apnea Board  
#2
RE: How to Make FlashPAP On A Mac “Exit and run Sleep Tracking Software” such as OSCAR
I don't know if this might help on a Mac, I created an executable bash script (auto.sh) for my Linux boxes that automates the data download and starts OSCAR after it terminates FlashPAP.

Here is the code:
Code:
#!/bin/bash
cd ~/FlashPAP
java --module-path /usr/share/openjfx/lib --add-modules ALL-MODULE-PATH -jar FlashPAP.jar user=A10 exit=yes
/usr/bin/OSCAR
Crimson Nape
Apnea Board Moderator
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Beginner's Guide to Sleepyhead and OSCAR
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#3
RE: How to Make FlashPAP On A Mac “Exit and run Sleep Tracking Software” such as OSCAR
Several way to go here.  Easiest for me was to Use FlashPAP.app then make an executable shell script like such: to open OSCAR
Called openoscar.sh and add the following code to it:
Code:
#!/bin/sh
# This will open OSCAR.app fom inside FlashPAP.
open /Applications/OSCAR.app


Dont forget to make openoscar.sh executable from the command line:

Code:
chmod 755 openpscar.sh
 
Mac's use "Jar Launcher.app to open *.jar files, so just double click FlashPAP,jar and Flashpap will open.  Then click on the 3 dots next to "Exit and run sleep tracking software" and and add the location of openoscar.sh.  then OSCAR.app will be run when you click tab in FlashPAP.  Quick and easy!

If I tought about it for more than a few seconds I could probably come upwith something nicer, but this works easy on Mac.   No need to track down the binary file in the package if you use the "open" command.

Running the binary from in the OSCAR.app may bring a Terminal window opening with it too,  Open is the official way to start an app from the command line and will run the app like you had double clicked it.
Using a 13" MacBook Air (2017), MacOS Catalina (10.15.7), OSCAR v1.2.0
In a VM: Win10 1909 (18363.1139)

Installing OSCAR on a Mac
Organizing your OSCAR charts
Attaching images and files for the forum
OSCAR Help
OSCAR Data Interpretation
Post Reply Post Reply
#4
RE: How to Make FlashPAP On A Mac “Exit and run Sleep Tracking Software” such as OSCAR
I use a similar cmd file on my windows laptop to manage flashpap imports and OSCAR I have a virtual SD card I use for the data so I can use Resscan if I want to
Post Reply Post Reply






Donate to Apnea Board  


Possibly Related Threads...
Thread Author Replies Views Last Post
Cool Recommendation: FlashAir and Flashpap - Wifi data transfer from CPAP to PC/Sleepyhead mogulman 41 6,446 12-02-2020, 11:06 PM
Last Post: Sheepish
  FlashPap and Mac Big Sur Bobaloo 2 35 12-02-2020, 01:38 PM
Last Post: Bobaloo
  software not working fortopman 1 99 11-25-2020, 08:58 PM
Last Post: GuyScharf
  OSCAR v1.2.0 with FlashPaP and Chromebook question tonyt 8 158 11-16-2020, 07:06 PM
Last Post: tonyt
  Prisma TS software malfadors 8 1,032 10-30-2020, 11:15 AM
Last Post: SergioB57
  Flashpap to ResScan hensem 9 215 10-07-2020, 04:33 PM
Last Post: jaswilliams
  Software options? DarrylM 27 588 09-22-2020, 07:57 PM
Last Post: DarrylM


New Posts   Today's Posts






About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.