• Directory
  • FAQ: about JURN
  • Group tests
  • Guide to academic search
  • JURN’s donationware
  • openEco: nature titles indexed

News from JURN

~ search tool for open access content

News from JURN

Monthly Archives: August 2019

Trigger a keyboard shortcut with a mouse-gesture

24 Saturday Aug 2019

Posted by David Haden in JURN tips and tricks

≈ 4 Comments

Here’s a very simple guide for StrokesPlus freeware users. It shows how to make an easy mouse-gesture that runs a complex keyboard-shortcut. Having such a thing relieves a desktop PC user of the need to do contortionist hand-yoga on the keyboard.

Why is this guide needed? Because StrokesPlus documentation is good but very techie, and it seems impossible for search to find a good basic two-minute starter guide with a couple of clear examples. So here it such a guide. Bear in mind it’s for the old StrokesPlus which uses Lua script, not the newer revamped version which uses something else.


1. Open your StrokesPlus menu and go to Actions…


2. In the StrokesPlus Actions | Global Actions section, choose an un-used mouse-gesture and simply modify it. Here I’ve modified the simple “Last Track” gesture that’s meant for media-players, so that it runs ALT + SHIFT + 4.

acSendKeys(“%+4”)

This mouse-gesture is then used in a Web browser, being invoked with a ‘right-click and drag’ with the mouse. The triggered command then sends my selection from the text of a news story or journal article to my ‘Save as eBook’ addon. (Note that the gesture needs to be in StrokesPlus’s ‘Global’ folder, not its ‘Internet Browsers’ folder, to work for me).

Having this mouse-gesture is especially useful with ‘Save as eBook’ (a great Instapaper replacement, able to grab more types of text and more private). Because it’s all too easy to hit the wrong item in the plain menu… and thus accidentally blank your ebook!

One can even add a command to wait three seconds, then have the ‘Save as eBook’s “OK” button automatically pressed to exit it…

acSendKeys(“%+4{DELAY 3000}{ENTER}”)


3. In your selected StrokesPlus gesture, write your own command and change the comment. Press APPLY and then OK in that order. You’re done.

Test your gesture and see that it works.


“Write your own command? How do you do that?”

Here are the basics of how to write your own command. I’ll use the gesture that works with my ‘Save as eBook’ addon as the example…

acSendKeys(“%+4”)

acSendKeys = do specific keyboard key-presses, in a specific order.

(“”) = always present, to neatly wrap up the keystrokes and commands.

% = the ALT key

+ = the SHIFT key

4 = the number 4 on the keyboard. (This could also be an a-z letter)

The other big keyboard strokes you’ll need for encapsulating keyboard shortcuts are:

^ = CTRL

{F_1} = F1. This can run through to F_9 = F9. Note that the { } brackets are required. Here’s an example that uses them…

acSendKeys(“%^{F_1}”)

This will run the keyboard shortcut ALT + CTRL + F1 when you make your chosen mouse-gesture.

acSendKeys(“+{f11}”)

Note the lower-case f and lack of _ once you get beyond F_9.

Similarly, such brackets are also required for…

{DELAY 3000} = wait three seconds

{ENTER} = press the ENTER key


A few more useful working examples:

1.

acSendKeys(“+{f11}”)
acDelay(600)
acSendKeys(“+v”)
acDelay(10000)
acSendKeys(“+{f11}”)

This does: Shift + F11, pause, shift + v, pause, shift + F11. This sends DAZ Studio into fullscreen, invokes a script, pauses while it works, then exits fullscreen.

2.

@c = WINDOWS LEFT KEY + c   (to open a running Copernic Desktop from tasbar, window maximised) (note the lower-case requirement when using the @ shortcut for the WinKey)

3.

acSendKeys(“@c{DELAY 100}@{DOWN}”) = as above, but now we add a slight delay then do Windows LEFT KEY + Down Arrow (this minimizes the newly opened and maximised Copernic Desktop Search window, such that the empty search bar is centred in the user’s desktop view)

The above works on the assumption that after typing and running the search, the Copernic window is always then manually maximised, then after consulting the search results it is sent to the Taskbar in maximised form.

Regrettably I had no success whatsoever in enabling any of the scrolling commands. It’s supposed to be able do gestures that trigger scrolling. But not one of of them work. The best I could get was Page Up and Down…

acSendKeys(“{PGUP}”)
acSendKeys(“{PGDN}”)

While these do work, the problem is that they do not autofocus on whatever window chances to be under the cursor. For that you need to add the following to the Global Lua tab…

function sp_before_action(gnm, gsx, gsy, gex, gey, gwd)
     acActivateWindow(nil, gsx, gsy)
end

4. How to do a double left-click at the point back where the gesture started. A double-left click is useful in that it highlights the word under the cursor, and then you can have StrokesPlus run software on that word. The software in question will only run if the word is already highlighted.


That’s it. Hopefully that’s enough to get you started.

Mind the Gap

09 Friday Aug 2019

Posted by David Haden in Official and think-tank reports, Open Access publishing, Spotted in the news

≈ Leave a comment

MIT’s Mind the Gap is a new comprehensive survey report on open source publishing systems that can be used for scholarly purposes. The only one I can see that’s missing is WordPress. Which is open source, free, easy to use and rent a server for, and can be quickly tooled-up with plugins for such purposes. In fact, it’s not even mentioned once, even to explain why it and its plugins were omitted.

Carrot2 multi-columns Stylus CSS style

09 Friday Aug 2019

Posted by David Haden in JURN tips and tricks

≈ Leave a comment

Update: Carrot2 changed the layout and a new script is now needed. here’s the fix.

I made a Stylus CSS to have the Carrot2 Clustering Search Engine give its results as a five-column layout showing about 32 results. This is suited to a desktop PC with a widescreen 24″ monitor at 1920px.

On each search result block, I’ve increased the title in size a little, the snippet has been shrunk a little, the URL turned from difficult-to-read grey to a more usual dark green, and the results numbering has been effectively removed by turning it white. Numbering runs down each column and then starts again at the top of the next.

In the straight one-column version, all results come in on a single page and there are usually between 32 and 75 of them. There is thus no pagination (“next page”) in my columnar version. In my version if you wish to see the lower hidden results, right-click your Stylus icon, switch off the style and scroll down. No re-load is needed.

However the lack of pagination in my style may actually be found quite useful. Because it pushes the user toward testing the Carrot2 auto-clustering feature, in order to try to surface stuff that may be down in the inaccessible follow-on results.

Here’s the code. I’ve double-checked that WordPress isn’t blanking some bits of it. To install simply go to Carrot2, then left-click on your icon for the Stylus browser addon and click “Write style for…”.



/* ==== CARROT2 - Multi-Columns v.01 ==== */
element.style {
}
div.document div.url {
overflow: hidden;
color: #3a7730;
font-size: 110%;
}
div.snippet, div.document div.url {
font-size: 97%;
}
div.document .rank {
color: #ffffff;
}
a {
font-size: 113%;
}
#documents {
column-count: 5;
}


It will probably work with other CSS style injectors.


Incidentally, DuckDuckGo has a bang! for flicking searches from Duck-to-Carrot: !carrot This can also be embedded in a menu in DuckDuckGo by using the UserScript ‘DuckDuckMenu’ and adding:

http://search.carrot2.org/stable/search?source=web&view=folders&skin=fancy-compact&query={searchTerms}&results=30&algorithm=lingo&EToolsDocumentSource.country=ALL&EToolsDocumentSource.language=ALL&EToolsDocumentSource.customerId=&EToolsDocumentSource.safeSearch=false

How many users are Google’s captcha’s driving away from the service?

08 Thursday Aug 2019

Posted by David Haden in Ooops!

≈ Leave a comment

Google Search’s captcha’s are becoming intensely annoying. You can’t seem to go more than five pages of results deep with the same search before Google throws up a captcha, even with a relatively unsophisticated verbatim search such as “author name” “annotated”. And it’s not happening because I’ve been hammering the service in other ways.

Subscribe: RSS News Feed.
I'm on Patreon!

JURN:

  • JURN : directory of ejournals
  • JURN : main search-engine
  • JURN : openEco directory
  • JURN : repository search

Related sites:

  • 4 Humanities
  • Academic Freedom Alliance
  • Accuracy in Academia
  • Alliance Defending Freedom
  • ALPSP
  • alt.academy
  • AMIR
  • Anterotesis
  • Arcadia project
  • Art Historicum (German)
  • AWOL
  • Beall's List (updated at 2018)
  • Beall’s List (old)
  • Beyond Search
  • Bibliographic wilderness
  • Booktwo
  • Campus Reform
  • Charleston Advisor
  • Coalition for Networked Information
  • Communia (public domain watchdog)
  • Cost of Knowledge
  • Council of Editors of Learned Journals
  • Dan Cohen
  • Digital Koans
  • Digital Shift
  • Dissernet (Russian anti-plagiarism)
  • DOAJ
  • Don't Block TOR
  • eFoundations
  • EIFL
  • Electronic Frontier Foundation
  • ELO
  • Embargo Watch
  • ePublishing Trust for Development
  • Facebook: Arab Open Access
  • Facebook: Italian Open Access
  • Facebook: Open Access India
  • Film Studies for Free
  • FIRE
  • Flaky Academic Conferences
  • Found History
  • Foundation for Individual Rights in Education
  • Free Speech Union (UK)
  • Google Algorithm
  • Heterodox Academy
  • Iconclass
  • IFLA Serials blog
  • ImpactStory
  • infoDocket
  • InTech Blog
  • Jinfo (formerly Free Pint)
  • Kindle blog
  • L'edition Electronique (French)
  • La Criee : periodiques (French)
  • Leader Statement Database on Free Speech
  • National Association of Scholars
  • National Coalition of Independent Scholars
  • Neil Beagrie
  • OA Lookup : Policies
  • OA Working Group
  • OASPA
  • Online Searcher
  • Open Access Bibliography
  • Open Access Week
  • Open and Shut?
  • Open Electronic Publishing
  • Open Folklore
  • Open Knowledge Maps
  • Open Library of Humanities
  • Periodiques en ligne (French)
  • Peter Murray Rust
  • PKP / OJS
  • Project Gutenberg
  • Publishing Archaeology
  • RBA Blog
  • Reclaim the Net
  • Research Information
  • Research Remix
  • Right to Research
  • River Valley TV
  • ROARS (Italian)
  • Scholarly Electronic Publishing
  • Scholarship Matters
  • Searchblox
  • Searcher
  • Serials Cataloger
  • Serials Review
  • Society of Young Publishers
  • Speech First
  • TaxoDiary (taxonomies news)
  • Taxpayer Access
  • Tentaclii
  • The Scholarly Kitchen
  • Thoughts from Carl Grant
  • Web Scale Discovery
  • Zotero blog

Some of the libraries linking to JURN

  • Boston College Libraries
  • Brooklyn Public Library, NY
  • Duke University
  • Kobe University, Japan
  • Rhode Island College
  • San Jose State University
  • UConn Stamford
  • University of California
  • University of Cambridge (Casimir Lewy Library)
  • University of Cambridge (main)
  • University of Canberra
  • University of Toronto
  • Washington University
  • West Virginia University

Spare BitCoins? Please send donations to JURN via: 17e2KGuyzjzEEE7BsoYTwMo3MtUod6DrjP

Archives

  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • August 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • June 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009

Create a free website or blog at WordPress.com.

  • Follow Following
    • News from JURN
    • Join 901 other followers
    • Already have a WordPress.com account? Log in now.
    • News from JURN
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...