Giter Site home page Giter Site logo

imessageclient's Introduction

Hi there 👋

imessageclient's People

Contributors

camhenlin avatar luciofranco avatar nilliams avatar peragwin avatar stevenschmatz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

imessageclient's Issues

GChat Accounts & Facebook Accounts

I connect my GChat and Facebook accounts to Messages. Would be nice to be able to retrieve and enable chatting to those chat programs, if possible.

Getting error messages when installing :(

13 errors generated.
make: *** [Release/obj.target/binding/src/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.3.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/Tom/imessageclient/node_modules/ref
gyp ERR! node -v v5.1.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok

Crash when sending message

Crashes when trying to send a message trough AppleScript:
we have a file to monitor!

Error: /Users/thibaultmaekelbergh/Downloads/imessageclient-master/sendmessage_single.AppleScript:130:142: execution error: System Events got an error: Can’t get process "Messages". (-1728)

    at ChildProcess.<anonymous> (/Users/thibaultmaekelbergh/Downloads/imessageclient-master/applescript/lib/applescript.js:54:13)
    at ChildProcess.emit (events.js:98:17)
    at Process.ChildProcess._handle.onexit (child_process.js:810:12)

Contact names do not show

Would be great if you could bring in the contact's name instead of displaying the raw telephone number / iCloud email address.

Weird UI?

Not sure if it's just me or some settings I'm not doing right but my interface looks like this in iTerm2 instead of the one shown in the screenshot in the repo.

screen shot 2015-02-08 at 4 24 20 pm

SQLite3 module issues

When I try to launch the application, I am told about how some SQLite3 nodes/modules can't be found. I can see them in Finder, so I know they are there.

Kyles-Air:imessageclient Kyle$ node app
module.js:338
throw err;
^
Error: Cannot find module '/Users/Kyle/imessageclient/node_modules/sqlite3/lib/binding/node-v14-darwin-x64/node_sqlite3.node'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/Users/Kyle/imessageclient/node_modules/sqlite3/lib/sqlite3.js:4:15)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)

Only english as system language seems to work

➜  node app
we have a file to monitor!
Error: /Users/me/Developer/imessageclient/sendmessage_single.AppleScript:167:179: execution error: System Events got an error: Can’t get menu "file" of menu bar 1 of process "Messages". (-1728)

    at ChildProcess.<anonymous> (/Users/me/Developer/imessageclient/node_modules/applescript/lib/applescript.js:54:13)
    at ChildProcess.emit (events.js:98:17)
    at Process.ChildProcess._handle.onexit (child_process.js:820:12)

Maybe there is a way todo this in AppleScript without using the captions of the menubar items, but instead the keystrokes or some events.

Crash when sending message

Messages.app is open

permissions are given screenshot to Terminal.app

error message:

we have a file to monitor!
Error: /Users/haroenviaene/git/imessageclient/sendmessage_single.AppleScript:170:262: execution error: System Events got an error: Can’t get window 1 of process "Messages". Invalid index. (-1719)

    at ChildProcess.<anonymous> (/Users/haroenviaene/git/imessageclient/applescript/lib/applescript.js:54:13)
    at ChildProcess.emit (events.js:110:17)
    at Process.ChildProcess._handle.onexit (child_process.js:1067:12)

error when installing "npm install"

I am using OSX 10.10.5
node : v0.12.4
2.7.5

I get the following errors when following the installation procedure:


$ npm install
npm WARN package.json [email protected] No repository field.
npm WARN deprecated [email protected]: deprecated in favor of builtin child_process.execFile


> [email protected] install /Users/frak/Documents/imessageclient/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

[sqlite3] Success: "/Users/frak/Documents/imessageclient/node_modules/sqlite3/lib/binding/node-v14-darwin-x64/node_sqlite3.node" is installed via remote

> [email protected] install /Users/frak/Documents/imessageclient/node_modules/imessagemodule/node_modules/nodobjc/node_modules/ffi
> node-gyp rebuild

2016-03-01 18:24:49.015 xcodebuild[76619:18818480] [MT] PluginLoading: Required plug-in compatibility UUID F41BD31E-2683-44B8-AE7F-5F09E919790E for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SamplePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
  CC(target) Release/obj.target/ffi/deps/libffi/src/prep_cif.o
  CC(target) Release/obj.target/ffi/deps/libffi/src/types.o
  CC(target) Release/obj.target/ffi/deps/libffi/src/raw_api.o
  CC(target) Release/obj.target/ffi/deps/libffi/src/java_raw_api.o
  CC(target) Release/obj.target/ffi/deps/libffi/src/closures.o
  CC(target) Release/obj.target/ffi/deps/libffi/src/x86/ffi.o
  CC(target) Release/obj.target/ffi/deps/libffi/src/x86/ffi64.o
  CC(target) Release/obj.target/ffi/deps/libffi/src/x86/darwin.o
  CC(target) Release/obj.target/ffi/deps/libffi/src/x86/darwin64.o
  LIBTOOL-STATIC Release/libffi.a
libtool: unrecognized option `-static'
libtool: Try `libtool --help' for more information.
make: *** [Release/libffi.a] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/frak/Documents/imessageclient/node_modules/imessagemodule/node_modules/nodobjc/node_modules/ffi
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok 

> [email protected] install /Users/frak/Documents/imessageclient/node_modules/imessagemodule/node_modules/nodobjc/node_modules/ref
> node-gyp rebuild

2016-03-01 18:24:52.858 xcodebuild[77082:18819028] [MT] PluginLoading: Required plug-in compatibility UUID F41BD31E-2683-44B8-AE7F-5F09E919790E for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SamplePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
  CXX(target) Release/obj.target/binding/src/binding.o
  SOLINK_MODULE(target) Release/binding.node
  SOLINK_MODULE(target) Release/binding.node: Finished
npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.4
npm ERR! npm  v2.10.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the ffi package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls ffi
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/frak/Documents/imessageclient/npm-debug.log
[18:24] frak@ALNAUMF-M-D0CX:~/Documents/imessageclient
$ node app
module.js:338
    throw err;
          ^
Error: Cannot find module 'imessagemodule'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/Users/frak/Documents/imessageclient/app.js:9:22)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)

Error: SQLITE_CANTOPEN: unable to open database file

When I try to run the app using node app, I get the following error message:

Error: SQLITE_CANTOPEN: unable to open database file

Could someone give me instructions on how to fix this? I am trying to run the app on macOS Mojave v10.14.4. I have also given system permissions to terminal.app.

Wrap text

This project seems dead, but I wanted to try and see if anyone knew the answer. The chat text in the box expands with the size of the terminal window, but doesn't wrap when it hits the edge of the message box. Is there a way to get the text to wrap so you can see all of the chat text? Thanks.

Requires extra tab on systems with "Full keyboard access" set to "All controls"

See bottom section of this screen for the setting I have enabled:

screen shot 2015-02-07 at 6 18 25 pm

Add recipient button becomes next tab target after recipient entry field:

screen shot 2015-02-07 at 6 18 42 pm

Posible solution

Use a different apple script that tabs twice when all control access is enabled.

This setting can be queried via:

# When set to "All controlls"
$ defaults read NSGlobalDomain AppleKeyboardUIMode
3

# When set to text boxes and lists only
$ defaults read NSGlobalDomain AppleKeyboardUIMode
1

Error when launching on Mac OS X 10.8.5

I'm getting an error when launching version 52685b8 via Node 0.10.36 on Mac OS X 10.8.5 Mountain Lion:

> node app
we have a file to monitor!
Error: SQLITE_ERROR: no such column: chat.display_name
--> in Database#all('SELECT DISTINCT message.date, handle.id, chat.chat_identifier, chat.display_name  FROM message LEFT OUTER JOIN chat ON chat.room_name = message.cache_roomnames LEFT OUTER JOIN handle ON handle.ROWID = message.handle_id WHERE message.is_from_me = 0 AND message.service = \'iMessage\' ORDER BY message.date DESC', [Function])
    at Database.<anonymous> (/Applications/iMessageClient/app.js:212:6)
    at getChats (/Applications/iMessageClient/app.js:210:5)
    at Object.<anonymous> (/Applications/iMessageClient/app.js:96:1)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)

Any suggestions as to how this might be resolved?

npm install error

Trying to install, and getting the following issues at the end:

npm ERR! Darwin 14.1.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.0
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! This is most likely a problem with the sqlite3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR!     npm owner ls sqlite3
npm ERR! There is likely additional logging output above.

Crash on message send

Sent a message and got this:

Error: /Users/kevin/Dropbox/fundev/imessageclient/sendmessage_single.AppleScript:130:142: execution error: System Events got an error: Can’t get process "Messages". (-1728)

at ChildProcess.<anonymous> (/Users/kevin/Dropbox/fundev/imessageclient/applescript/lib/applescript.js:54:13)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at Process.ChildProcess._handle.onexit (child_process.js:807:12)

Error on "node app" step

I'm running Ubuntu 18.04.5. I have installed the app, but when I run "node app" I get:
Error: SQLITE_CANTOPEN: unable to open database file

I have sqlite3 installed. I have used "npm install [email protected]" to have the version matching what is in "package.json".

Can you help me with this?

Errors when installing

This does not appear to work on macOS Ventura on an M1:

npm WARN deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: deprecated in favor of builtin child_process.execFile
npm notice 
npm notice New minor version of npm available! 9.2.0 -> 9.3.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.3.0
npm notice Run npm install -g [email protected] to update!
npm notice 
npm ERR! code 1
npm ERR! path /Users/aperson/GitHub/imessageclient/node_modules/sqlite3
npm ERR! command failed
npm ERR! command sh -c node-pre-gyp install --fallback-to-build
npm ERR! ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c
npm ERR! Failed to execute '/opt/homebrew/Cellar/node/19.4.0_1/bin/node /opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/aperson/GitHub/imessageclient/node_modules/sqlite3/lib/binding/node-v111-darwin-arm64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/aperson/GitHub/imessageclient/node_modules/sqlite3/lib/binding/node-v111-darwin-arm64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v111' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using [email protected]
npm ERR! node-pre-gyp info using [email protected] | darwin | arm64
npm ERR! node-pre-gyp WARN Using needle for node-pre-gyp https download 
npm ERR! node-pre-gyp info check checked for "/Users/aperson/GitHub/imessageclient/node_modules/sqlite3/lib/binding/node-v111-darwin-arm64/node_sqlite3.node" (not found)
npm ERR! node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v111-darwin-arm64.tar.gz
npm ERR! node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v111-darwin-arm64.tar.gz
npm ERR! node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v111-darwin-arm64.tar.gz 
npm ERR! node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v111 ABI, unknown) (falling back to source compile with node-gyp) 
npm ERR! node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v111-darwin-arm64.tar.gz 
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | arm64
npm ERR! gyp info ok 
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | arm64
npm ERR! gyp info find Python using Python version 3.10.9 found at "/opt/homebrew/opt/[email protected]/bin/python3.10"
npm ERR! gyp http GET https://nodejs.org/download/release/v19.4.0/node-v19.4.0-headers.tar.gz
npm ERR! gyp http 200 https://nodejs.org/download/release/v19.4.0/node-v19.4.0-headers.tar.gz
npm ERR! gyp http GET https://nodejs.org/download/release/v19.4.0/SHASUMS256.txt
npm ERR! gyp http 200 https://nodejs.org/download/release/v19.4.0/SHASUMS256.txt
npm ERR! gyp info spawn /opt/homebrew/opt/[email protected]/bin/python3.10
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/aperson/GitHub/imessageclient/node_modules/sqlite3/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/aperson/Library/Caches/node-gyp/19.4.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/Users/aperson/Library/Caches/node-gyp/19.4.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/Users/aperson/Library/Caches/node-gyp/19.4.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/Users/aperson/GitHub/imessageclient/node_modules/sqlite3',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
npm ERR! 
npm ERR! No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
npm ERR! 
npm ERR! No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
npm ERR! 
npm ERR! gyp info ok 
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | arm64
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! /bin/sh: python: command not found
npm ERR! make: *** [Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c] Error 127
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Darwin 22.2.0
npm ERR! gyp ERR! command "/opt/homebrew/Cellar/node/19.4.0_1/bin/node" "/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/aperson/GitHub/imessageclient/node_modules/sqlite3/lib/binding/node-v111-darwin-arm64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/Users/aperson/GitHub/imessageclient/node_modules/sqlite3/lib/binding/node-v111-darwin-arm64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v111"
npm ERR! gyp ERR! cwd /Users/aperson/GitHub/imessageclient/node_modules/sqlite3
npm ERR! gyp ERR! node -v v19.4.0
npm ERR! gyp ERR! node-gyp -v v9.3.0
npm ERR! gyp ERR! not ok 
npm ERR! node-pre-gyp ERR! build error 
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/opt/homebrew/Cellar/node/19.4.0_1/bin/node /opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/aperson/GitHub/imessageclient/node_modules/sqlite3/lib/binding/node-v111-darwin-arm64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/aperson/GitHub/imessageclient/node_modules/sqlite3/lib/binding/node-v111-darwin-arm64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v111' (1)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/aperson/GitHub/imessageclient/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1098:16)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:304:5)
npm ERR! node-pre-gyp ERR! System Darwin 22.2.0
npm ERR! node-pre-gyp ERR! command "/opt/homebrew/Cellar/node/19.4.0_1/bin/node" "/Users/aperson/GitHub/imessageclient/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd /Users/aperson/GitHub/imessageclient/node_modules/sqlite3
npm ERR! node-pre-gyp ERR! node -v v19.4.0
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.11.0
npm ERR! node-pre-gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/aperson/.npm/_logs/2023-01-16T19_40_12_081Z-debug-0.log

Gracefully handle lack of assistive access

Error: /Users/zac/imessageclient/sendmessage_single.AppleScript:167:179: execution error: System Events got an error: osascript is not allowed assistive access. (-1719)
at ChildProcess.<anonymous> (/Users/zac/imessageclient/applescript/lib/applescript.js:54:13)
at ChildProcess.emit (events.js:110:17)
at Process.ChildProcess._handle.onexit (child_process.js:1067:12) 

Instead of crashing when assistive access is not allowed, either fix the problem or prompt the user to allow access with instructions.

Crash/error when sending iMessage on OS X 10.10.2

The UI loaded just fine, I tabbed between names and the textbox a few times, then typed a message and hit enter. Immediately after, it crashed.

Using OS X 10.10.2 and iTerm2 Build 2.0.0.20141103.

➜  imessageclient git:(master) node app
we have a file to monitor!
14
Error: /Users/scott/imessageclient/sendmessage_single.AppleScript:147:159: execution error: System Events got an error: Can’t get process "Messages". (-1728)

    at ChildProcess.<anonymous> (/Users/scott/imessageclient/node_modules/applescript/lib/applescript.js:54:13)
    at ChildProcess.emit (events.js:98:17)
    at Process.ChildProcess._handle.onexit (child_process.js:820:12)

anyone using alacritty?

Hi! I am very excited to try this!!

note: to run locally, enable access to Terminal or iTerm2, to run over SSH, enable access to sshd_keygen_wrap

I am using alacritty and I am unsure of how to get started with imessageclient because I don't know how to get around this message. I am not an expert at alacritty so it would be nice to know if anyone else knows how to deal with this.

Thanks,

freeze on send message

Hi,

I am experiencing a freeze on macos mojave 10.15 when sending a message.
I am using node 16.3.0. I am not sure why this is. I'm gonna try to delve into the source
in the coming days to to see if i can get it to work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.