-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi again,
I am using the following drag command that calls Transmit per Apple script: http://pastie.textmate.org/21681 at the end to do mostly a single File upload at a time. (Called Screenshot handler) I want to get rid of the "true" echo, that gets inserted together with my snippet in the document window.
(The code is almost the same, as is in the Transmit Bundle,which I customized to my needs, without any Idea about Applescript.) (Thanks for all the help again)
How can I do this ?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Allan Odgaard wrote:
On 7. Nov 2006, at 20:57, marios wrote:
[...] I want to get rid of the "true" echo, that gets inserted together with my snippet in the document window.
I don’t see anything should should generate such ‘true’ word.
Where exactly in the output does it appear?
right after the in inserted string. When Transmit is running ( As it is supposed to ), then I get : <img src="http://www.consking.com/screenshots/file_extension_helpercommand.png" title="file_extension_helpercommand Screenshot" class="clear" width="298" height="63" alt="file_extension_helpercommand Screenshot" /> true
If Transmit doesn't have an active SFTP connection for the favorite being used, then It'll exit with the following:
<img src="http://www.consking.com/screenshots/txp_bundle_v07.png" title="txp_bundle_v07 Screenshot" class="clear" width="256" height="105" alt="txp_bundle_v07 Screenshot" /> 29:115: execution error: Transmit-3 got an error: NSReceiverEvaluationScriptError: 4 (1)
I'm nut sure, but could be after the last upgrade (to Transmit 3.5 ).
What I would like it to do also, is echo an alternative Alert message, in case the upload failed for some reason.
regards, marios
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Allan Odgaard wrote:
On 7. Nov 2006, at 20:57, marios wrote:
[...] I want to get rid of the "true" echo, that gets inserted together with my snippet in the document window.
I don’t see anything should should generate such ‘true’ word.
I forgot to mention also, together with the last upgrade version from Panic, I received an interesting package with some script Templates, I didn't look at those yet, and then again, I don't know any Applescript.
regards, marios