DonationCoder.com Software > Ecaradec's Software
Qatapult
pigeonlips:
so would that be
Website (Cat) > Add Bookmark > Name , URL ?
i like it although it assumes the user knows what values need to be in each side of the comma. All the same i like it!
pigeonlips:
The following screenshot is from one of the launcher's pages
--- End quote ---
thanks was just about to upload an example screen shot!
ewemoa:
so would that be
Website (Cat) > Add Bookmark > Name , URL ?
i like it although it assumes the user knows what values need to be in each side of the comma. All the same i like it!
-pigeonlips (February 23, 2012, 05:08 PM)
--- End quote ---
It's a bit of a hack for the current situation for sure.
To clarify, after pressing the comma key, a little icon is added below the now-shrunken pane.
FWIW, here are some images from some folks around the net:
first pane with comma trick
Qatapult
third pane with comma trick
Qatapult
pigeonlips:
nice - thanks - looks good. Them quicksliver folks know good ui :)
heres an example of (doesnt work) on how to add and delete from the website db.
you need sqlite3.exe in the plugin folder. http://www.sqlite.org/sqlite.html
<settings>
<rules>
<rule>
<arg>WEBSITE</arg>
<arg>
<item>
<lbl>Add Bookmark</lbl>
<ico>plugins\.png</ico>
</item>
</arg>
<cmd>plugins\Bookmarks\sqlite3.exe</cmd>
<args>"..\..\databases\websites.db" "insert into websites values ('new','new','','','website','0');"</args>
</rule>
<rule>
<arg>WEBSITE</arg>
<arg>
<item>
<lbl>Delete Bookmark</lbl>
<ico>plugins\.png</ico>
</item>
</arg>
<cmd>plugins\Bookmarks\sqlite3.exe </cmd>
<args>"..\..\databases\websites.db" "delete from websites where display = 'new';"</args>
</rule>
</rules>
</settings>
It doesnt work, and i think this is because of the "'s. @ewemoa you posted that you had this problem too - did you ever get around it. I think its the dbling up on the "". Tried all sorts.
If i can get this to work then i can replace the 'new' with $1.name and deleting at least will work.
pigeonlips:
forget that last post - I'm winning:
<settings>
<rules>
<rule>
<arg>WEBSITE</arg>
<arg>
<item>
<lbl>Add Bookmark</lbl>
<ico>plugins\.png</ico>
</item>
</arg>
<cmd>cmd.exe</cmd>
<workdir>plugins\Bookmarks\</workdir>
<args>/c sqlite3.exe "..\..\databases\websites.db" "insert into websites values ('new','new','','','website','0');"</args>
</rule>
<rule>
<arg>WEBSITE</arg>
<arg>
<item>
<lbl>Delete Bookmark</lbl>
<ico>plugins\.png</ico>
</item>
</arg>
<cmd>cmd.exe</cmd>
<workdir>plugins\Bookmarks\</workdir>
<args>/c sqlite3.exe "..\..\databases\websites.db" "delete from websites where display = 'new';"</args>
</rule>
</rules>
</settings>
I win - hooray for me!
create your plugin folder ( i called it 'bookmark')
add an icon in there called bookadd.png, bookrem.png, bookname.png and book.png
download and extract sqlite3.exe (http://www.sqlite.org/sqlite.html) to that folder.
add the plugin xml
--- ---<settings>
<rules>
<rule>
<arg>TEXT</arg>
<arg>
<item>
<lbl>Add Bookmark As</lbl>
<ico>plugins\bookmark\bookadd.png</ico>
</item>
</arg>
<arg>TEXT</arg>
<arg>
<item>
<lbl>Bookmark Name?</lbl>
<ico>plugins\bookmark\bookadd.png</ico>
</item>
</arg>
<cmd>cmd.exe</cmd>
<workdir>plugins\bookmark\</workdir>
<args>/c sqlite3.exe "..\..\databases\websites.db" "insert into websites values ('$2.text','$2.text','$0.text','','website','0');"</args>
</rule>
<rule>
<arg>WEBSITE</arg>
<arg>
<item>
<lbl>Open Bookmark</lbl>
<ico>plugins\bookmark\book.png</ico>
</item>
</arg>
<cmd>$0.href</cmd>
</rule>
<rule>
<arg>WEBSITE</arg>
<arg>
<item>
<lbl>Delete Bookmark</lbl>
<ico>plugins\bookmark\bookrem.png</ico>
</item>
</arg>
<cmd>cmd.exe</cmd>
<workdir>plugins\bookmark\</workdir>
<args>/c sqlite3.exe "..\..\databases\websites.db" "delete from websites where display = '$0.display';"</args>
</rule>
<rule>
<arg>WEBSITE</arg>
<arg>
<item>
<lbl>Rename Bookmark</lbl>
<ico>plugins\bookmark\bookname.png</ico>
</item>
</arg>
<arg>TEXT</arg>
<arg>
<item>
<lbl>Bookmark Name?</lbl>
<ico>plugins\bookmark\bookname.png</ico>
</item>
</arg>
<cmd>cmd.exe</cmd>
<workdir>plugins\bookmark\</workdir>
<args>/c sqlite3.exe "..\..\databases\websites.db" "update websites set display ='$2.text' where display = '$0.display';"</args>
</rule>
</rules>
</settings>
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version