alfred-terminalfinder
alfred-terminalfinder copied to clipboard
Both tf and ft does not work fine
when I type tf [2018-06-29 16:53:34][ERROR: action.applescript] { NSAppleScriptErrorBriefMessage = "The result of a numeric operation was too large."; NSAppleScriptErrorMessage = "The result of a numeric operation was too large."; NSAppleScriptErrorNumber = "-2702"; NSAppleScriptErrorRange = "NSRange: {87, 12}"; }
when I type ft [2018-06-29 16:54:06][ERROR: action.applescript] { NSAppleScriptErrorBriefMessage = "The result of a numeric operation was too large."; NSAppleScriptErrorMessage = "The result of a numeric operation was too large."; NSAppleScriptErrorNumber = "-2702"; NSAppleScriptErrorRange = "NSRange: {623, 12}"; }
macos 10.13.5 (17F77) alfred v3.4 iterm2 Build 3.2.0beta5
- Have you tried updating Alfred to v3.6.1?
- Have you completed the workflow reinstall and Alfred restart dance, that sometimes somehow magically solves stuff?
- Do the scripts (check the
src
folder) work outside of Alfred?
- not tried
- yes
- have not tried
background: I set alfred in features-> Terminal/Shell ->Application -> Custom->
-- This is v0.7 of the custom script for AlfredApp for iTerm 3.1.1+
-- created by Sinan Eldem www.sinaneldem.com.tr
on alfred_script(q)
if application "iTerm2" is running or application "iTerm" is running then
run script "
on run {q}
tell application \"iTerm\"
activate
try
select first window
set onlywindow to true
on error
create window with default profile
select first window
set onlywindow to true
end try
tell the first window
if onlywindow is false then
create tab with default profile
end if
tell current session to write text q
end tell
end tell
end run
" with parameters {q}
else
run script "
on run {q}
tell application \"iTerm\"
activate
try
select first window
on error
create window with default profile
select first window
end try
tell the first window
tell current session to write text q
end tell
end tell
end run
" with parameters {q}
end if
end alfred_script
I paste the script, So I don't know if it does not work because of this?
I have no idea. Give it a try.
sorry, maybe I didn't say exactly. I mean, if alfred-terminalfinder does not work because of this script, I set this script first, and then alfred-terminalfinder does not work correctly.
I think I understood you there, but I'm afraid I can't make those scripts compatible myself. You may debug that yourself and pull request the fix.
I will close this since it's probably out of date. If there are still issues lemme know.