topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday March 29, 2024, 9:32 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - pulphero [ switch to compact view ]

Pages: [1]
1
Announce Your Software/Service/Product / Re: Polywick Story Server
« on: August 24, 2018, 11:51 AM »
I'd love to get a version of InfoQube - maybe a "beginner's version - stripped of all the layers of complexity, all the features that appeal to subsets of the main market, and then start with that. Maybe the time is past for a desktop outliner, what with Workflowy and Dynalist so robust, but something that takes the roots of TkOutline, NoteMap, and one or two other well-done (for their day) single-pane outliners, adds a modern policy, and puts it on the market would get an order from me ASAP.

2
Announce Your Software/Service/Product / Re: Polywick Story Server
« on: August 23, 2018, 07:44 PM »
But the InfoQube learning curve is still as daunting as ever.

3
Finished Programs / Re: HTML Garbage Tag Removal
« on: June 03, 2017, 10:58 AM »
Well,

I tried (with) a trial version of Sublime Text (v3 build 3126 x64), and I cooked this regex to remove the extra span tags:
Find What: (?m)<span\sclass="no-break">(.*?)<\/span>(.*?)
Replace With: \1\2
Be sure to enable the Regular expression option (Alt-R from the Replace screen). Switching on Wrap is required too.

Wow! It works perfectly. Thanks so much for doing this.

4
General Software Discussion / Royalty Software
« on: June 03, 2017, 10:16 AM »
Does anyone know of software that would enable a publisher to print royalty checks for a few hundred authors? Ideally, the software would take a spreadsheet and use the information on it to print a slew of checks, ready to sign, on a laser printer. Or maybe there's a more robust software solution that's already been developed *just* for publishers and which would handle royalties and other tasks?


5
Finished Programs / Re: HTML Garbage Tag Removal
« on: June 03, 2017, 10:11 AM »
StripHTML is a great app, but I believe it takes out ALL the HTML tags. I need only a specific opening/closing tag removed.

The files aren't that big. Most are a few hundred lines of code. For each book, there's usually two or three dozen files.

I'm really just looking for a dirt-simple AHK script or regex code. Doubt I'm savvy enough to handle something like SED.



6
Finished Programs / DONE: HTML Garbage Tag Removal
« on: June 03, 2017, 09:22 AM »
In constructing ebooks, I often run into these unnecessary HTML tag pairs in files exported from InDesign:

<span class="no-break">I don</span>’t

or:

<span class="no-break">my decision.</span>

It always follow the pattern of <span class="no-break"> followed by some random amount of text and then a closing </span>. Deleting these tags (and there are lots of them!) manually in SublimeText is a huge time sink.

I'd like to have an AHK script or Regex code that will delete these specific tags but not the text between them, leaving, for example:

I don't
my decision.

Although it seems a simple problem, I've not been able to come up with anything that works. Thanks!

7
Finished Programs / Re: DONE: One Click File Extension Changer
« on: September 14, 2016, 07:02 AM »
Sorry for not seeing that myself. It works like a charm. Much appreciated!

8
Finished Programs / Re: DONE: One Click File Extension Changer
« on: September 13, 2016, 07:05 PM »
Thanks, but no joy. I saved the code as "ExtSwitch.ahk", double-clicked that file, selected an .epub file, and pressed Ctrl + ` (the hotkey). Nothing happened; no error message, either.

9
Finished Programs / DONE: One Click File Extension Changer
« on: September 12, 2016, 06:23 PM »
In my work, I often change file extensions from one to the other, and then back again, and then back again, and so on.

I'd love to have a little AHK script that would do this:

If I select a file with an .epub extension in Explorer and press Ctrl+`, the file extension will change to .zip.

If I select a file with a .zip extension in Explorer and press Ctrl+`, the file extension will change to .epub.

I put in epub/zip and the hotkey Ctrl+` as examples. I figure a user would be able to adjust those things as needed.

Thanks!

10
Wow, I AM rusty. That was the problem. Now that I've run it correctly, the results are just what I want. And I really like the ability to specify a text file as the content block for each generated file. This will save me a lot of time. Thanks so much for a valuable addition to my workflow! -- Bob

11
Chris - it seems likes a simple, elegant solution, except that I can't get it to work. I entered my file names in in.txt, per instructions, and then from a command prompt did ... mfm.exe in.txt license.txt xhtml c:\staging ... and got back "mfm is not recognized as an internal or external command, operable program or batch file." Probably my error, as my cmd skills are a bit rusty! -- Bob

12
Yep, that's what I'm looking for. I have some - but not much - familiarity with AHK. An executable would be ideal, but I'd be happy with just the script.

PS. The purpose of this script is to quickly generate the multiple HTML files that comprise an EPUB.

13
@skwire: Not large. About 50 words. Possibly a bit more, but not much. Thanks! -- Bob

14
I'd like to create a few dozen HTM files from a list that I would type in a text file.

Each item in the list would be the name of a separate HTM file.

Also, I'd like to specify a block of content (the same content) that would be added to each file upon creation.

Can't find anything like it, anywhere. Hope it's do-able.

-- Bob

15
Finished Programs / Re: DONE: Skinny Paste
« on: September 20, 2010, 06:35 AM »
>When I run the executable I don't see that option, either.


pulphero, when you run the executable, either the old one or the brand new one, does the app actually work?


Like a charm.

16
Finished Programs / Re: DONE: Skinny Paste
« on: September 19, 2010, 05:13 PM »
It sounds like you're running the executable. If you run the script itself and then right-click its icon in the task bar, you'll see the Reload option.

When I run the executable I don't see that option, either.



17
Finished Programs / Re: DONE: Skinny Paste
« on: September 17, 2010, 10:50 AM »
You might try Notetab - a free/light text editor, which includes a clipboard.

I've used (and still use, every day) NoteTab Pro for years - but it doesn't do what I asked for and which skwire helpfully created for me.

18
Finished Programs / Re: Skinny Paste
« on: August 15, 2010, 09:20 PM »
The script does exactly what I want. It works perfectly, and it's going to save me a lot of time.

Thanks again for giving me in a day what I've spent weeks searching for.

-- Bob

19
Finished Programs / Re: Skinny Paste
« on: August 15, 2010, 01:41 PM »
How cool - thanks very much! I'll try it out tonight.

20
Finished Programs / Re: Skinny Paste
« on: August 15, 2010, 01:04 PM »
@pulphero: Any particular hotkey you would like to use?

Yes - the one I have mapped to my middle mouse button: CONTROL SHIFT Q

21
Finished Programs / Re: Skinny Paste
« on: August 15, 2010, 11:50 AM »
Maybe Solway's CLIPTEXT ?  It's lightweight all right; only 140K download.  You'd need to check it works on late-model Windows, though.

Thanks! I downloaded the software and gave it a spin.

It works as advertised but it's not right for me because clicking a clip only loads it into the clipboard. I need the clip pasted in the active app. I wasn't able to set a hotkey, either.

Also - and maybe this is an example of ClipText not working well with later versions of Windows - clicking a clip shuts down the program.

22
Finished Programs / Re: Skinny Paste
« on: August 15, 2010, 11:29 AM »
Can each of your ten entries be contained on one line or do you envision multiline entries i.e. an entry with a carriage return?

One line - though multi-line entries would be nice in case a need for them arises down the road.

23
Finished Programs / DONE: Skinny Paste
« on: August 14, 2010, 10:14 AM »
I've tried many of the clip 'n paste apps but find they either do too much or don't easily do what I want done.

Here's what I'm looking for:

A hotkey-enabled pop-up with a plain text list of 10 short phrases (could be URLs, could be single words, could be sentences). Click the phrase and it pastes as plain text into the active application. That's it! Nothing fancy. As lightweight as possible, too.

I realize that lots of software, e.g., AceText, can do this for me. But I don't need additional functionality and would like to keep it clean and simple.

Thanks!

-- Bob

24
Would it be hard to modify this script so the user can specify the 'split target'?

For example, rather than split at blank lines, have it split at every instance of '=========='. I could then insert that string into the main text file wherever I want it to split, such as at the beginning of a section, a chapter, etc. Thanks!

Pages: [1]