Prase links from text file and download - Tasker Tips & Tricks

Aim: Text file with direct links to files to be downloaded, wanting tasker to prase the links from text file and download to SD Card.
Note: I've modified phone to allow 3rd party apps to write to SD card so no need to worry about that problem.
Why? Their is a few Imgur albums I want to download when connected to work wifi, but need to be automated to do it without human intervention (that is after I've connected to wifi etc.)
My idea: Prase the text file and place each new line into an array. The array contents are them feed to something like http get or similar.
I just need help implementing or you suggestions. I've only used tasker for moderately difficult tasks, I've done nothing like arrays before in tasker.

Related

Missing file downloaded from PIE - Kaisertweak issue?

Hi guys - I have a strange problem where files I have downloaded from PIE seems to be on the device (or SD card) but I cannot find them with File Explorer / Resco File explorer.
I have used Kaisertweak to set my download location as storage card\My documents\images (for images obviously - videos for video files etc).
When I download an image the picture is opened by straight after, so I know it is there - however in the property box it is listed as being in My Documents\\storage card\My documents\images. However I cannot find this directory, even by using the find file dialogue!
Has anybody else experienced this / found a solution?
I am especially concerned about there being a hidden directory in the device taking up valuable storage space - I believe I downloaded a 20MB video file at one point!
Cheers!
I think I ran into the same thing, and it was just a user misunderstanding of poor terminology. When the popup comes up saying "Would you like to save ... file to the Device" there are options for "Yes" and "Save As". If you choose yes, it doesn't seem to actually save it to the device (as you would expect, since it just asked if you want to save it) but I think that is intended to only temporarily save things like .cab files that are supposed to run and install something, kind of like the RUN option when opening a file on a regular PC. If you want to save it, I think the only way is to hit the "Save As" option and you can then choose the location.
EDIT: I didn't read your whole post before answering...as far as the Kaisertweak options for photos, video, etc., the same thing applies. Basically, the storage location defined in KaiserTweak doesn't seem to make any difference, as you still have to use the "Save As" option to get it to actually save.
Thanks snooginsguy - hopefully that means I don't have any large hidden video files clogging up my device memory!
I am surprised nobody has mentioned that the storage location defined in KaiserTweak doesn't seem to make any difference on the (long!) Kaisertweaks thread though - I would have assumed the default location is where files get saved if you don't specify a location (as they would on XP).

Viewing Saved HTML Files on AT&T Tilt?

I'm sorry if this question has been asked before, but I couldn't find it on the search.
I save HTML files on my PC and bluetooth send them to my tilt, but my problem is the tilt loads 80% of the file on internet explorer and then decides to turn on the internet connection to download the leftover 20%. I don't understand why it needs to use the internet if I already downloaded the whole html file. Is there any work around this without disabling the internet? I mean it kind of defeats the purpose of saving an html file if it is just going to connect me to the internet to view a file.
Also the .MHT file is too large and doesn't always work so I don't really find it a great alternative.
Save them as HTM with the accompanying folder instead of MHT?
There will often be a few links staying "online" like ads and such other things that change at every page load, so it tries to connect to get those.
yeah, the only real way to strip it of any 'online' links is to open them in an editor and do it manually. Things like ads will be coming from a sepearte http:// than the original site - removing any links should do the trick.
Another option is to use opera, and from inside that you can save the page to the device locally for later viewing (needs to use data on your phone though... are you trying to avoid this ?)

WP7 - Storeing documents and PDFs to HD7

Hi
Does anyone know how to store documents and PDFs to the HD7? I can create documents on the phone but not transfer anything from my old HD2.
People on other threads mentioned skydrive, but I can only find an option to load photos there.
We need Dropbox !
I think for now the only way to work with the storage of docs is via SharePoint
Ian
I was wondering how to go about doing this myself!
I little testing later and here are some options that worked:
Ahem!emailthemtoyourselfAhem! This does work and you can save the files to your phone after downloading the attachments (by default the attachments weren't download when the email was synced).
How WP7 does this is quite different to Windows desktop or Windows Mobile 6.5. Clicking on the attachment in the email will only open it; a long press does nothing. If it's a word file, there is then there is the option to 'save as' which allows you to modify the file name should you wish but only allows you to save to 'Office Hub'. Once you do this, the file is added to the second pivot list or column in the Office Hub (‘Documents’).
Note: Adding further office files such that the list will no longer fit on the screen will make the list vertically scrollable.
Skydrive and Office Live seem to be fully functional using the included WP7 IE browser. I was able to browse through my Skydrive files and folders and was even able to create and edit a new word document - all from within the browser.
Downloading an individual file takes a bit of careful finger work – just clicking on it automatically opens the file or folder but if you long press (which brings up the ‘open in new tab/share’ dialogue) and then click again in an empty part of the screen to hide the popup again, it will only highlight the file (as mousing over would do on the PC). This then allows you to select the more > download options.
The best and least pain free option for transferring files from Skydrive is to simply put everything you want on your phone in one Skydrive folder and use the ‘download folder as zip’ option. This method allows you to then open and save each individual file in the zip to the Office Hub. The limitation of this method is that the zip file doesn’t appear to be saved locally – it appears to open in the browser and only lets you open each file individually.
Note: It looks like currently there is no way to ‘save’ a pdf file on the device apart from as a downloaded email attachment. Hmm, not ideal if you like looking at large pdfs!
Each WP7 app has it's own isolated storage area. Unfortauntely, apps cannot acccess storage space belonging to other apps. The only exception here so far seems to be the Pictures storage; many apps can read and write to this.
I would expect in future OS updates we will have better access to shared storage areas (well hopefully).
The solution I've been using for now is Dropbox. I upload my PDF files there, then navigate to http://m.dropbox.com in IE. Use your WiFi of course. When you tap on a file in your dropbox it will open in Adobe Reader.
Later on, if you open Adobe Reader from the app list then you will have access to previously downloaded PDFs. Simples!
In the next software update they are going to bring skydrive into the office app.
Has there been any advancements yet?
It does seem silly that I don't have a documents folder or indeed that WP7 doesn't mirror my computer architecture.
Am uploading my PDF's to drop box, once i've accessed and opened them from my phone, am I then able to save them on to the storage card?
How the hell do I get a PDF on to my HD7?
I've tried emailing it to myself. I see it in hotmail, but every single time I attempt to download it, it fails.
I tried Dropbox. I see it in the browser, but no option to save.
I uploaded it to Skydrive, again, I see it but no option to save, only 'open in new tab' and 'share'.
This is utterly ridiculous, only MS could take a task as simple as saving a PDF to a device and turn it into a nightmare.
I'm usually quite apt with computers, this has me completely stumped though.
Are you sure the PDF file is not corrupt? Do you even have Adobe Reader installed?
Picking a random smallish PDF file:
http://www.tfl.gov.uk/assets/downloads/standard-tube-map.pdf
Entering that into IE on the phone downloads it, and offers the option to view it.
Having viewed it, it now appears in the Adobe Reader app. Long press on the filename gives me the option to delete it.
The same goes for skydrive (accessed through IE), and if I email the PDF file to myself.
Although the methods previously suggested might work, and they do with several limitation, I wouldn't advise them as they will either leave your files lost in the middle of hundreds of e-mails or pile your office hub in a completely unorganized fashion.
My solution is much better; simply create OneNote notebooks, organized anyway you see fit, insert your files and sync them to SkyDrive.
When you sync them with your WP phone you will have your pdf files organized and always available.
Cheers
Trimegisto said:
Although the methods previously suggested might work, and they do with several limitation, I wouldn't advise them as they will either leave your files lost in the middle of hundreds of e-mails or pile your office hub in a completely unorganized fashion.
My solution is much better; simply create OneNote notebooks, organized anyway you see fit, insert your files and sync them to SkyDrive.
When you sync them with your WP phone you will have your pdf files organized and always available.
Cheers
Click to expand...
Click to collapse
Brilliant. I shall have to try this.

[Q] Excel & Word App?

Does anyone know a good app I can download view and edit Excel or Word files on? I have tried:
OfficeSuite
E-cell xls
Word To Go
I have attached a copy of the Excel file I am trying to manipulate on the G-Tab. I am able to open, view, and edit the file (well sort of edit). If you view the file file via Excel on you computer you will see it has "check boxes" but I am not able to see them on any of the above mentioned apps. Does anyone know of an app that I can do this with?
The form is being created for use in a physicians' clinic, to help avoid the the clutter of paper and eligible writing.
I was not able to upload (size limit) the Word file I want to be able to edit. But this file is filled with "drop down" menus which do not show up when opened on the G Tab.
Any help would be greatly appreciated.
Dave
That Excel sheet is full of Windows Forms controls. Since those are ActiveX controls I doubt *very* seriously you are going to find any programs on the G Tablet that will allow this file to work correctly. ActiveX, if you aren't familiar with it, is extremely Windows-centric. And at this point, fairly out dated.

[Q] WP8, Phone>Documents & Text files

Hi all, just a quick question regarding the functionality of Wp8 that I am fighting with, that I need to resolve or another WP phone is going back to the supplier [I did the same with WP7].
First off, apologies if there's an answer that I haven't managed to find.
I currently have an HTC HD2 running very nicely on WM6.5, however, it's been creaking a bit recently & I'd decided with a favourable review of WP8 that I read the other day suggesting that finally the device can be plugged into a PC & seen as a USB drive, that the time was right to move forwards.
Now that I have the Nokia Lumia 820 & WP8 however, I still don't think I can get it to do what I need it to do.
ALL I would like to do, is be able to copy text files from PC to WP8, & then display them on the phone with text wrap switched off.
Easy hey? Well if so, I haven't worked out how to do it yet!
I plug the phone into my PC, & an Explorer window fires up on the PC [XP] showing 'SD card' & 'Phone'. Drilling down one level on the latter gives Documents, Music, Pictures, Videos etc.
The only way I can get to see the Documents folder on my Phone appears to be via Office Mobile, under 'places' > phone. It appears to be very fussy about what it allows to be displayed there - I can see .PDF, .DOC, .XLS & .TXT files [but not .LOG. .ONE, .ZIP etc (which remain 'hidden')].
When I tap a .TXT file, I have no choice of how to open it, Office Mobile pounces & that's that. Having got this far, all I would now like to do is switch off text wrap [so that it'll view in a usable manner] because there doesn't appear to be such an option.
I have scoured the Store, & the best I've found is 'Text Reader', though this requires that I load it via email [upload a file to Hotmail or wherever with a .LOG (or similar) suffix & away you go, which it then downloads & stores in its own sandbox]. Ok, but faffy.
I believe that other progs might enable transfer via the cloud [Skydrive or whatever], but because of the nature of the data [& the fact that I don't want my data in anyone else's hands], this is out too.
I've spotted a couple of other quirks.
Office Mobile also does not allow you to display the folder hierarchy that may exist in Phone>Documents, just giving a flat filesystem, which makes finding a file in thousands, say, horrible. All I'd like to do is exactly duplicate the hierarchy that exists on the PC [& then I am always looking for things in the same place on either device].
I have also noticed that Office Mobile Word sometime hangs part way through a file. e.g. on loading a 1mb file, & searching for a text sequence I know to be on the last line, it hangs on a line part way through the file [say a 1/3 of the way in]. Not great, & I have the odd file that's c.10mb so I dread to think with that.
Words fail me, & once again I am hugely disappointed with MS. Please, please get the odd decision right & maybe WP will be at the top of the pile again as it was with [the sometimes awful, but very functional] WM.
I am hoping that someone will explain an easy way to do this, & that I can finally move forwards from WM6.5. Android concerns me re privacy & I don't like iPhones, so not much choice really! Stuck waiting for MS to provide basic functionality or [worse] a potential need for a future jailbreak to make the thing work properly!
Here's hoping. Many thanks for reading.
First of all, nobody who knew what the hell they were talking about said that WP8 displays as a USB drive (properly called USB Mass Storage). It's an MTP device, like most media players (or indeed WP7, though that had an extra layer of encryption around it). MTP doesn't display the actual filesystem; although the hierarchical display that it presents *may* mirror a real filesystem, it's under no obligation to do so.
The dearth of supported file types in WP7 was a real pain, but it could be fixed by tweaking the registry. In WP8 it's still a pain, but now third-party apps can (officially) register to handle file types. However, as you point out, there's no real way to browse the phone, and the Office hub only shows the filetypes it recognizes. We *might* be able to fix that, if we could get registry write permission, but that's not possible right now. With that said, I don't know if it would be possible for another app to register the (for example) .txt extension; the phone does offer the ability to choose what app opens a given file type.
For what it's worth, Bluetooth file transfer to the phone works fine, and the files will open in whatever app is registered to the file's extension. You can then save them into the app's storage (Documents, for Office apps). This may be a better way to transfer your data.
In WP8 you can build Apps that associate themselves with certain filetypes (identified by the ending). If your App is associated with a certain file type the App can also open files of that type from anywhere on the SD Card.
So for example if you put a *.log file onto the SD Card any App that is associated with the ".log" ending can read it (the Explorer functionality for the SD Card would have to be implemented by the App itself but it is supported). This does not work with the integrated storage though. With integrated storage you would still have to receive it via E-Mail, SkyDrive, etc.
Now for the caveats:
- Apps can't be dynamically associated with File Types. If you want to open "*.log" files the App developer has to associate his App with the filetype in it's manifest. If several Apps exist for a given filetype the user will be asked which one to use.
- There is a quite extensive list of file types that are reserved for the OS or built in Apps. Any file type that is reserved in that way can't be associated with third Party Apps. This contains Office documents (except PDF, TXT files and lots of media file types). The complete list can be seen here: http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207065(v=vs.105).aspx
- Apps can only read from the SD Card but they can't Change data there.
Now as for your Problem: someone could build an App that supports e.g. Log-Files and you could use your Lumia 820 with an SD Card to pretty much work the way you intend to with those files. It's not really trivial though, given that 10 MB big plain Text-Files regularly lead to Trouble even on PC text Editors (the developer has to be smart on how to handle These "huge" files, so just some midnight hack job won't do).
What are your further requirements? Search pretty obviously. But what are all the filetypes you would need? Would you need editing capability?
Just trying to understand the compelete picture of your requirements. Perhaps you can tell us what kinds of files you use and for what purposes.
Thanks for taking the time to reply.
@GoodDayToDie
Re 'seen as a USB drive' - That's me being careless with words, what I meant to say was the ability to local sync over a USB cable, & then access the copied files on the device. I didn't think that you could do this with WP7 [without frigs], & had high[er] hopes for WP8.
I might have a look at Bluetooth FT as a method for getting the [bulk] data over locally, as I won't be doing it via the cloud [email or Skydrive]. Thanks for the advice.
@StevieBallz
Thanks for the MSDN reference - Very interesting.
Ok, so the apps can potentially access the data on the SD card but not write to it - As an aside, I thought I read something the other day that said data on the SD card was limited to Pictures, Videos, Music etc, as a security measure. That's interesting too then, though anything I want to be 'secure' I'd keep in the internal storage anyway.
Re the comment re 'Trouble even on PC text Editors'. Yes, I tried way back on WM2003 to get a file displayer going, but immediately hit problems with [I think] a 32KB limit on the textbox display. I've just made do with WM6.5's Word displayer since, which offers basic functionality.I keep meaning to go back to the coding, but haven't managed it yet [I think Visual Basic was missing for a while with WP, if indeed it's there yet (I thought I'd read it was with VS2012?)].
Re my 'requirements'. Just to be able to search [large-ish] text files & have the o/p displayed in a manner that's readable [no word-wrapping]. I realise editing is a whole new ball game, so read-only would be good enough. Longer term, I'd like the ability to have many text files open at once - On the desktop I use "Programmer's File Editor", & something like that [if only as a viewer] I'd find invaluable on the smartphone/PDA. I also have many thousands of files on my desktop [PDF, DOC, RTF, HTM, TXT etc] & ideally I'd like access to those on the go as & when needed, via a hierarchical file system on the mobile device, with the structure exactly mirroring the PC's file system, so that I'd search for & find data in the same places regardless of which device I was using [Why thousands? Might be 100s+ actually, & these could be electricity bills, sales receipts, insurance documents - anything - the stuff of life really].
I'll continue with my testing of Office Mobile Word's displaying & searching of text files. I've found it patchy & not consistent so far, but am going to have to move from WM6.5 eventually [more's the pity], & don't really want the hassle of sending the device back again.
Many thanks for your advice so far.
Device returned, many thanks for your help. Maybe WP9 then?
5v17 said:
Device returned, many thanks for your help. Maybe WP9 then?
Click to expand...
Click to collapse
Judging by the ideas picked up for review on dev user voice, situation may drastically improve with the next SDK update.

Categories

Resources