Search results

  1. H

    Action: Read Screenshot Contents (no input variable?)

    My device here is: Nokia 6.1 / Android 13 Permissions Allowed on Macrodroid 5.43.6 Pro: Calendar, Call logs, Camera, Contacts, Location, Microphone, Music and audio, Nearby devices, Notifications, Photos and videos, Physical activity I tried it with different texts on the cell phone screen...
  2. H

    Action: Read Screenshot Contents (no input variable?)

    To use e.g. the "Take Screenshot" action the smartphone must be rooted. -Does the device need to be rooted for the "Read Screenshot Contents" action to work? I don't use a rooted device.
  3. H

    Action: Read Screenshot Contents (no input variable?)

    -I'm asking because the output array variable is always empty when trying the "Read Screenshot Contents" action (the Macrodroid log file shows no errors and the MD Helper log is empty). My device is: Nokia 6.1 / Android 13 Permissions Allowed on Macrodroid 5.43.6 Pro: Calendar, Call logs...
  4. H

    Action: Read Screenshot Contents (no input variable?)

    Ok, very helpful, thank you. Is there a visible sign on the phone screen (or a sound) when MD takes the screenshot?
  5. H

    Action: Read Screenshot Contents (no input variable?)

    Hello, Normally an OCR recognition module needs a path to know which screenshot file the module should read from, e.g a path like this : /storage/emulated/0/Pictures/Screenshots/20240330-155845.png But the Macrodroid action"Read Screenshot Contents" has no option to specify a fixed path (or...
  6. H

    Screenshot to text recognition OCR

    I think the string is truncated (posting #9 - 2nd image) . -Instead.. content://com.android.externalst it must be: content://com.android.externalstorage.documents/document/primary%3APictures%2FScreenshots%2F%image Stackoverflow.com : "what is com android externalstorage" Edit: If the path to...
  7. H

    Screenshot to text recognition OCR

    Before using the Shell Script command .. Ls -rt /storage/emulated/0/Pictures/Screenshots | tail -n 1 go to : (Android 13=) Settings / [search for: permissions] / App permissions manager / photos and videos / Macrodroid (Android 7=) Settings / [search for: permissions] / Storage / Macrodroid...
  8. H

    Methods to count spaces in a string

    -Sounds interesting. I don't know how to extract just the spaces found into a second string variable using the macrodroid "Text Manipulation" function. The macrodroid "Text Manipulation" function has 8 options: 1 Substring 2 Replace all 3 Extract text (with the 3 sub-options: "First match" and...
  9. H

    Methods to count spaces in a string

    @Pseudocyclic Good method, thank you.
  10. H

    Methods to count spaces in a string

    Hi, how can I count the spaces in a string and store the result in a macrodroid integer variable? Input string: myString = "alfa bravo charly delta echo foxtrott" With the macrodroid magic string {strlen=myString} it is possible to get the string length. Here is an example (macrodroid local...
  11. H

    Need equivalent to Char() string function

    Hi, does macrodroid have an equivalent to the (Visual Basic 6) Char() function ? example: For a = 48 To 57 Print Chr(a) Next the result is: ' ===> 0 1 2 3 4 5 6 7 8 9 or: a = 48: myString = Chr(a): Print myString ' ====> 0 a = 57: myString = Chr(a): Print myString ' ====> 9 a = 97: myString...
  12. H

    HowTo: Get value of built-in light sensor

    The {current_brightness} is the brightness of the display and not the brightness of the built-in brightness sensor.
  13. H

    HowTo: Get value of built-in light sensor

    Hi, I want to display the brightness value of the built-in light sensor in a "Floating Text". I can display the battery temperature (battery_temp) and the system time (system_time) without problems. -How do I display the brightness value of the light sensor ? Battery temperature...
  14. H

    [solved] Action: "Keyboard Set Default" -HowTo switch Virtual Keyboard

    You're right. I had to enable the "Key Mapper Keyboard" first (under Android/Settings/General Management/Language And Input/Virtual Keyboard/Manage keyboards/Key Mapper Keyboard: enabled) -It is now clear : The "Keyboard - Set default" action is also for "virtual keyboards". Annotation: To...
  15. H

    [solved] Action: "Keyboard Set Default" -HowTo switch Virtual Keyboard

    MacroDroid 5.35.12 (August 2023) Hello, in android there are 2 keyboard types. Virtual keyboard and physical keyboard (see image 2) I want to switch the Virtual Keyboard from "Samsung Keyboard" to "Key Mapper Basic Input Method" using "Macrodroid Action" Device Settings (blue color) /...
  16. H

    Can MacroDroid load a TXT file shared on LAN?

    entering .. \\192.168.178.21\lyrics\Lyric1.txt in the browser works for: -Main-PC : (works always, regardless of whether the firewall on the Main PC is on or off) -Portable win10 computer, on the same LAN : (works only if the firewall on the Main Pc is off) -The android 6.0.1 device with...
  17. H

    Can MacroDroid load a TXT file shared on LAN?

    I used the Macrodroid "HTTP GET" Request method with the URL ... \\192.168.178.21\lyrics\Lyric1.txt or ( \\Main-PC\lyrics\Lyric1.txt ) -After that the MacroDroid "Local Variable" didn't contain the Lyric1.txt. Instead it contained the following error message string...
  18. H

    Can MacroDroid load a TXT file shared on LAN?

    Hello, I have a Desktop-PC in the LAN with some shared folders and shared files. The path to one of the files in the LAN is : \\Main-PC\lyrics\Lyric1.txt -Is it possible to load that text file using Macrodroid? PS: (I want to load that text file into a Macrodroid Local-Variable.)
  19. H

    "Media Button V2": macro enable/disable Problem (MD 5.35.12)

    There is only one single macro in my MacroDroid v5.35.12 ... and there are three unused "ActionBlocks". -After each reboot the "Test.macro" is disabled and I have to enable the "Test.macro" manually.
  20. H

    "Media Button V2": macro enable/disable Problem (MD 5.35.12)

    The disabled banner appears .
Top