You aren't missing anything, that's just the way tagging currently
works.
I'll forward this email to support@... (which goes to my
bug / feature request database). Even though these requests are
probably duplicates, each request for them pushes it up a bit more in
my "features to add in a future release" queue.
thanks,
-gus
On Oct 24, 2009, at 1:49 PM, gardenstate3369 wrote:
> First off, let me say that I absolutely love voodoopad just the way
> it is. But recently, I decided to try tagging. which I never thought
> I needed or had even messed around with before. My thought was that
> instead of having a voodoopad page devoted to recipes, I could
> simply tag each recipe with 'recipe'. But so far it hasn't worked
> out well.
>
> 1. The only way to tag something is to open up the tagging palette.
> Not bad, but not exactly quick either.
>
> 2. The only way to find the pages tagged with 'recipe' is to open up
> the palatte. Search doesn't appear to work at all with tags. In
> yojimbo you can pick tags to search by. In evernote you can search
> like this 'tag:recipe' and find everything tagged with 'recipe'. But
> voodoopad does't seem to be able to do this. This is a bigger hurdle
> for me than #1.
>
> It almost seems that tagging has been implemented as an
> afterthought. In other words, if you insist on tagging, here ya go.
> But it seems to me it could be so much better.
>
> So I guess I have 2 questions:
>
> 1. Am I missing something? Is tagging in voodoopad actually
> fantastic and I'm simply doing it wrong?
>
> 2. If the answer to my first question is no, are there plans to
> improve / enhance tagging in future releases? Or is this pretty much
> it; take it or leave it.
>
> Thanks for listening.
>
--
August 'Gus' Mueller
Flying Meat Inc.
http://flyingmeat.com/
On Oct 26, 2009, at 8:40 AM, j_t_waddilove wrote:
> Hi, we're keen VooDooPad users and my wife has started to use both
> desktop and notebook systems. What she would really like to do is
> use AFP from the notebook to access the desktop voodoopad documents.
>
> We're using VDP 4.2.3 under 10.6.1. Out of the box VDP refuses to
> open any AFP based document. I've tried the old magic spell of
> "defaults write com.flyingmeat.VoodooPad allowRemoteFileSystems 1",
> all this did was to suppress the error message.
So the document didn't open up at all when you tried that default? It
should have opened up at least..
The reason why that restriction is there is because the database
VoodooPad uses (SQLite) is a single user database, and the locking it
uses to keep multiple writes from happening at the same time doesn't
work very well on smb, afp, nfs, etc.
However, the latest versions of SQLite have additions to them so that
it works better on those file systems (patches made by Apple), and a
future version of VP will use the new additions, so I'm likely to take
away the restrictions for that.
The only problem that remains after that fix is a syncing issue.
VoodooPad's file format is meant for a single user to have a document
open at a time. If two folks open up a VP document, and edit it at
the same time, the document is going to lose edits or pages or just
become corrupt. So make sure that more than one person isn't editing
the file at a time when you share it out over AFP.
-gus
--
August 'Gus' Mueller
Flying Meat Inc.
http://flyingmeat.com/
Thanks Gus. Just wanted to make sure I wasn't misusing tags.
I'll write a feature request soon.
--- In voodoopad@yahoogroups.com, Gus Mueller <gus@...> wrote:
>
> You aren't missing anything, that's just the way tagging currently
> works.
>
> I'll forward this email to support@... (which goes to my
> bug / feature request database). Even though these requests are
> probably duplicates, each request for them pushes it up a bit more in
> my "features to add in a future release" queue.
>
> thanks,
>
> -gus
>
> On Oct 24, 2009, at 1:49 PM, gardenstate3369 wrote:
>
> > First off, let me say that I absolutely love voodoopad just the way
> > it is. But recently, I decided to try tagging. which I never thought
> > I needed or had even messed around with before. My thought was that
> > instead of having a voodoopad page devoted to recipes, I could
> > simply tag each recipe with 'recipe'. But so far it hasn't worked
> > out well.
> >
> > 1. The only way to tag something is to open up the tagging palette.
> > Not bad, but not exactly quick either.
> >
> > 2. The only way to find the pages tagged with 'recipe' is to open up
> > the palatte. Search doesn't appear to work at all with tags. In
> > yojimbo you can pick tags to search by. In evernote you can search
> > like this 'tag:recipe' and find everything tagged with 'recipe'. But
> > voodoopad does't seem to be able to do this. This is a bigger hurdle
> > for me than #1.
> >
> > It almost seems that tagging has been implemented as an
> > afterthought. In other words, if you insist on tagging, here ya go.
> > But it seems to me it could be so much better.
> >
> > So I guess I have 2 questions:
> >
> > 1. Am I missing something? Is tagging in voodoopad actually
> > fantastic and I'm simply doing it wrong?
> >
> > 2. If the answer to my first question is no, are there plans to
> > improve / enhance tagging in future releases? Or is this pretty much
> > it; take it or leave it.
> >
> > Thanks for listening.
> >
>
>
> --
>
> August 'Gus' Mueller
> Flying Meat Inc.
> http://flyingmeat.com/
>
--- In voodoopad@yahoogroups.com, Gus Mueller <gus@...> wrote:
>
> On Oct 26, 2009, at 8:40 AM, j_t_waddilove wrote:
>
> > Hi, we're keen VooDooPad users and my wife has started to use both
> > desktop and notebook systems. What she would really like to do is
> > use AFP from the notebook to access the desktop voodoopad documents.
> >
> > We're using VDP 4.2.3 under 10.6.1. Out of the box VDP refuses to
> > open any AFP based document. I've tried the old magic spell of
> > "defaults write com.flyingmeat.VoodooPad allowRemoteFileSystems 1",
> > all this did was to suppress the error message.
>
> So the document didn't open up at all when you tried that default? It
> should have opened up at least..
>
Correct... The document didn't open. I did the default commanf to
VooDooPad_pro.plist (which is the most recently used)
> The reason why that restriction is there is because the database
> VoodooPad uses (SQLite) is a single user database, and the locking it
> uses to keep multiple writes from happening at the same time doesn't
> work very well on smb, afp, nfs, etc.
>
> However, the latest versions of SQLite have additions to them so that
> it works better on those file systems (patches made by Apple), and a
> future version of VP will use the new additions, so I'm likely to take
> away the restrictions for that.
That will be great! We're 10.6.1 and I do use the betas that you make available.
>
> The only problem that remains after that fix is a syncing issue.
> VoodooPad's file format is meant for a single user to have a document
> open at a time. If two folks open up a VP document, and edit it at
> the same time, the document is going to lose edits or pages or just
> become corrupt. So make sure that more than one person isn't editing
> the file at a time when you share it out over AFP.
In our environment this will not be a problem. Documents will only be open from
one system at a time (either local access or AFP://) and they are not part of a
voodoopad sync'ed environment (but they might be on a Mobile User Networked Home
:-(
Many thanks for the help. J.
>
> -gus
>
> --
>
> August 'Gus' Mueller
> Flying Meat Inc.
> http://flyingmeat.com/
>
I just had the chance to check again, and I experience something different using
VoodooPad 4.2.2 than the sequence you detailed.
1) When I create a new page in a document with a NewPageTemplate, that new page
takes the rich-text formatting of the NewPageTemplate (based on Lucida Grande).
2) If I then select Format->Make Plain Text, the page takes on the font defined
by the first character in the VoodooPad Preferences->General->New page text
field (which is Menlo). It still contains the text from the NewPageTemplate,
rather than the text in the preferences.
I think the difference is that I have the Create plain text pages option turned
off in my Document Info window, so creating a plain text page is actually a
two-step process as I detailed above. If I check that box and create a new page,
the font is big, bold Lucida Grande (the first character of my NewPageTemplate).
I was happy to stumble upon the preference-panel plain text behavior because I
did not want my plain text pages to take on the font of the first character that
my rich-text pages would use.
Adam
P.S. Sorry for the lapse in time, I've been without my primary computer for a
while.
--- In voodoopad@yahoogroups.com, Gus Mueller <gus@...> wrote:
>
> I just checked the source code to see what it does, just to make
> sure :) Here's what happens for plain text pages:
>
> 1) first VP checks for a NewPageTemplate, and grabs the font of the
> first character, and uses that.
> 2) if it's not there, then it'll check for a hidden pref:
> defaults write com.flyingmeat.VoodooPad_Pro plainTextFontFace Monaco
> defaults write com.flyingmeat.VoodooPad_Pro plainTextFontSize 10
> 3) And finally, if that's not there, then it'll use the first font of
> the new page text in the prefs.
>
> I just tested out first char of the NewPageTemplate, and it worked as
> expected there. Is your NewPageTemplate set to be rich text?
>
> -gus
>
> On Oct 8, 2009, at 2:10 AM, Adam Faeth wrote:
>
> > Plain text pages use the font and style of the first character in the
> > preference that includes default content. So what I do is set up the
> > preference default for plain text and use NewPageTemplate to override
> > this for rich text documents. This is a subtle behavior, and I think
> > the preference default does apply to all documents.
> >
> > I'm not sure what happens to the contents in the preference default.
> > My mac is out for repairs and I did not use too many plain text pages,
> > but I found the ability to set different styles for plain and rich
> > text pages useful.
> >
> > I hope that helps you find where to experiment.
> >
> > Adam
> >
> > On Oct 8, 2009, at 2:08 AM, Jan Erik Moström <lists@...>
> > wrote:
> >
> >> On 09-10-08 at 08.47, Hayssam Zakaria <zakaria@...> wrote:
> >>
> >>> Maybe I misunderstand but isn't plain text free of font, size
> >>> etc information !? So I guess I would expect a plain text page
> >>> to use whatever font standard I used in the preferences. It's
> >>> just like using text in the terminal. So I again guess you
> >>> just have to make the NewPageTemplate a rich text page for any
> >>> font-information to stick.
> >>> Or did I misunderstand the problem ?
> >>
> >> Well, yes and no. Plain text would be without any style info but
> >> I expected that I would be able to define the font/size for the
> >> whole document in some way without needing to have that
> >> font/size as the default for all documents.
> >>
> >> Have I misunderstood something? Is there a place where this can
> >> be set?
> >>
> >> jem
> >> --
> >> Jan Erik Moström, http://mostrom.eu
> >>
> >>
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
> --
>
> August 'Gus' Mueller
> Flying Meat Inc.
> http://flyingmeat.com/
>
I would like to have a couple of page templates in one document,
what is the easiest way simulating this?
I would like to have a second command that used the other page
template (including styled text etc).
--
Jan Erik Moström
http://mostrom.eu
On Oct 28, 2009, at 1:38 AM, Jan Erik Moström wrote:
> I would like to have a couple of page templates in one document,
> what is the easiest way simulating this?
You could probably do it via a script plugin. The end goal of this to
make a new page out of it?
I would write a script that would first take the selected text (for
your new page name), look up your page template in the document, do
your substitutions, and then make a new page based on the selected name.
Here's a quick example, which doesn't do any error checking. I wrote
this in JSTalk, but the syntax is so similar to Python, it'll probably
work there as well:
// get the selected text.
doc = windowController.document();
textView = windowController.textView();
selectedRange = textView.selectedRange();
pageName = textView.string().substringWithRange(selectedRange);
templatePage = doc.pageForKey("NewPageTemplateTwo");
pageAttString = templatePage.dataAsAttributedString();
range = NSMakeRange(0, pageAttString.length());
// add your own substitutions here.
pageAttString.mutableString
().replaceOccurrencesOfString_withString_options_range_("$title$",
pageName, 0, range);
newPage = doc.createNewPageWithName(pageName);
newPage.setDataAsAttributedString(pageAttString);
doc.openPageWithTitle(pageName);
-gus
--
August 'Gus' Mueller
Flying Meat Inc.
http://flyingmeat.com/
Hi all!
I was going to ask how to change the URL that a hyperlink target points to, but
I found it and figured I'd share (it was a little convoluted). In the document
info palette, there's a control called files and urls - you can change it there.
Cheers!
Sean
On 09-10-28 at 18:32, gus@... (Gus Mueller) wrote:
>Here's a quick example, which doesn't do any error checking.
Thanks
jem
--
Jan Erik Moström
http://mostrom.eu
I've searched and can't find the answer to this:
Is there a way to create a FInder alias that points to a specific page in a
voodoopad document?
Thanks.
I don't know an easy way to do it, but here's a complicated way to create a
Finder item that links to a specific page:
1. Figure out the URL to your VP page. I use the following Python plugin to
copy a link of my current VP page to the clipboard, which lives at
~/Library/Application Support/VoodooPad/Script PlugIns/VoodooPadLink.py:
----
VPScriptMenuTitle = "Copy VoodooPad Link to clipboard"
from AppKit import *
from Foundation import *
def main(windowController, *args, **kwargs):
page = windowController.currentPage()
link = "x-voodoopad-item://" + page.uuid()
newStr = NSString.stringWithString_(link)
pb = NSPasteboard.generalPasteboard()
pb.declareTypes_owner_([NSStringPboardType], None)
pb.setString_forType_(unicode(link), NSStringPboardType)
---
You can then call the script from the VP "Plugin" menu, which will copy the link
to the clipboard. The link will look like:
x-voodoopad-item://920388ed-1ac3-4243-bce7-94a6b9ac503c
2. Create a text file with a .webloc extension (e.g., vppage.webloc) that looks
like this (with your VP link in it).
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>URL</key>
<string>x-voodoopad-item://920388ed-1ac3-4243-bce7-94a6b9ac503c</string>
</dict>
</plist>
You can now double-click on the webloc file in Finder and it will open up the VP
page.
--- In voodoopad@yahoogroups.com, "denseitz57" <denseitz@...> wrote:
>
> I've searched and can't find the answer to this:
>
> Is there a way to create a FInder alias that points to a specific page in a
voodoopad document?
>
> Thanks.
>
Thanks for the reply. I found the Edit:Copy Link to [page name] menu item, which
does, I think, the same thing as the Python plugin, but is built into VDP now.
My still slightly convoluted workaround is to then paste the link into Safari,
then drag the Safari URL to the Finder, which creates a .inetloc file. Double
clicking on that takes me to the VDP page.
I'm looking for a simpler thing but maybe it belongs in the feature request
category.
--- In voodoopad@yahoogroups.com, "lorinhochstein" <lorinh@...> wrote:
>
>
>
>
>
>
>
>
>
> I don't know an easy way to do it, but here's a complicated way to create a
Finder item that links to a specific page:
>
> 1. Figure out the URL to your VP page. I use the following Python plugin to
copy a link of my current VP page to the clipboard, which lives at
~/Library/Application Support/VoodooPad/Script PlugIns/VoodooPadLink.py:
>
> ----
>
> VPScriptMenuTitle = "Copy VoodooPad Link to clipboard"
>
> from AppKit import *
> from Foundation import *
>
> def main(windowController, *args, **kwargs):
> page = windowController.currentPage()
> link = "x-voodoopad-item://" + page.uuid()
> newStr = NSString.stringWithString_(link)
> pb = NSPasteboard.generalPasteboard()
> pb.declareTypes_owner_([NSStringPboardType], None)
> pb.setString_forType_(unicode(link), NSStringPboardType)
>
> ---
>
> You can then call the script from the VP "Plugin" menu, which will copy the
link to the clipboard. The link will look like:
> x-voodoopad-item://920388ed-1ac3-4243-bce7-94a6b9ac503c
>
> 2. Create a text file with a .webloc extension (e.g., vppage.webloc) that
looks like this (with your VP link in it).
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> <key>URL</key>
> <string>x-voodoopad-item://920388ed-1ac3-4243-bce7-94a6b9ac503c</string>
> </dict>
> </plist>
>
>
> You can now double-click on the webloc file in Finder and it will open up the
VP page.
>
>
> --- In voodoopad@yahoogroups.com, "denseitz57" <denseitz@> wrote:
> >
> > I've searched and can't find the answer to this:
> >
> > Is there a way to create a FInder alias that points to a specific page in a
voodoopad document?
> >
> > Thanks.
> >
>
On Nov 2, 2009, at 7:33 PM, denseitz57 wrote:
> Thanks for the reply. I found the Edit:Copy Link to [page name] menu
> item, which does, I think, the same thing as the Python plugin, but
> is built into VDP now. My still slightly convoluted workaround is to
> then paste the link into Safari, then drag the Safari URL to the
> Finder, which creates a .inetloc file. Double clicking on that takes
> me to the VDP page.
> I'm looking for a simpler thing but maybe it belongs in the feature
> request category.
This is probably the best way to do it. There's also a "spotlight
representation" of the page buried in your ~/Library/Caches/Metadata/
VoodooPad/ folder, but that's not really a permanent thing.
thanks,
-gus
--
August 'Gus' Mueller
Flying Meat Inc.
http://flyingmeat.com/
I'm reorganizing my VDP life a little so you might be getting a few more
questions like this from me...
I've tried to move a page from one document to another using Split Document and
then Import, but I find that links to folders are lost in translation. The
document created with Split has the links intact fine if I open it, but when I
import it into another document the folder links are gone. Is there something
I'm missing?
I also noticed that links to pages in the original source document are gone or
broken in the output document when I use Split. It sure would be nifty if the
Split document function identified when a link within the output document is to
the original document, and revised it to point to the original document. Sort of
an absolute versus relative reference thing.
Gus, any possibility you could wave a wand and make that happen? :)
On Nov 3, 2009, at 9:43 PM, denseitz57 wrote:
> I've tried to move a page from one document to another using Split
> Document and then Import, but I find that links to folders are lost
> in translation. The document created with Split has the links intact
> fine if I open it, but when I import it into another document the
> folder links are gone. Is there something I'm missing?
The folder links are special pages in the document, you just can't
view them in VP. However, they do show up when you split a document,
and they should import as well. Did you select the folder links in
the split sheet?
> I also noticed that links to pages in the original source document
> are gone or broken in the output document when I use Split. It sure
> would be nifty if the Split document function identified when a link
> within the output document is to the original document, and revised
> it to point to the original document. Sort of an absolute versus
> relative reference thing.
Yea, this is on the todo list. Hopefully it'll happen some day.
-gus
--
August 'Gus' Mueller
Flying Meat Inc.
http://flyingmeat.com/
On Nov 5, 2009, at 10:36 AM, Gus Mueller wrote:
> On Nov 3, 2009, at 9:43 PM, denseitz57 wrote:
>
> > I've tried to move a page from one document to another using Split
> > Document and then Import, but I find that links to folders are lost
> > in translation. The document created with Split has the links intact
> > fine if I open it, but when I import it into another document the
> > folder links are gone. Is there something I'm missing?
>
> The folder links are special pages in the document, you just can't
> view them in VP. However, they do show up when you split a document,
> and they should import as well. Did you select the folder links in
> the split sheet?
>
OK, now I understand better. I didn't realize the folder links were
treated like pages, and I assumed things I shouldn't have. I can
export a page the way I want to by making sure I also manually select
all the link destinations. For the wish-list, it would be great if
this could be done automatically, and also if optionally the original
document could be referenced instead of copying pages. But this is a
pretty big task for an infrequently used function so I understand if
it's not at the top of the priorities.
One minor thing: When I open an exported page that has links in it
that weren't included in the export, they look like active links. When
I click on them, though, I get an error dialog saying the page can't
be found, and then the link formatting (eg underlining) goes away.
That's why I thought the exported file had all the links intact, I
just hadn't clicked on them yet. For now, maybe you want to remove the
link formatting when exporting a page if the link destination isn't
included in the export.
>
> > I also noticed that links to pages in the original source document
> > are gone or broken in the output document when I use Split. It sure
> > would be nifty if the Split document function identified when a link
> > within the output document is to the original document, and revised
> > it to point to the original document. Sort of an absolute versus
> > relative reference thing.
>
> Yea, this is on the todo list. Hopefully it'll happen some day.
>
> -gus
>
> --
>
> August 'Gus' Mueller
> Flying Meat Inc.
> http://flyingmeat.com/
>
>
>
[Non-text portions of this message have been removed]
Hi,
I'm a recent convert to Voodoopad and enjoying it hugely.
Looking for a bit of guidance on how best to proceed with an idea which could
end up as a plugin or just the hacky applescript solution I'm trying/failing to
do now.
I spend a lot of time lately doing research that involves taking notes while
reviewing long-form audio and video material, and have been looking for a way to
quickly create clickable links in Voodoopad that point back to the media files
about which I'm writing: click the link, fire up QuickTime Player or iTunes and
start playing the file at the precise point recorded in the "bookmark".
My old-skool Applescript skills are enough to gather the info about the media
file (location on disk, playhead position), but I can't figure out the best way
to make the link work from within VP.
All I've come up with so far is calling a standalone Applescript with the
file:// protocol, but can't figure out how to pass the parameters for file
location and playhead position via that sort of url. I suspect there's a pure
AS/JS way of doing it, but would be grateful to hear if anything springs to mind
for anyone here.
Thanks,
- dca
You may want to take a look at Pearnote: http://www.usefulfruit.com/pearnote/ (I
am in no way related to them)
It is not perfect, and I still prefer VoodooPad's text editing, but it may solve
your problem.
Me, I would love to have a "play me what was recorded when I was drawing/typing
this" in VoodooPad.
On Nov 10, 2009, at 8:38 AM, flummox1 wrote:
> I spend a lot of time lately doing research that involves taking notes while
reviewing long-form audio and video material, and have been looking for a way to
quickly create clickable links in Voodoopad that point back to the media files
about which I'm writing: click the link, fire up QuickTime Player or iTunes and
start playing the file at the precise point recorded in the "bookmark".
>
> My old-skool Applescript skills are enough to gather the info about the media
file (location on disk, playhead position), but I can't figure out the best way
to make the link work from within VP.
>
> All I've come up with so far is calling a standalone Applescript with the
file:// protocol, but can't figure out how to pass the parameters for file
location and playhead position via that sort of url. I suspect there's a pure
AS/JS way of doing it, but would be grateful to hear if anything springs to mind
for anyone here.
I thought about this, and came up with something that might be a solution for
you. You could use a JSTalk (aka, JavaScript) URL (aka bookmarklet) to execute
some code when you click on a link. Here's a little movie showing an example:
http://gusmueller.com/stuff/vpjstalkurl.mov
For the folks wondering when this ability was added- the answer is about 10
minutes ago. You'll need the latest JSTalk VP plugin, which comes with JSTalk:
http://jstalk.org/
The ability to handle URLs has been available to plugin authors since VP 2.x
(it's how the addressbook links work), but I've never really had a good idea on
how to use it till now :)
Dean- if you want to share an example applescript that you're using to adjust
the play position, I can probably offer some advice on how to stuff that in a
JSTalk script.
-gus
--
August 'Gus' Mueller
Flying Meat Inc.
http://flyingmeat.com/
Gus Mueller wrote:
> For the folks wondering when this ability was added- the answer is about 10
minutes ago. You'll need the latest JSTalk VP plugin, which comes with JSTalk:
http://jstalk.org/
>
> The ability to handle URLs has been available to plugin authors since VP 2.x
(it's how the addressbook links work), but I've never really had a good idea on
how to use it till now :)
>
Wonderful, this is what I was hoping to hear.
> Dean- if you want to share an example applescript that you're using to adjust
the play position, I can probably offer some advice on how to stuff that in a
JSTalk script.
>
Of course this presumes you've already got something running in
QuickTime Player:
---
tell application "QuickTime Player"
set moviePath to path of front document
set movieTime to current time of front document
close front document
open moviePath
set the current time of front document to movieTime
end tell
---
- dca
--- In voodoopad@yahoogroups.com, Gus Mueller <gus@...> wrote:
>
> For the folks wondering when this ability was added- the answer is about 10
minutes ago.
>
And this is why we love Gus, and hate Adobe : )
Go, Gus, go! :D
On Nov 10, 2009, at 11:36 PM, Dean Allen wrote:
>> Dean- if you want to share an example applescript that you're using to adjust
the play position, I can probably offer some advice on how to stuff that in a
JSTalk script.
>>
>
> Of course this presumes you've already got something running in
> QuickTime Player:
Here's how you would open a movie, and then move it to a play position. This is
on 10.6, so you might need to touch it up a bit for 10.5 if that's what you're
on.
var qt = SBApplication.application_("QuickTime Player 7");
qt.open_(NSURL.fileURLWithPath_("/path/to/some/movie.m4v"));
qt.documents()[0].currentTime = 888325; // some time value.
Seems to work ok, but it also assumes the first document is the one we just
opened- which may or may not always be the case I suppose.
-gus
--
August 'Gus' Mueller
Flying Meat Inc.
http://flyingmeat.com/
Gus Mueller wrote:
> Here's how you would open a movie, and then move it to a play position. This
is on 10.6, so you might need to touch it up a bit for 10.5 if that's what
you're on.
>
> var qt = SBApplication.application_("QuickTime Player 7");
> qt.open_(NSURL.fileURLWithPath_("/path/to/some/movie.m4v"));
> qt.documents()[0].currentTime = 888325; // some time value
Thanks, that does work great if I 'run page as JSTalk', but if I paste
code into the Format->Rich Link dialog it forces urlencoding on
everything and chokes like:
Sorry, but I could not open
jstalk:var%20qt%20=%20SBApplication.application_(%22QuickTime%20Player%22);
I did grab the Sept 12 JSTalk vpplugin and put it right into the plugins
folder inside the main app package.
I am still on Leopard, but am unsure that would affect this particular
issue.
Thanks again, getting close!
- dca
On Nov 11, 2009, at 11:57 PM, Dean Allen wrote:
> Thanks, that does work great if I 'run page as JSTalk', but if I paste
> code into the Format->Rich Link dialog it forces urlencoding on
> everything and chokes like:
>
> Sorry, but I could not open
> jstalk:var%20qt%20=%20SBApplication.application_(%22QuickTime%20Player%22);
This is right- the jstalk plugin will decode it on it's end.
> I did grab the Sept 12 JSTalk vpplugin and put it right into the plugins
> folder inside the main app package.
Try putting it in your:
~/Library/Application Support/VoodooPad/PlugIns
Folder, or make one there if it isn't already.
> I am still on Leopard, but am unsure that would affect this particular
> issue.
Here's a thought- the plugin is intel only- are you running on a ppc machine?
-gus
--
August 'Gus' Mueller
Flying Meat Inc.
http://flyingmeat.com/
Gus Mueller wrote:
> On Nov 11, 2009, at 11:57 PM, Dean Allen wrote:
>
>
>> Thanks, that does work great if I 'run page as JSTalk', but if I paste
>> code into the Format->Rich Link dialog it forces urlencoding on
>> everything and chokes like:
>>
>> Sorry, but I could not open
>> jstalk:var%20qt%20=%20SBApplication.application_(%22QuickTime%20Player%22);
>>
>
> This is right- the jstalk plugin will decode it on it's end.
>
Sorry, how is that right? I'm not clear on what isn't being correctly
fed to the 'Rich Link' dialog. Nothing is being processed because the
whole string is being urlencoded.
>> I did grab the Sept 12 JSTalk vpplugin and put it right into the plugins
>> folder inside the main app package.
>>
>
> Try putting it in your:
> ~/Library/Application Support/VoodooPad/PlugIns Folder, or make one there if
it isn't already.
>
I tried this first, and it made no difference.
>
>> I am still on Leopard, but am unsure that would affect this particular
>> issue.
>>
>
> Here's a thought- the plugin is intel only- are you running on a ppc machine?
>
No. Intel all the way.
- dca
On Nov 12, 2009, at 12:00 PM, Dean Allen wrote:
> Gus Mueller wrote:
>> On Nov 11, 2009, at 11:57 PM, Dean Allen wrote:
>>> Thanks, that does work great if I 'run page as JSTalk', but if I paste
>>> code into the Format->Rich Link dialog it forces urlencoding on
>>> everything and chokes like:
>>>
>>> Sorry, but I could not open
>>> jstalk:var%20qt%20=%20SBApplication.application_(%22QuickTime%20Player%22);
>>>
>>
>> This is right- the jstalk plugin will decode it on it's end.
>>
>
> Sorry, how is that right? I'm not clear on what isn't being correctly
> fed to the 'Rich Link' dialog. Nothing is being processed because the
> whole string is being urlencoded.
Well, I think you're seeing the error (and string) because JSTalk doesn't seem
to be picking up on it for some reason. The fact that's urlencoded is ok, that's
just what happens in the background when the URL is applied to the rich text,
and unfortunately the error is showing it to you encoded. JSTalk will decode it
when it is handed the URL.
I wonder if maybe VP isn't loading the plugin for some reason. Do you have a
Plugin â–¸ JSTalk menu item? That'll indicate wether or not it's loading.
-gus
--
August 'Gus' Mueller
Flying Meat Inc.
http://flyingmeat.com/
> I wonder if maybe VP isn't loading the plugin for some reason. Do you have a
Plugin â–¸ JSTalk menu item? That'll indicate wether or not it's loading.
>
Yes, it's there. As I said, I can run the snippet as 'Run page as
JSTalk' without any problem.
- dca
I searched and couldn't find this described exactly elsewhere so here it is:
If I make a link manually with Format>Rich Link using the text "I hate taking a
test", then make a new VDP page called "test", my rich link is broken. Only the
word "test" is linked, and it links to my new page. Deleting the page "test"
makes the rich link work again.
I see from another post that "test" is a temporary link that VDP makes on the
fly when it recognizes that "test" is the name of a page. Can you tell VDP to
ignore rich links when it looks for words to make these temporary links?
Thanks...
I have something similar happen to me when I drag a message from Mail
into VP: if the subject of the message has a word that is currently a
page, only that word is linked.
gl.
On November 21, 2009, at 4:53 PM, denseitz57 wrote:
> I searched and couldn't find this described exactly elsewhere so
> here it is:
>
> If I make a link manually with Format>Rich Link using the text "I
> hate taking a test", then make a new VDP page called "test", my rich
> link is broken. Only the word "test" is linked, and it links to my
> new page. Deleting the page "test" makes the rich link work again.
>
> I see from another post that "test" is a temporary link that VDP
> makes on the fly when it recognizes that "test" is the name of a
> page. Can you tell VDP to ignore rich links when it looks for words
> to make these temporary links?
>
> Thanks...
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
It's a known issue, and one I hope to have a solution for in a future release.
Right now internal (to the document) links take precedence over everything else.
The solution I've been thinking of is just to make sure there isn't already a
non-vp link there before removing it.
-gus
On Nov 21, 2009, at 4:53 PM, denseitz57 wrote:
> I searched and couldn't find this described exactly elsewhere so here it is:
>
> If I make a link manually with Format>Rich Link using the text "I hate taking
a test", then make a new VDP page called "test", my rich link is broken. Only
the word "test" is linked, and it links to my new page. Deleting the page "test"
makes the rich link work again.
>
> I see from another post that "test" is a temporary link that VDP makes on the
fly when it recognizes that "test" is the name of a page. Can you tell VDP to
ignore rich links when it looks for words to make these temporary links?
>
> Thanks...
>
--
August 'Gus' Mueller
Flying Meat Inc.
http://flyingmeat.com/