f-script-talk Mailing List for F-Script
Brought to you by:
pmougin
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
(4) |
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(3) |
Feb
(1) |
Mar
(2) |
Apr
(8) |
May
(12) |
Jun
(3) |
Jul
(5) |
Aug
(4) |
Sep
(1) |
Oct
(1) |
Nov
(2) |
Dec
(4) |
2003 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
(14) |
Jun
(5) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
(2) |
Nov
(2) |
Dec
|
2004 |
Jan
(3) |
Feb
(9) |
Mar
(1) |
Apr
(6) |
May
|
Jun
|
Jul
(3) |
Aug
(3) |
Sep
(11) |
Oct
(29) |
Nov
|
Dec
(3) |
2005 |
Jan
(8) |
Feb
(12) |
Mar
|
Apr
(1) |
May
(31) |
Jun
|
Jul
(7) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(2) |
2006 |
Jan
(13) |
Feb
(1) |
Mar
(5) |
Apr
(3) |
May
(1) |
Jun
(13) |
Jul
(2) |
Aug
(22) |
Sep
(15) |
Oct
(1) |
Nov
(1) |
Dec
|
2007 |
Jan
(7) |
Feb
(3) |
Mar
(2) |
Apr
(5) |
May
|
Jun
(6) |
Jul
(2) |
Aug
(1) |
Sep
(2) |
Oct
(3) |
Nov
(12) |
Dec
(5) |
2008 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
(2) |
May
(4) |
Jun
(31) |
Jul
(9) |
Aug
(10) |
Sep
(3) |
Oct
(4) |
Nov
|
Dec
|
2009 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Philippe M. <pm...@ac...> - 2009-08-13 08:54:53
|
I'm definitely closing the doors of the F-Script-talk mailing list. No new message will be taken, but archives will still be available. Questions and discussions about F-Script are welcome in the new F- Script group at http://groups.google.com/group/f-script See you there! Philippe Mougin |
From: Philippe M. <pm...@ac...> - 2009-01-30 23:34:20
|
Hi Peter, For it to work you must first have F-Script loaded inside the application you want to explore. The easiest way to do that is to inject F-Script at run-time into your target application using "F- Script Anywhere", which is located in the "Extras" directory in the distribution. Philippe PS: This mailing list is no longer active. Instead, you should use the F-Script group at http://groups.google.com/group/f-script Le 30 janv. 09 à 23:00, Peter Hartmann a écrit : > > Philippe, > > if I got right what you were saying in various interviews and podcasts > you gave, the object browser is supposed to work with any given Cocoa > application. > > In fact, it does not seem so. > Please correct me if I do something wrong: > - I launch the F-Script app. > - in the object browser I click Select View. > - the cursor changes to a little cross. > - when moving the cursor over any interface elements within F-Script > app, they get hilited and the class name and pointer address is > displayed. > - when I move the cursor outside F-Script.app, however, on a window by > Mail.app or iTunes.app for instance, nothing like this happens, no > hiliting etc. and a click is simply a normal click without F-Script > being involved at all - it simply does not work, but from what you > were talking about it is supposed to work, isn't it? > > Was this supposed to work for earlier versions of F-Script, too? > If so, it never worked for me. > I was quite startled to listen to you talking about this feature. > > => Currently F-Script can only inspect itself, but not any other > application. > > I am on OS 10.5.6 on a Dual Processor PPC 867 MHz. > > ___ Peter Hartmann ________ > > mailto:hph...@ju... > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > F-Script-talk mailing list > F-S...@li... > https://lists.sourceforge.net/lists/listinfo/f-script-talk > |
From: Peter H. <pet...@fr...> - 2009-01-30 22:54:04
|
Philippe, if I got right what you were saying in various interviews and podcasts you gave, the object browser is supposed to work with any given Cocoa application. In fact, it does not seem so. Please correct me if I do something wrong: - I launch the F-Script app. - in the object browser I click Select View. - the cursor changes to a little cross. - when moving the cursor over any interface elements within F-Script app, they get hilited and the class name and pointer address is displayed. - when I move the cursor outside F-Script.app, however, on a window by Mail.app or iTunes.app for instance, nothing like this happens, no hiliting etc. and a click is simply a normal click without F-Script being involved at all - it simply does not work, but from what you were talking about it is supposed to work, isn't it? Was this supposed to work for earlier versions of F-Script, too? If so, it never worked for me. I was quite startled to listen to you talking about this feature. => Currently F-Script can only inspect itself, but not any other application. I am on OS 10.5.6 on a Dual Processor PPC 867 MHz. ___ Peter Hartmann ________ mailto:hph...@ju... |
From: trier <tr...@bu...> - 2009-01-21 05:19:26
|
I posted the following build failure as a macports ticket, but I thought I'd follow it up with this F-Script forum, as people here may an idea of why the build is failing: http://trac.macports.org/ticket/18129 I have noticed that previous F-Script build errors have been reported (#17130, #16580), but I seem to be getting a different type of compilation error: In file included from /Volumes/NetworkDrive/opt/local/var/macports/build/_Volumes_NetworkDrive_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_FScript/work/FScriptSources-20070421/FScript/JGAdditions/FSServicesProvider.m:6: /Volumes/NetworkDrive/opt/local/var/macports/build/_Volumes_NetworkDrive_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_FScript/work/FScriptSources-20070421/FScript/F-Script/FScriptAppController.h:4:24: error: Cocoa/cocoa.h: No such file or directory This seems to be a more basic type of error. The compiler cannot even find cocoa.h. I installed XCode3, and I notice that on my machine, I have: /Developer/SDKs/MacOSX10.5.sdk/System/Library/Fameworks/Cocoa.framework in place. I am not familiar enough with Cocoa and Objective-C to figure out which directory and which header file it is looking for, so I am uncertain if that is the correct path for the compiler to be looking. Has anyone else encountered this error, or do I have something missing on my system? Thanks. |
From: Andrew W. <wei...@wi...> - 2008-10-16 04:49:30
|
Hello everyone, I just posted version 2.2 of the fscript Command Line Tool. This version has the following changes: - Incorporates Phillipe Mougin's patch to provide compatibility with F-Script 2.0 alpha 6 - Updates the integrated Perl-Compatible Regular Expressions Library to version 7.8 - (Major change) To reduce namespace pollution, the filehandles "in", "out", and "err", as well as some other global variables, are now methods on the global "sys" object. You can download the tool from: http://pages.cs.wisc.edu/~weinrich/projects/fscript/index.html Please send me any reports of problems or incompatibilities. Thanks, Andrew Weinrich |
From: Philippe M. <pm...@ac...> - 2008-10-13 10:08:43
|
Dear F-Script-talk subscribers, We are having random and seemingly unfixable problems with the current mailing list (unreliability, broken archives...) To fix this, I have created a Google group dedicated to F-Script discussions and technical support. Hopefully, it should be more reliable. It also offers additional functionalities. I invite you to join this group and to use it in place of this mailing list. The group is at http://groups.google.com/group/f-script Best, Philippe Mougin |
From: Philippe M. <pm...@ac...> - 2008-10-07 18:10:04
|
Le 7 oct. 08 à 02:54, Larry Staton Jr. a écrit : > I installed Alpha 6 today and then tried to run fscript from the > command line. I received the following error: > > dyld: Symbol not found: _OBJC_CLASS_$_System > Referenced from: /usr/bin/fscript > Expected in: /Library/Frameworks/FScript.framework/Versions/A/FScript > > zsh: trace trap fscript > > Thoughts? Thanks for the report. I have uploaded a patched version of the fscript command line tool executable at http://www.fscript.org/download/fscriptCommandLineTool/fscript.zip It should work with F-Script 2.0 alpha 6. Hopefully the patch will be integrated in the main distribution soon. Best, Philippe |
From: Larry S. Jr. <la...@sw...> - 2008-10-07 01:04:08
|
I installed Alpha 6 today and then tried to run fscript from the command line. I received the following error: dyld: Symbol not found: _OBJC_CLASS_$_System Referenced from: /usr/bin/fscript Expected in: /Library/Frameworks/FScript.framework/Versions/A/FScript zsh: trace trap fscript Thoughts? |
From: Philippe M. <pm...@ac...> - 2008-09-24 19:38:00
|
Le 23 sept. 08 à 04:37, Larry Staton Jr. a écrit : [...] > This is interesting. I'm using Mac OS X 10.5.5 with F-Script Anywhere > 1.3.1 to inject into Bee Docs' Timeline 3D. Every time that I try to > install FSA into Timeline, the process fails and I receive the > following message in the Console: > > [0x0-0x1e01e].net.sabi.FScriptAnywhereApp[254] libMatch: for > architecture i386 object: > /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder > malformed object (unknown load command 9) > > [0x0-0x1e01e].net.sabi.FScriptAnywhereApp[254] libMatch: for > architecture ppc7400 object: > /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder > malformed object (unknown load command 8) > > I note that F-Script Anywhere works as expected with every other > application. > > Any thoughts? Larry, I got the same problem when trying to inject into TimeLine: it does not work. I tried both with the F-Script 1.3.5 framework and the F- Script 2.0 alpha framework. I believe the messages you got in the console are not related to this problem, but merely comes from the way FSA looks for currently running Cocoa apps to refresh its apps list. I cc Nicholas, who might have some ideas about why we can't inject into Timeline... Best, Philippe |
From: Nicholas R. <nj...@ui...> - 2008-09-24 16:35:54
|
Hi folks, Unfortunately I'm extremely busy until the end of next week, but will look at it thereafter if I have a minute. Please feel free to remind me if I forget. As Philippe said, the errors in the console just have to do with application matching (and in the next version of FSA, whenever I get around to it, this rather complex and fragile matching mechanism will be gone, as pretty much every app can be treated as a Cocoa app these days.) Thanks, On Wed, Sep 24, 2008 at 05:23:44PM +0200, Philippe Mougin wrote: > > Le 23 sept. 08 à 04:37, Larry Staton Jr. a écrit : > > [...] > > >This is interesting. I'm using Mac OS X 10.5.5 with F-Script Anywhere > >1.3.1 to inject into Bee Docs' Timeline 3D. Every time that I try to > >install FSA into Timeline, the process fails and I receive the > >following message in the Console: > > > >[0x0-0x1e01e].net.sabi.FScriptAnywhereApp[254] libMatch: for > >architecture i386 object: > >/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder > >malformed object (unknown load command 9) > > > >[0x0-0x1e01e].net.sabi.FScriptAnywhereApp[254] libMatch: for > >architecture ppc7400 object: > >/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder > >malformed object (unknown load command 8) > > > >I note that F-Script Anywhere works as expected with every other > >application. > > > >Any thoughts? > > Larry, > > I got the same problem when trying to inject into TimeLine: it does > not work. I tried both with the F-Script 1.3.5 framework and the F- > Script 2.0 alpha framework. > > I believe the messages you got in the console are not related to this > problem, but merely comes from the way FSA looks for currently running > Cocoa apps to refresh its apps list. > > I cc Nicholas, who might have some ideas about why we can't inject > into Timeline... > > Best, > > Philippe -- Nicholas Riley <nj...@ui...> | <http://www.uiuc.edu/ph/www/njriley> |
From: Larry S. Jr. <la...@sw...> - 2008-09-23 02:57:32
|
> Le 15 août 08 à 04:07, Wesley Moore a écrit : >> Hi all, >> I'm attempting to learn to use F-Script for use as a development tool and to present my findings at Melbourne CocoaHeads[1]. However I can't seem to get F-Script >> Anywhere to work. I'm having the same trouble that Peter Hartmann posted about. > Hi Wesley, > > Here is a workaround posted by Peter J.Hartmann: > > Launch the app from the terminal using: > sudo /Applications/Programming/FScriptBin/F-Script\ Anywhere.app/Contents/MacOS/F-Script\ Anywhere > > And here is a workaround provided by Nicholas Riley: > > At least for the time being, you can work around any code signing > issues by changing the permissions on the F-Script Anywhere binary > (not the bundle). This process is deprecated but still works in 10.5. > > % cd /path/to/F-Script\ Anywhere.app/Contents/MacOS > % ls -l F-Script\ Anywhere > -rwxr-xr-x 1 nicholas nicholas 579K Oct 12 2007 F-Script Anywhere* > % sudo chmod g+s F-Script\ Anywhere > % sudo chgrp procmod F-Script\ Anywhere > % ls -l F-Script\ Anywhere > -rwxr-sr-x 1 nicholas procmod 579K Oct 12 2007 F-Script Anywhere* > Then quit and restart F-Script Anywhere if it was running. > > In last resort, Nicholas also notes that waving a dead chicken over > the keychain and rebooting repeatedly sometimes help! > > Lets us know if one of these workarounds work for you. This is interesting. I'm using Mac OS X 10.5.5 with F-Script Anywhere 1.3.1 to inject into Bee Docs' Timeline 3D. Every time that I try to install FSA into Timeline, the process fails and I receive the following message in the Console: [0x0-0x1e01e].net.sabi.FScriptAnywhereApp[254] libMatch: for architecture i386 object: /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder malformed object (unknown load command 9) [0x0-0x1e01e].net.sabi.FScriptAnywhereApp[254] libMatch: for architecture ppc7400 object: /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder malformed object (unknown load command 8) I note that F-Script Anywhere works as expected with every other application. Any thoughts? |
From: Doug R. <dou...@al...> - 2008-08-21 13:57:35
|
Thanks. performSelector works well. I have been avoiding learning Objective-C but it kind of looks like you pretty much need to get f-script! On 21-Aug-08, at 6:18 AM, Philippe Mougin wrote: > > Le 21 août 08 à 14:22, Doug Ransom a écrit : > >> Is it possible to send a list of messages to a sender in F-Script? I >> noticed classic smalltalk had a perform: method which looked clumsy! >> >> I would like to do something like >> >> a foo ; bar; ranch; >> >> except to have an array of the results. > > Hi Doug, > > You could do: > > {a foo, a bar, a ranch} > > or, using performSelector: > > a performSelector:@{#foo, #bar, #ranch} > > Does it suits your needs? > > Philippe Doug Ransom dou...@al... http://www.underdoug.ca |
From: Philippe M. <pm...@ac...> - 2008-08-21 13:18:54
|
Le 21 août 08 à 14:22, Doug Ransom a écrit : > Is it possible to send a list of messages to a sender in F-Script? I > noticed classic smalltalk had a perform: method which looked clumsy! > > I would like to do something like > > a foo ; bar; ranch; > > except to have an array of the results. Hi Doug, You could do: {a foo, a bar, a ranch} or, using performSelector: a performSelector:@{#foo, #bar, #ranch} Does it suits your needs? Philippe |
From: Doug R. <dou...@al...> - 2008-08-21 12:22:33
|
Is it possible to send a list of messages to a sender in F-Script? I noticed classic smalltalk had a perform: method which looked clumsy! I would like to do something like a foo ; bar; ranch; except to have an array of the results. Doug Ransom dou...@al... http://www.underdoug.ca |
From: Philippe M. <pm...@ac...> - 2008-08-15 14:11:34
|
Le 15 août 08 à 04:07, Wesley Moore a écrit : > Hi all, > I'm attempting to learn to use F-Script for use as a development tool > and to present my findings at Melbourne CocoaHeads[1]. However I can't > seem to get F-Script Anywhere to work. I'm having the same trouble > that Peter Hartmann posted about. Hi Wesley, Here is a workaround posted by Peter J.Hartmann: Launch the app from the terminal using: sudo /Applications/Programming/FScriptBin/F-Script\ Anywhere.app/ Contents/MacOS/F-Script\ Anywhere And here is a workaround provided by Nicholas Riley: At least for the time being, you can work around any code signing issues by changing the permissions on the F-Script Anywhere binary (not the bundle). This process is deprecated but still works in 10.5. % cd /path/to/F-Script\ Anywhere.app/Contents/MacOS % ls -l F-Script\ Anywhere -rwxr-xr-x 1 nicholas nicholas 579K Oct 12 2007 F-Script Anywhere* % sudo chmod g+s F-Script\ Anywhere % sudo chgrp procmod F-Script\ Anywhere % ls -l F-Script\ Anywhere -rwxr-sr-x 1 nicholas procmod 579K Oct 12 2007 F-Script Anywhere* Then quit and restart F-Script Anywhere if it was running. In last resort, Nicholas also notes that waving a dead chicken over the keychain and rebooting repeatedly sometimes help! Lets us know if one of these workarounds work for you. Philippe |
From: Wesley M. <wj...@gm...> - 2008-08-15 02:07:05
|
Hi all, I'm attempting to learn to use F-Script for use as a development tool and to present my findings at Melbourne CocoaHeads[1]. However I can't seem to get F-Script Anywhere to work. I'm having the same trouble that Peter Hartmann posted about. I'm using the current stable distribution[2] from the F-Script homepage. From what I've read[3] it should just work in Leopard. I'm using a week only Mac Pro with 10.5.4. Running F-Script Anywhere for the first time prompted for my admin password, installed the framework successfully (in ~/Library/Frameworks). When I attempt to inject into a process I get the following message: F-Script Anywhere was unable to install itself in the selected application (process ID 278), because F-Script Anywhere must be installed in a Cocoa application running as the current user. You may be attempting to install in a setuid application, which is not supported. The application may have crashed; restart it if needed. The application in question is just the developer sample Sketch. Any help would be most appreciated. Regards, Wes [1] http://www.melbournecocoaheads.com/ [2] http://www.fscript.org/download/FScriptBin-20080516.tar.gz [3] http://osiris.laya.com/blog/?p=24 |
From: Philippe M. <pm...@ac...> - 2008-08-07 21:42:46
|
It looks like an architecture mismatch. In particular, make sure that you load bundles compiled for a 32 bit architecture in an instance of F-Script running in 32 bit mode (same for 64 bit). Also, if a bundle does not support garbage collection, it will not load into the GC version of F-Script. To make F-Script run in 32 bit mode, you can use the Finder inspector on F-Script.app and check the "open in 32 bits" checkbox. To produce a version of F-Script that runs in non-GC mode, just change the GC flag in the build properties of the F-Script target in Xcode and recompile. Best, Philippe Le 7 août 08 à 23:24, J.C.Burns a écrit : > > On the version 2.0 alphas of F-Script, I've run into problems loading > frameworks. > > (NSBundle bundleWithPath:'~/Documents/cocoa/MCPKit_bin_3.0.1/ > MCPKit_bundled.framework') load > > ...and other frameworks like this return nil, with no explanation in > the system log and > > (NSBundle bundleWithPath:'/Library/Frameworks/GData.framework') load > > returns false, with > > Aug 7 16:46:46 gemela F-Script[55384]: Error loading /Library/ > Frameworks/GData.framework/GData: dlopen(/Library/Frameworks/ > GData.framework/GData, 265): no suitable image found. Did find:\n / > Library/Frameworks/GData.framework/GData: no matching architecture in > universal wrapper\n /Library/Frameworks/GData.framework/GData: no > matching architecture in universal wrapper > > in there. > > (NSBundle bundleWithPath:'/Library/Frameworks/MacFUSE.framework') load > > also returns false. > > > Is this just broken because it's an alpha? > > > > Thanks... > > --jcburns > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > F-Script-talk mailing list > F-S...@li... > https://lists.sourceforge.net/lists/listinfo/f-script-talk > |
From: J.C.Burns <jc...@fa...> - 2008-08-07 21:24:26
|
On the version 2.0 alphas of F-Script, I've run into problems loading frameworks. (NSBundle bundleWithPath:'~/Documents/cocoa/MCPKit_bin_3.0.1/ MCPKit_bundled.framework') load ...and other frameworks like this return nil, with no explanation in the system log and (NSBundle bundleWithPath:'/Library/Frameworks/GData.framework') load returns false, with Aug 7 16:46:46 gemela F-Script[55384]: Error loading /Library/ Frameworks/GData.framework/GData: dlopen(/Library/Frameworks/ GData.framework/GData, 265): no suitable image found. Did find:\n / Library/Frameworks/GData.framework/GData: no matching architecture in universal wrapper\n /Library/Frameworks/GData.framework/GData: no matching architecture in universal wrapper in there. (NSBundle bundleWithPath:'/Library/Frameworks/MacFUSE.framework') load also returns false. Is this just broken because it's an alpha? Thanks... --jcburns |
From: Philippe M. <pm...@ac...> - 2008-08-07 19:59:59
|
Now available: http://www.fscript.org/download/FScript_2_0_alpha.zip Accompanying blog post: http://pmougin.wordpress.com/2008/08/07/defining-methods-with-f-script/ Cheers, Philippe |
From: Philippe M. <pm...@ac...> - 2008-08-01 06:50:01
|
Hello Tommy, F-Script does not support methods with variable argument list. Just use another method. For example: NSDictionary dictionaryWithObjects:{1, 2} forKeys:{'one', 'two'} Best, Philippe Le 1 août 08 à 02:18, Tommy Sundström a écrit : > I need to create a dictionary. I tried to adapt the Objective C- > syntax like this: > > NSDictionary dictionaryWithObjectsAndKeys: 'Value', 'Key', nil > > But dictionaryWithObjectsAndKeys will not accept more than one > argument. I've also tried different versions of arrays and > parenteses, without success. > What is the correct syntax? > > /Tommy Sundström > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ > F-Script-talk mailing list > F-S...@li... > https://lists.sourceforge.net/lists/listinfo/f-script-talk |
From: Tommy S. <TO...@HE...> - 2008-08-01 00:18:45
|
I need to create a dictionary. I tried to adapt the Objective C-syntax like this: NSDictionary dictionaryWithObjectsAndKeys: 'Value', 'Key', nil But dictionaryWithObjectsAndKeys will not accept more than one argument. I've also tried different versions of arrays and parenteses, without success. What is the correct syntax? /Tommy Sundström |
From: Andrew W. <wei...@wi...> - 2008-07-27 16:22:19
|
Mark, First, make sure that you are using compatible versions of the FScript framework and fscript command-line tool. If you are using version 2 of one, you must use version 2 of the other. Also, move the FScript framework out of your home directry and into /Library/Frameworks, as that is where the command-line tool expects it to be found. Andrew On Jul 27, 2008, at 9:00 AM, Mark Carter wrote: > I try to run the fscript command line tool, but I get > > > picasso:~ mcarter$ fscript > dyld: Library not loaded: @executable_path/../Frameworks/ > FScript.framework/Versions/A/FScript > Referenced from: /usr/bin/fscript > Reason: no suitable image found. Did find: > /Users/mcarter/Library/Frameworks/FScript.framework/Versions/A/ > FScript: no matching architecture in universal wrapper > /Library/Frameworks/FScript.framework/Versions/A/FScript: no matching > architecture in universal wrapper > Trace/BPT trap > > > Any ideas what the problem is? > > I have tried to build fscript from source, but I get linking errors. > > The problem is, without support for the command line, I think F-script > has limited appeal. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > F-Script-talk mailing list > F-S...@li... > https://lists.sourceforge.net/lists/listinfo/f-script-talk Andrew Weinrich wei...@wi... http://www.cs.wisc.edu/~weinrich |
From: Mark C. <alt...@go...> - 2008-07-27 14:00:40
|
I try to run the fscript command line tool, but I get picasso:~ mcarter$ fscript dyld: Library not loaded: @executable_path/../Frameworks/ FScript.framework/Versions/A/FScript Referenced from: /usr/bin/fscript Reason: no suitable image found. Did find: /Users/mcarter/Library/Frameworks/FScript.framework/Versions/A/ FScript: no matching architecture in universal wrapper /Library/Frameworks/FScript.framework/Versions/A/FScript: no matching architecture in universal wrapper Trace/BPT trap Any ideas what the problem is? I have tried to build fscript from source, but I get linking errors. The problem is, without support for the command line, I think F-script has limited appeal. |
From: Tommy S. <TO...@HE...> - 2008-07-13 17:30:04
|
On 13 Jul 2008, at 18:33, Philippe Mougin wrote: > Le 13 juil. 08 à 16:55, Tommy Sundström a écrit : > >> I've encountered an problem when using Scripting Bridge to control >> MindManager. (F-script 2.0 alpha 4) First some setup code: >> >> mindManager := SBApplication applicationWithBundleIdentifier: >> 'com.mindjet.mindmanager.7' >> d := mindManager documents objectWithName: 'Applescript, Python och >> andra sätt att styra macen' >> >> Then if I do like this: >> >> > (d topics) task >> >> I get a list of SBObjects, like this one: <SBObject @0xbe16a0: task >> of MindManagerTopic id "3CABF503-13D3-487B-BA14-7E000E6AA2B7" of >> MindManagerDocument "Mindmap" of application "MindManager" (1263)> >> >> But, if I do like this: >> >> > (d topics at:1) task >> >> I get a MindManagerTask object, like this one: <MindManagerTask >> @0xbd2120: task of MindManagerTopic 1 of MindManagerDocument >> "Mindmap" of application "MindManager" (1263)> >> >> I'm a F-script newbee, but am I correct in assuming that these two >> operations are supposed to result in the same type of objects? > > In most situations, this is correct. When using the Scripting > Bridge, however, what these two operations are supposed to result in > are "equivalent objects" (i.e., objects that will exhibit the same > behavior, at the application semantic level, when used further). In this case the objects are not equivalent, since the first version will not accept a percentComplete message, while the second one will. (It's however easy to make an workaround using a loop to extract all objects in the MindManagerTask format.) /Tommy |
From: Philippe M. <pm...@ac...> - 2008-07-13 16:33:32
|
Le 13 juil. 08 à 16:55, Tommy Sundström a écrit : > I've encountered an problem when using Scripting Bridge to control > MindManager. (F-script 2.0 alpha 4) First some setup code: > > mindManager := SBApplication applicationWithBundleIdentifier: > 'com.mindjet.mindmanager.7' > d := mindManager documents objectWithName: 'Applescript, Python och > andra sätt att styra macen' > > Then if I do like this: > > > (d topics) task > > I get a list of SBObjects, like this one: <SBObject @0xbe16a0: task > of MindManagerTopic id "3CABF503-13D3-487B-BA14-7E000E6AA2B7" of > MindManagerDocument "Mindmap" of application "MindManager" (1263)> > > But, if I do like this: > > > (d topics at:1) task > > I get a MindManagerTask object, like this one: <MindManagerTask > @0xbd2120: task of MindManagerTopic 1 of MindManagerDocument > "Mindmap" of application "MindManager" (1263)> > > I'm a F-script newbee, but am I correct in assuming that these two > operations are supposed to result in the same type of objects? In most situations, this is correct. When using the Scripting Bridge, however, what these two operations are supposed to result in are "equivalent objects" (i.e., objects that will exhibit the same behavior, at the application semantic level, when used further). What you see here is probably the result of behind-the-scene optimizations taking place here to lighten the cost of inter application communication (e.g., when possible, loops are offloaded to the remote application, instead of being performed locally by F-Script). If the results are not "equivalent", then this is a bug either in F- Script, Apple's Scripting Bridge or the remote application itself. Note that using the Scripting Bridge (be it from Objective-C, F-Script or other languages) still appears to raise a number of issues and challenges. You can usually work around these issues by trials and errors. Philippe |