Dropbox specific tag info - dropbox

My dropbox desktop app is stuck on syncing 2 files... And I want to find which 2 files they are.
In my dropbox folder, all files/folders are labeled with either "green" or "blue" round dot, where "green" means update with dropbox cloud, while "blue" means "updating...".
This is similar to file tags, where we could find blue tags with mdfind 'tag:Blue'.
My task is to local all files that are still syncing with dropbox. Anyone knows how to do this from command line or use some code? My system is MacOS.
Also, is there any specific term for that "blue/green round dot" after Mac file tags?
Thank you very much!
Raymond

Related

How do I randomly pick an icon for a pen drive?

I've seen a tutorial online that explained how to change the icon of a pen drive once inserted using an autorun.inf file and a .ico file, and it worked perfectly, but I wanted to know if there's a way to choose a random file from a list of .ico files inside the pen drive.
Here's the code I'm using for the normal icon
[Autorun]
Icon=IconName.ico
Label=PENDRIVE
If this can't be directly done using the autorun.inf file, please let me know an alternative method, even if it requires other files (such as .vbs files)
Here's the website I used just in case
https://www.windowscentral.com/how-set-custom-icon-removable-drive-windows-10

How do I use the folder path that a user selects and use that path when they download files?

I'm in the process of creating a launcher for a game with Visual Basic and I have pretty much everything done except many people may have files in different drives. So, I want them to select a file path then when they have selected that path I want the download button to download the files that the need downloaded to the selected directory. I was thinking that the beginning of the code would be something like this:
Form2.TextBox1.Text
and then something else after that in the buttons code.
I hope I'm being specific enough.
P.S. The reason why this is an issue is because if I use System.Diagnostic.Process.Start("C:\Program Files (x86)\[remaining folderpath here]") to launch the .exe then the program will only look for the files in that directory even though some people may have the files in their D: drives, etc. And, I have a FolderDialog setup and working.

How to find the "Saved Pictures" folder in OneDrive?

When you save a picture in Windows Phone (browse the web and save a picture from any website), it is automatically saved to a "Saved Pictures" folder (local) and uploaded to a "Saved Pictures" folder in OneDrive.
I'm trying to create an app which is able to save pictures to OneDrive, and I want to save to that folder.
Is there a way to find that folder?
I know some folders (Camera roll, documents, etc.) have friendly names (/me/skydrive/camera_rol, /me/skydrive/my_documents, etc.). Is there some name to this Saved Pictures? Or is it specific to Windows Phone (Windows Phone creates it).
Thanks in advance.
UPDATE: in case you are wondering, what I'm trying to do is to develop the Chrome extension I suggested in UserVoice.
Using the new Onedrive API, there is a way to get access to "special folders", and there is a undocumented folder named "savedPictures", but it doesn't work.
I raised an issue in their bugtracker and they told me would be fixed.
Once it gets fixed, the right way to access the Saved Pictures folder will be to
GET /drive/special/savedPictures
Unfortunately I don't believe the "Saved Pictures" folder is accessible via this mechanism, and on top of that here isn't an easy way to find it yourself since it can be moved and renamed by users.

creating a file upload function with titanium

I'm supposed to develop a mobile app for moodle using android on titanium studio. And I have been searching for days for any helpful article on how to get a file chooser dialog to work on android. Most of the tutes offer image upload but I need to upload .pdf and zip files from mobile. I have already tried fileChooserDialog() and folderChooseDialog() to no avail. Help please?
There isn't a file chooser out of the box, as apps usually send files to each other internally. You can roll your own using ListViews though easily..
Build a list of all the files you're interested in. (https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Filesystem.File-method-getDirectoryListing)
Loop through the list omitting any file types you don't want and build the list
When the user selects a file capture the click event and upload that file.
Style however you want..

Changing OS file icons using AIR app

I am building an AIR app which will be kind of like Dropbox. It will allow users to sync their files between various OSs. What I would like to know is that how can i change the default file system's file icons (add an overlay for eg) for states like - Synced and Syncing, the way Dropbox does it ??
On Windows i found out that Dropbox edits the registry files to insert the overlay icons..not yet sure how they do it in MAC OS X though.
I saw some threads here asking similar questions about AIR, but none referencing how to change file's icons. Hoping to get a solution for this from the various experts .. Please suggest any ideas if you know how it can be accomplished. Much thanks.
A simple yet effective solution would be to use icons that are only internal to your application : just embed in your application files some transparent pictures representing the various states of your files (with only the small part telling in which state it is, with the rest totally transparent), that you will add at runtime above the displayed icons.
Since you can get the actual icon of your files, just draw them into a BitmapData (if needed) & add an overlay with theses custom images, using the one related to your file's state in your application.
And one step further could be to store in your AIR application folder any resulting icons for future use (check what types of files you already have, and if your new file type isn't in thoses, export the various icons with your custom overlays to PNG files directly on the user device, for re-loading them the next time the application is opened).