Re: Hello, and a question about OS X // IPE and AppleScript
Daniel Kelley <[email protected]>
| Newsgroups | gmane.comp.graphics.ipe.general |
|---|---|
| Message-ID | <CABq7Z0wZN+EpnRGAHE2Hr6gAoaD3+TL+=zz6gPxB0=P-c7GpRA@mail.gmail.com> |
Ok, interesting. Is it possible to have Ipe report info about currently running documents? I wrote an AppleScript which I then made as a service in Automator. This script/service reveals the document I'm working on in the Finder when I hit a pre-defined keystroke. This requires the applications to report the active document to AppleScript. I noticed that the path of the document is in the window name on Ipe. Is there a terminal command to get that variable for the active document? Thanks! On Sun, Jan 13, 2013 at 12:20 PM, M <Elwood151-S0/[email protected]> wrote: > > Hi Daniel, > > very interesting question! > I don't have an answer to your question but maybe a first hint which way to > go > for a workaround: > > >From within an AppleScript you can also run shell commands. Maybe you know > that, if not, it is described here: > http://hintsforums.macworld.com/showpost.php?p=415326&postcount=5 > > So you just need to find out how to achieve what you want with a terminal > command, and then you can launch that command with an AppleScript. > > I'm also using MacOS X, so if you find out how to automate IPE in OS X, I'd > be > happy if you share your knowledge with me and others in the IPE Wiki. > > Martin > > > > Von: Daniel Kelley <[email protected]> > Datum: Sun, 13 Jan 2013 10:34:48 -0800 > An: <ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]> > Betreff: [Ipe-discuss] Hello, and a question about OS X > > This is my first time posting to the list. I am a new high school science > teacher, and LaTeX combined with Ipe has proven to be extremely powerful in > creating awesome handouts and worksheets. I work on OS X and do a lot with > AppleScript. Any chance of making Ipe scriptable, at least in the most > basic ways of reporting windows, names, documents, etc? > > I don't know what is involved with making an AppleScript Library, hopefully > it's a simple matter. Has anyone ever requested this? > > Daniel > _______________________________________________ > Ipe-discuss mailing list > Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected] > http://lists.science.uu.nl/mailman/listinfo/ipe-discuss > > ------ Ende der weitergeleiteten Nachricht > > > _______________________________________________ > Ipe-discuss mailing list > Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected] > http://lists.science.uu.nl/mailman/listinfo/ipe-discuss > _______________________________________________ Ipe-discuss mailing list Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected] http://lists.science.uu.nl/mailman/listinfo/ipe-discuss