topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Saturday September 19, 2026, 5:22 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

Recent Posts

Pages: prev1 ... 48 49 50 51 52 [53] 54 55 56 57 58 ... 73next
1301
Living Room / Re: All Wordy and Junk: A brand new multi-author blog
« Last post by Target on November 25, 2009, 08:15 PM »
so what happened? (anyone know?)

I was following this and then...nothing

no updates since mid September (perhaps they're all off hunting ninja's/pirates??)

1302
Post New Requests Here / Re: IDEA: Standardize File Name With AHK Dialog Boxes
« Last post by Target on November 25, 2009, 05:20 PM »
as requested, attached is the complete script I was playing with.

As you can see I've just added a loop to the top of Skwires script to check for the existence of file save dialogs...

you should be able to use save in lieue of save as, though I haven't played with this

it also occurs to me that there is no need to destroy the gui each time as hide/show has the same effect.  The bonus with this is that the last use is persistent, ie you can see the last entry (note that this could be coded in anyway)

#singleinstance

Loop
{
    ifwinactive, Save As ;should work with just save, but i haven't tried it - note that you would need to change the other instances as well
    {
        gosub filename
        winwaitclose, Save As
    }
    ifwinnotexist, Save As
        gui, destroy
    Sleep, 1500

}

FileName:
^t::
{
    Gui, Margin, 0, 0
    
    Gui, Add, MonthCal    , xm+0   ym+0   w185 h160 Border             vMyCalendar   gOnClick  ,
    Gui, Add, Text        , xm+185 ym+5   w70  h20  Right 0x200                                , Reference #:
    Gui, Add, Edit        , xm+260 ym+5   w50  h20                     vRefNo        gOnClick  ,
    Gui, Add, Text        , xm+315 ym+5   w65  h20  Right 0x200 Number                         , Sequence #:
    Gui, Add, Edit        , xm+385 ym+5   w20  h20                     vSeq          gOnClick  ,
    Gui, Add, Text        , xm+190 ym+30  w200 h20  0x200                                      , Document Orgination And Ownership:
    Gui, Add, DropDownList, xm+190 ym+50  w250 h150                    vOwnership    gOnClick  , Vendor||Company|Client|Other
    Gui, Add, Text        , xm+190 ym+75  w200 h20  0x200                                      , Document Type:
    Gui, Add, DropDownList, xm+190 ym+95  w250 h150                    vDocumentType gOnClick  , Invoice||Packing Slip|Purchase Order|Work Order|Check|Proofing Document|Film|Drop Ship Document
    Gui, Add, Text        , xm+190 ym+120 w200 h20  0x200                                      , Initial Routing Direction:
    Gui, Add, DropDownList, xm+190 ym+140 w250 h150                    vDirection    gOnClick  , Sent Out||Returned To Company|File Only
    Gui, Add, Button      , xm+370 ym+165 w70  h20                                   gClipboard, Clipboard
    Gui, Add, StatusBar
    SB_SetText( "Ready.", 1 )
    Gui, Show, AutoSize, Filename Standardiser
}
Return


OnClick:
{
    Gui, Submit, NoHide ; Get current variable values.
    
    ; Handle "Document Orgination And Ownership" DDL.
    If ( Ownership = "Vendor" )
    {
        myAbbr1 := "V"
    }
    Else If ( Ownership = "Company" )
    {
        myAbbr1 := "P"
    }
    Else If ( Ownership = "Client" )
    {
        myAbbr1 := "C"
    }
    Else If ( Ownership = "Other" )
    {
        myAbbr1 := "O"
    }
    
    ; Handle "Document Type" DDL.
    If ( DocumentType = "Invoice" )
    {
        myAbbr2 := "IN"
    }
    Else If ( DocumentType = "Packing Slip" )
    {
        myAbbr2 := "PS"
    }
    Else If ( DocumentType = "Purchase Order" )
    {
        myAbbr2 := "PO"
    }
    Else If ( DocumentType = "Work Order" )
    {
        myAbbr2 := "WO"
    }
    Else If ( DocumentType = "Check" )
    {
        myAbbr2 := "CK"
    }
    Else If ( DocumentType = "Proofing Document" )
    {
        myAbbr2 := "PD"
    }
    Else If ( DocumentType = "Film" )
    {
        myAbbr2 := "FF"
    }
    Else If ( DocumentType = "Drop Ship Document" )
    {
        myAbbr2 := "DS"
    }
    
    ; Handle "Initial Routing Direction" DDL.
    If ( Direction = "Sent Out" )
    {
        myAbbr3 := "S"
    }
    Else If ( Direction = "Returned To Company" )
    {
        myAbbr3 := "R"
    }
    Else If ( Direction = "File Only" )
    {
        myAbbr3 := "F"
    }
    
    ; Format calendar to chosen datestamp.
    FormatTime, myDate, % MyCalendar, yyyy-MM-dd
    
    ; Replace spaces with underscores if necessary.
    StringReplace, Ownership   , Ownership   , %A_Space%, _, All
    StringReplace, DocumentType, DocumentType, %A_Space%, _, All
    StringReplace, Direction   , Direction   , %A_Space%, _, All
    
    ; Build filename from user input.
    myFilename := RefNo . "_" . Seq . "_-_(" . myAbbr1 . myAbbr2 . myAbbr3 . ")_" . Ownership . "_" . DocumentType . "_" . Direction . "_" . myDate
    
    ; Populate filename field.
    SB_SetText( myFilename, 1 )
}
Return


Clipboard:
{
    Clipboard := myFilename
    SB_SetText( "Filename copied to clipboard.", 1 )
    Sleep, 1500
    SB_SetText( myFilename, 1 )
}
Return


GuiClose:
GuiEscape:
{
    Gui, Destroy
}
Return

1303
Post New Requests Here / Re: IDEA: Standardize File Name With AHK Dialog Boxes
« Last post by Target on November 24, 2009, 11:46 PM »
a small 'enhancement' (if i may...)

adding this code

Loop
{
    ifwinactive, Save As
    {
        gosub filename
        winwaitclose, Save As
    }
    ifwinnotexist, Save As
        gui, destroy
    Sleep, 1500

}

FileName:

to the top of the above script means that the gui will popup automagically whenever a 'save as' dialog is open (it will also destroy the gui when the dialog has been closed if the user hasn't already closed it)

should work with any dialog with 'Save As' in the title - tested fine with both Word and Excel
1304
Post New Requests Here / Re: IDEA : sleep on click, wakeup with Esc
« Last post by Target on November 18, 2009, 05:31 PM »
have you looked at 'BlockInput'?
1305
Living Room / Re: Auto close tags
« Last post by Target on November 17, 2009, 05:31 PM »
as does notepad++ (under TextFX -> TextFX Settings -> Autoclose XHTML/XML tags)
1306
Living Room / Re: Auto close tags
« Last post by Target on November 17, 2009, 05:05 PM »
what i'd probably suggest (if you can't find an editor with this functionality built in) is an autotext type utility that will replace one typed string with another, eg typing <table> would trigger the script to replace that entry with <table></table>

There are any number of these available, or you could use an AHK script (you would need to provide a list of the common tags) 
1307
Living Room / Re: Auto close tags
« Last post by Target on November 17, 2009, 04:15 PM »
can't comment on the editor side of things (HTML Kit may be worth a look) but you could certainly do this with a 'hotstrings' tool that replaces typed occurrences with the full string (ie opening and closing tags)
1308
Post New Requests Here / Re: IDEA: Move Start button and Systray
« Last post by Target on November 16, 2009, 10:30 PM »
or, depending on your OS, you could try looking at an alternative shell (eg litestep.  A bit of research should turn up several choices)

they usually have a few more options than the standard windows one...
1309
General Software Discussion / Re: PDF's
« Last post by Target on November 11, 2009, 06:34 PM »
I'm not being deliberately stupid here, honestly  ;)   But again, so what is the problem exactly? Is it that you have to spend x minutes longer than necessary sending the mail in several parts, is it that the emails take y minutes longer to reach their destinations waiting for the security team to release the oversized attachment, is it that you have to pay $/£/€/ z more in internet bandwidth? You say that these are causing you PITA - just how does that P manifest itself?

The reason for asking is that it seems clear that you need other people in your company to take action. And to get those people on board you're going to have to justify what real benefit the company will get by solving the problem.

These bloated pdfs are costing us £ a year! People listen.
These bloated pdfs are stopping me from working on the Widget project! People listen.
These bloated pdfs are bigger than they could otherwise be! No one cares.

I'd say there are two solutions to your problem. Technological and psychological.

The technological solution means persuading the person who can make the decision that rolling out the necessary changes to the mfp settings.

The psychological solution is to make it in people's interests to send you efficiently sized pdfs. How much control do you have over what you do? Can you politely reject any pdf that comes in above a certain size - with a link to a quick guide on how to scan pdfs efficiently? Can you bump anything less than 2Mb to the top of the queue?

the problem here is that I have a tolerate/hate relationship with PDF's.

I understand what it's for and why it can be 'a good thing'

What I don't like is that there are a lot of people that don't understand or don't consider their end users when producing the damn things which results in wildly bloated documents that are a pain to deal with if you are in a situation where you then have to redistribute said documents (there are limits to what we can send through our internal email system).

I've stated elsewhere that I am operating inside a corporate environment, and that the sources for these documents are manifold. 

It is inconcievalbe that the company would spring for anything like the requisite Acrobat licenses, things like this aren't even a blip on their radar and the lieklyhood of them making even small changes like this are remote (I am a very very small cog here so my level of influence is pretty close to zero... hell, this is a corporate environment, so even the people that should be, aren't...)

having said all that I'm a little concerned that this thread might be veering a little off topic - my original request was a request for some means of dealing with oversized documents (eg a 40 page file containing text only that was over 10M).  I have experimented with various tools over the years but with little success, however per my above post I've just discovered a PDF printer setting which appears to have given me the result I was looking for (hopefully this will be of benefit to others) 
1310
General Software Discussion / Re: PDF's
« Last post by Target on November 10, 2009, 05:43 PM »
I realize the thread is not about what desktop application one can use, but more about what application one can talk the company into purchasing a license for? In such case the target should more likely be a PROfessional bulk program like PdfCompressor, or such. But then he prices #begins# at $500 (for no more than a 1.000 files per month)! Additional PRO features include "creating a watched folder that PdfCompressor Professional (OCR) can monitor for new files to compress and OCR automatically." They have desktop versions for individual file handling, one at a time, without OCR for merely $200, and with OCR for $300, but they will not handle files over a 100 pages.

the problem here is that the files aren't produced by a desktop app at all, they are generated by our multifunction devices (ie scanned to PDF and sent via email).  If they were I'm sure we could probably do something about it...

Given that this is a corporate environment (and that they can't afford to have users fiddling with stuff  :eusa_naughty:) the settings are preconfigured and locked down so even if the users were interested AND knew what they needed to do, they can't, which means we end users get stuck with something that is badly bloated and unwieldy...
1311
General Software Discussion / Re: PDF's
« Last post by Target on November 10, 2009, 04:52 PM »
What problems do these bloated pdfs cause you?
If you work with 1000's of them, they hog disc space. More frustratingly, though, if you need to e-mail them to others, you can quickly run into attachment size limits  >:(

hit the nail on the head there, we have to distribute them to several different places via email, so size is an issue...

quite apart from that the bloat just is ridiculous - why should anyone have to work with a 10M version of a 2M word document
1312
Living Room / Re: I'm Going to HELL! Please feel sorry for me... :(
« Last post by Target on November 09, 2009, 11:27 PM »
I heard that the entire Australian Internet infrastructure is up for a rehaul though. I'm sure that will be very welcome.

yeah, but it's a government 'initiative' so there's no guarantee things are going to get better...
1313
General Software Discussion / Re: PDF's
« Last post by Target on November 09, 2009, 07:48 PM »
cool
You may want to consider another option if you are working with huge MS Office documents such as Word or Powerpoint.

I use a program called NXPowerlite  :Thmbsup: which will compress Word documents with pictures and tables to a small fraction of the original file size and maintain pretty good resolution.  These can be saved as compressed Office files or converted into much smaller PDF's than would have occurred with the original file.

http://www.neuxpower.com/products/


cool, thanks!!

unfortunately in this case I'm an end user so it's beyond my control...
1314
Living Room / Re: I'm Going to HELL! Please feel sorry for me... :(
« Last post by Target on November 09, 2009, 07:24 PM »
where in Aust are you posted to (it makes a big difference to the potential dangers you're likely to face...)
1315
General Software Discussion / Re: PDF's
« Last post by Target on November 09, 2009, 07:15 PM »
If I recall correctly, "optimize for portability" embeds a lot of printer specific Postscript code into the PDF along with a routine to regularly check for the amount of available virtual memory in your printer.

Unless you're creating a PDF that you only plan on sending to a specific very high-resolution output device (e.g. digital press plate maker, etc.) there's no need to ever use the 'portability' optimization.

good to know, thanks  :Thmbsup:

But if that's the case, why default to that setting?
1316
General Software Discussion / Re: PDF's
« Last post by Target on November 09, 2009, 05:38 PM »
a follow up which may be of benefit to others...

in sheer frustration I again went through the setup of PDF creator

Everything seemd to be where it should be, however in the printing preferences I made a small change which appears to have made all the difference

Under the Postscript options I changed from 'optimize for portability' (the default) to 'optimize for speed' - I have no idea what the difference is but my test files were about 60% smaller (AT LAST!!!)
1317
Finished Programs / Re: Group files from within folders
« Last post by Target on November 09, 2009, 04:55 PM »
an update -

small bugfixes (my bad) and (hopefully) vastly improved tree performance

added functionality to validate the target path, and to open the target folder (click on the 'target:' label)
1318
Post New Requests Here / Re: IDEA: Copy Files in Defined Order
« Last post by Target on November 04, 2009, 09:48 PM »
as the only consistency appears to be the order in which the files are copied I'm wondering why just dragging and dropping the files individually won't have the desired effect

I'm not being glib here, it just seems like you would likely need to do some preparatory work (renaming, merging, etc) before you dropped the files to another app just to sort them in the sequence of the day so you could copy them to your player.  I have no idea how many files were talking about here but at the end of the day it might be quicker and simpler to just copy the files individually (sorry, that's not a very spectacular solution...)
1319
Post New Requests Here / Re: IDEA: Copy Files in Defined Order
« Last post by Target on November 04, 2009, 08:15 PM »
that app was written for a similar but slightly different purpose, and as he said, it would need to be tweaked to do what you're asking for

however in order to do that we would need to know a bit more about your requirements, ie

  • how are the files named?
  • how do you want them sorted?
  • do you use a consistent sort?
  • any other considerations?
1320
Living Room / Re: What's your favorite LOL joke?
« Last post by Target on November 04, 2009, 12:28 AM »
apologies to blondes everywhere, but this is one of my faves...

a blonde goes into a coffee shop and notices a 'peel and WIN' sticker on her cup.

So she peels it off and starts screaming "I'VE WON A MOTORHOME!! I'VE WON A MOTORHOME!!"

The waitress says to her "that's impossible, the biggest prize is a free lunch..."

but the blonde keeps screaming "I'VE WON A MOTORHOME!! I'VE WON A MOTORHOME!!"

Finally the manager comes over and says "Ma'am, I'm sorry, but your mistaken.  You couldn't possibly have won a motorhome because we didn't have that as a prize"

the blonde looks at him and says "it's no mistake, I'VE WON A MOTORHOME!!" and hands him the ticket

and he reads...

    "WIN A BAGEL"
1321
Finished Programs / Re: Group files from within folders
« Last post by Target on November 03, 2009, 07:58 PM »
Nice job, Target.   :D

high praise  :-[ - many thanks!
1322
Finished Programs / Re: Group files from within folders
« Last post by Target on November 03, 2009, 04:30 PM »
meh, bugfix...

<attachment downloaded 9 times)

EDIT: redundant attachment removed
1323
Finished Programs / Re: Group files from within folders
« Last post by Target on November 02, 2009, 11:13 PM »
ok, updated to include the rename functionality

files are renamed with a  numerical increment (_01, _02, etc)

script will also periodically (every 30secs) scan for new media or non existent media

any/all feedback gratefully received

<attachment downloaded 4 times>

EDIT: redundant attachment removed
1324
General Software Discussion / Re: PDF's
« Last post by Target on November 01, 2009, 11:46 PM »
PDF Creator does pretty well at recompressing PDFs. It can be done in batches, works as a "print driver" and stand-alone, lots of config options.
http://sourceforge.n...projects/pdfcreator/

- Oshyan

I already use this app (have done for a few years), but sadly the results haven't been any better than any of the others  :-\
1325
General Software Discussion / Re: PDF's
« Last post by Target on November 01, 2009, 10:58 PM »
you can access the MFPs via a browser just like a router and make changes to reduce the dpi or some other settings.

I'm aware of this, but I work in a large corporation so these things are profiled and locked down  >:(.

Even if they weren't, there are probably several hundred of these things all over the country and the files we're sent could pretty much come from any of them...
Pages: prev1 ... 48 49 50 51 52 [53] 54 55 56 57 58 ... 73next