Can't inject F-Script into application

314 views
Skip to first unread message

Sullivan

unread,
Feb 28, 2014, 9:54:33 AM2/28/14
to f-sc...@googlegroups.com
Hello,

I have been trying to inject F-Script into existing applications, but for some reason I haven't been able to do it.

I am under mavericks and have downloaded F-Script for mavericks here https://github.com/Kentzo/F-Script/releases/tag/v2.2

I have also installed the framework as well as the workflow.

However, every time I select the "Inject F-Script into application" service I have a "The action “Run AppleScript” encountered an error." message, whatever application I am trying to inject F-Script into.

Has anyone faced this problem ?

Thanks in advance for your help.

Screen Shot 2014-02-28 at 14.46.31.png

Sullivan

unread,
Feb 28, 2014, 11:57:02 AM2/28/14
to f-sc...@googlegroups.com
Ok actually the problem was because the Workflow used gdb that is not available in mavericks.

However, following what has been done here https://github.com/adamnemecek/FScriptAnywhere , and using lldb leads to a different problem. 
I have this animated cog running endlessly and making the application freeze (and I can't even force quit, I always have to restart the application).

Help is welcome. Thanks in advance.
Screen Shot 2014-02-28 at 16.53.45.png

Jimmy Coyne

unread,
Mar 20, 2014, 3:03:39 AM3/20/14
to f-sc...@googlegroups.com
I'm hitting the same issue.Is this working for anyone on 10.9?

Ilya Kulakov

unread,
Mar 21, 2014, 8:40:27 AM3/21/14
to f-sc...@googlegroups.com

Sullivan

unread,
Mar 24, 2014, 10:08:47 AM3/24/14
to f-sc...@googlegroups.com
thanks for your reply Ilya but this is still not working.

The workflow is still relying on gdb and replacing by lldb still results in the same problem ...

On Friday, 21 March 2014 12:40:27 UTC, Ilya Kulakov wrote:

Kay Lukas

unread,
Mar 26, 2014, 5:15:56 AM3/26/14
to f-sc...@googlegroups.com
You could always use homebrew to install gdb again (Don't forget to sign gdb: http://ntraft.com/installing-gdb-on-os-x-mavericks/)

Op maandag 24 maart 2014 15:08:47 UTC+1 schreef Sullivan:

Sullivan

unread,
Apr 7, 2014, 10:44:29 AM4/7/14
to f-sc...@googlegroups.com
Thanks for your suggestion Lukas, I have tried.

Basically, I have installed and signed gdb.

Then, I have set the final workflow to :

tell application "System Events"

set pid to unix id of the first process whose frontmost is true

end tell


do shell script "sed -e \"s/Safari/" & pid & "/\" /tmp/gdbtemp.txt > /tmp/gdbtemp2.txt"

do shell script "/usr/local/bin/gdb -n -command=/tmp/gdbtemp2.txt" with administrator privileges


But in the end,I still have this animated cog running endlessly.


I have tried on 2 computers, so there is definitely something I am doing wrong here...

Yuxin Kang

unread,
Nov 14, 2014, 6:10:44 PM11/14/14
to f-sc...@googlegroups.com
Same problems, still dont know how to fix

Anthony Shoumikhin

unread,
Mar 21, 2015, 5:33:53 AM3/21/15
to f-sc...@googlegroups.com
There were several issues with the old workflow and here's my fixes one that should work for most of the cases.
Inject F-Script into application.workflow
Reply all
Reply to author
Forward
0 new messages