Dear Christiaan,

I believe I considered these things already, but to cut a long story even shorter ( ;-) ), can you write an AppleScript statement with BibDesk's command 'export' that works? I know of none, regardlesss of file specifications and came to the conclusion the command is defunct (BibDesk bug?).

Thanks, should you know of one and send me one. One example would already make me quite happy. ;-)

Andreas


Christiaan Hofman wrote:


On Tue, Jul 28, 2009 at 2:19 AM, Christiaan Hofman <cmhof...@gmail.com <mailto:cmhof...@gmail.com>> wrote:


    On Jul 28, 2009, at 1:54 AM, Andreas Fischlin wrote:

    Dear Christiaan,

    as POSIX file,

    ... a POSIX file needs a POSIX style path, not a Mac style path.
    And it works.


In addition you should not send the 'POSIX file' to an app, so you can't directly use it inside a tell block. Either use it outside the tell bock, or prepend it by the keyword "my" (so the 'POSIX file' is send to the script rather than the app).

So either say:

set aFile to POSIX file "/path/to/a/file"
tell application "BibDesk"
   do some command with aFile
end tell

or:

tell application "BibDesk"
   do some command with (my POSIX file "/path/to/a/file")
end tell


Christiaan

------------------------------------------------------------------------

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
------------------------------------------------------------------------

_______________________________________________
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

--
________________________________________________________________________
ETH Zurich
Prof. Dr. Andreas Fischlin
Systems Ecology - Institute of Integrative Biology
CHN E 21.1
Universitaetstrasse 16
8092 Zurich
SWITZERLAND

andreas.fisch...@env.ethz.ch
www.sysecol.ethz.ch/staff/af

+41 44 633-6090 phone
+41 44 633-1136 fax

Make it as simple as possible, but distrust it!
________________________________________________________________________
* *

begin:vcard
fn:Andreas Fischlin
n:Fischlin;Andreas
org:ETH Zurich;Systems Ecology - Institute of Integrative Biology
adr:Universitaetstrasse 16;;CHN E 21.1;Zurich;;8092;SWITZERLAND
email;internet:andreas.fisch...@env.ethz.ch
title:Prof. Dr.
tel;work:+41 44 633-6090
tel;fax:+41 44 633-1136
tel;home:+41 44 492-4636
tel;cell:+41 79 221-4657
url:www.sysecol.ethz.ch/staff/af
version:2.1
end:vcard

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to