No file selected in safari
Is there any way to remove “no file selected” in “file browsing” element by using a script or configuring browser setting?
Click "View" in the Safari menubar and select "Customize Toolbar".
From the dropdown drag the iCloud button to the Safari Toolbar.
https://discussions.apple.com/thread/4148945?tstart=0
Similar Messages
-
The file size of selected file in input file control is shown as 0 for multiple file selection in Safari 5.1. If you select single file, then it is able to return file size correctly. However, if you select multiple files, then the file size of each of the selected file is always returned as 0 from javascript. This works correctly in Safari 4.0 but it does not work in Safari 5.1.
How do I get the correct file size in Safari 5.1 ?If you want to post (or send me) a link to the lrcat file, I'd take a look at it for you, and give you a break-down what's consuming all the bytes. But it might be fun to learn how to do that yourself (e.g. using SQL). I use SQLiteSpy, but other people have their favorites.. (or you can use a command-line client if you prefer..). One way: just run "drop table "{table-name}" on each table then look at filesize (do this to a copy, not the real thing).
Anyway, it's hard to imagine keywords and captions etc. taking much of the space, since even if you had 1000 10-character words of text metadata per photo average that still only adds up to 117MB, which isn't a substantial portion of that 8G you're seeing occupied.
Anyway, if you've painted the heck out of most of them and not cleared dev history, that'll do it - that's where I'd put my money too...
One thing to consider to keep file-size down:
===================================
* After reaching a milestone in your editing, take a snapshot then clear edit history, or the top part of it anyway (e.g. leave the import step), using a preset like:
Clear Edit History.lrtemplate
s = {
id = "E36E8CB3-B52B-41AC-8FA9-1989FAFD5223",
internalName = "No Edit",
title = "Clear Edit History",
type = "Develop",
value = {
settings = {
NoEdit = true,
uuid = "34402820-B470-4D5B-9369-0502F2176B7F",
version = 0,
(that's my most frequently used preset, by far ;-})
PS - I've written a plugin called DevHistoryEditor, which can auto-consolidate steps and reduce catalog size - it's a bit cumbersome to use a.t.m. but in case you're interested...
Rob -
Safari is sandboxed to not reveal filepath from html file select to Javascript ?
I know safari is sandboxed not to reveal filepath from html file select control to Javascript via the Value attribute , but i am unable to find any documentation regarding how this is done and since when this is present .. Can somebody please guide me with this ..?
Since Safari is able to save as HTML file a page if it is opened online (from web), making "Save as...", and it is unable to make so if the webarchive file is on the hard disk...I tried to upload on a web server some .webarchive files.
Then I went online in the web page with the list of all the uploaded .webarchive files... (ex.: http://....filename1.webarchive, etc...)...
My goal was to open ONLINE (not on hard disk) the files and then make "save as...",... but... SURPRISE!!! Safari is UNABLE to open a webarchive file from the web, it asks me where to save the file... it can only save it, it writes that it is an "application"...
I think this happens because .webarchive is not a real web page but a "package"... but my displeasure is this:
Once opened an hard disk's webarchive file, its content is loaded in ram and it appears like a normal web page (html + images + etc...)... so, in this moment, Safari should be able to save it "as...." HTML file too.... discarding images and other objects....
Any advice?
Thank you!!! -
Safari file select dialog hangs?
When attempting to upload a file, the Safari file selection dialog box opens, but I get a beachball as the dialog attempts to display every file on my Mac for some reason. The expected behavior would be for it to start in the last place I uploaded a file, but nothing is selected in the sidebar and it appears to be showing all the files on the system--no directories, but all files of all types.
I've waited over five minutes and see the list of files growing (the longest I've let it get is >15,000 items) but it never finishes. Also, I'me seeing the "select a file to see its path" notice in the bottom of the dialog. Force quitting Safari is the only solution.This started happening to me today.
I use: Safari Version 5.1.6 (7534.56.5)
And when I get a dialog box to choose a file for upload using Safari, there is no beach ball, rather there is the circular activity icon just spins and spins. No file listing appears in list view, column view, icon or coverflow view. I cannot select a file in Safari using the popup file select dialog box.
This is after a softare update yesterday Mac OS X 10.7.4
Can't use for WordPress, Tumblr, Facebook etc.
I am able to use Transmit, my ftp client and it has no problem refreshing the file listings. -
Can't open files saved from Safari
In SL, I have a new problem with files that are saved from Safari.
I first noticed it with an Automator service I made, which took selected text and made a text file out of it. But I eventually discovered the problem seemed to be with Safari. Any time Safari saves a file -- if for example, I click a link and it downloads a .zip file, then there is something wrong with that file that prevents me from opening it in another app.
When I try to open the saved file, either by double-clicking in the Downloads window or from the Finder, the target app just starts bouncing in the dock and never opens. I have to force-quit it. If the target app is already open, it switches to it but never opens the document.
This is only for files that were saved by Safari. Other PDF's and zip's open just fine.
And, if I manually launch the target app, and then go to Open... and navigate to the saved document, I can open it fine.
Files saved from Safari seem to have something wrong with them. If I quit Safari, logout, or even reboot, they still refuse to open by double-clicking.
What could be causing this?Reset safari
Safari/Reset Safari
Go to Your HD/Library/Internet Plug-ins/ and remove to trash the "AdobePDFViewer.plugin".
Open Safari and a .pdf and it should now open with Preview in a Safari/Browser window.
If not then re download
http://get.adobe.com/uk/reader/ -
I came across a website with downloadable InDesign templates. However; Safari opens a page full of question marks and other marks instead of opening the file in InDesign. Is there a plug-in or extension required in order to download an InDesign file from the Safari browser?
You can right click the download link then select "Download Linked File As..." from the context menu.
-
Why won't pdf files print from Safari?
why won't pdf files print from Safari? I get blank pages. They print fine from Firefox. OS X 10.8.4
Back up all data.
If Adobe Reader or Acrobat is installed, there should be a setting in its preferences such as Display PDF in Browser. I don't use those applications myself, so I can't be more precise. Deselect that setting, if it's selected. Otherwise do as follows.
Triple-click the line of text below on this page to select it, the copy the selected text to the Clipboard (command-C):
/Library/Internet Plug-ins
In the Finder, select
Go ▹ Go to Folder
from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
From the folder that opens, remove any items that have "Adobe" or “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present. The same goes for a plugin called "iGetter," and perhaps others.
If you still have the issue, repeat with this line:
~/Library/Internet Plug-ins
If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again. -
Why cant I highlight part of a document and print only what is selected in safari?
Why is it not possible to highlight and print the selection in Safari, thought the imac was supposed to do everything, WRONG.
I also have I.pad 2 and because it does not support adobe flash, I cannot open a magazine that I have each week, I have to do this on the imac, so when away from home it again doesnt do what I want it to. Does everything people say. WRONG AGAIN.
Should have stuck with the laptop, it actually does do these things mentioned above.I purchased the iPad first and waited a year HOPING Apple would fix this problem OR at the least provide something comparable to WINDOWS!
WRONG....and yes it is hard to believe for how ADVANCED Apple is.....that they don't have a simple easy program that allows you to HIGHLIGHT and PRINT ONLY what you highlight!
But....they are making leaps and bounds.....at least you can now cut & paste....thats a good thing!?
HOPEFULLY.......in the VERY,VERY NEAR FUTURE Apple will supply us with the simple software to do these simple time saving chores!
(highlight and print ONLY what you highlight)
Until then we have to cut and paste to several different apps or programs....hoping it will allow you to print ONLY WHAT THE USER WANTS TO PRINT! -
Displaying the path of the file selected by a FileChooser in a TextField
I'm just getting started with Swing. I developed a simple dialog box that has two text fields and two buttons. The objective is to open two files using those two buttons. I used FileChooser to select the files. Now, I want to display the path of the selected files in their corresponding TextFields. I use the following code to do that.
final FileChooser fc1 = new FileChooser();
final FileChooser fc2 = new FileChooser();
final TextField tf1 = new TextField();
final TextField tf2 = new TextField();
private void button1ActionPerformed(ActionEvent evt)
int returnVal1 = fc1.showOpenDialog(labelPhpFile);
if (returnVal1 == JFileChooser.APPROVE_OPTION)
File file1 = fc1.getSelectedFile();
String fileName1 = file1.getName();
String filePath1 = file1.getPath();
tf1.setText(filePath1);
private void button2ActionPerformed(ActionEvent evt)
int returnVal2 = fc2.showOpenDialog(labelPhpFile);
if (returnVal2 == JFileChooser.APPROVE_OPTION)
File file2 = fc2.getSelectedFile();
String fileName2 = file2.getName();
String filePath2 = file2.getPath();
tf2.setText(filePath2);
}The above code works fine only for the first file. Mean the path of the file selected using fc1 is getting displayed in the tf1 TextField. But, the file selected using fc2 is not getting displayed tf2 TextField. Please help me.
Thank you :)h1. The Ubiquitous Newbie Tips
* DON'T SHOUT!!!
* Homework dumps will be flamed mercilessly.
* Have a quick scan through the [Forum FAQ's|http://wikis.sun.com/display/SunForums/Forums.sun.com+FAQ].
h5. Ask a good question
* Don't forget to actually ask a question. No, The subject line doesn't count.
* Ask once
- Don't Crosspost!
- Two people answering one question independantly is a waste of there time.
* Don't even talk to me until you've:
(a) [googled it|http://www.google.com.au/] and
(b) looked it up in [Sun's Java Tutorials|http://java.sun.com/docs/books/tutorial/] and
(c) read the relevant section of the [API Docs|http://java.sun.com/javase/6/docs/api/index-files/index-1.html] and maybe even
(d) referred to the JLS (for "advanced" questions).
* [Good questions|http://www.catb.org/~esr/faqs/smart-questions.html#intro] get better Answers. It's a fact. Trust me on this one.
- Lots of regulars on these forums simply don't read badly written questions. It's just too frustrating.
- FFS spare us the SMS and L33t speak! Pull your pants up, and get a hair cut!
- Often you discover your own mistake whilst forming a "Good question".
- Many of the regulars on these forums will bend over backwards to help with a "Good question",
especially to a nuggetty problem, because they're interested in the answer.
* Improve your chances of getting laid tonight by writing an SSCCE
- For you normal people, That's a: Short Self-Contained Compilable Example.
- Short is sweet: No-one wants to wade through 5000 lines to find your syntax errors!
- Often you discover your own mistake whilst writing an SSCCE.
- Solving your own problem yields a sense of accomplishment ;-)
h5. Formatting Matters
* Post your code between a pair of {code} tags
- That is: {code} ... your code goes here ... {code}
- This makes your code easier to read by preserving whitespace and highlighting java syntax.
- Copy&paste your source code directly from your editor. The forum editor basically sucks.
- The forums tabwidth is 8, as per [the java coding conventions|http://java.sun.com/docs/codeconv/].
- Indents will go jagged if your tabwidth!=8 and you've mixed tabs and spaces.
- Lines longer than 80 characters should be wrapped.
- Proper indentation illustrates program logic.
* Post your error messages between a pair of {code} tags:
- That is: {code} ... errors here ... {code}
- To make it easier for us to find, Mark the erroneous line(s) in your source-code. For example:
System.out.println("Your momma!); // <<<< ERROR 1
- Note that error messages are rendered basically useless if the code has been
modified AT ALL since the error message was produced.
- Here's [How to read a stacktrace|http://www.0xcafefeed.com/2004/06/of-thread-dumps-and-stack-traces/].
* The forum editor has a "Preview" pane. Use it.
- If you're new around here you'll probably find the "Rich Text" view is easier to use.
- WARNING: Swapping from "Plain Text" view to "Rich Text" scrambles the markup!
- To see how a posted "special effect" is done, click reply then click the quote button.
If you (the newbie) have covered these bases *you deserve, and can therefore expect, GOOD answers!*
h1. The pledge!
We the New To Java regulars do hereby pledge to refrain from flaming anybody, no matter how gumbyish the question, if the OP has demonstrably tried to cover these bases. The rest are fair game. -
Close excel programmatically after user cancels file selection
Greetings all. I apologize but I incorrectly posted this question on the wrong board originally so am posting it again here. I have a VI that I wrote with some help from this site that reads in as many user selected Flat Data Files as desired into Excel. The VI opens Excel, places each Flat Data File on one row and ends, allowing the user to manipulate the Excel data as desired. I have tested it without problems with up to 100 files at a time. The VI minimizes Excel at startup so that it will not block the Select File(s) dialogue. MY problem is this: If the user cancels the file selection, it returns an error and leaves Excel open. I understand how to handle the error, but have been unable to make Excel close automatically if the action is canceled. I have tried to invoke the Close without saving node with no luck... probably because I don't understand how to apply it. Ideally, I want to take the error number to a case statement, and if it is anything other than zero (0), meaning no error, I want Excel to close down. This will eventually be an executable so I need to make this right. Can anybody help? I have attached a zip file with the VI's and some sample Flat Data Files.
Thanks
Attachments:
RTS Flat File Data.zip 103 KBIf you want anything to run after an error you must clear the error status boolean from the error cluster. To do this use the bundle by name and set the status value to FALSE, take this output cluster into the function you wish to run.
Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com -
Right, so I have a windowsform with lots of Textboxes, where the user can type in Information, and then hit "Save", once its saved it goes into a sortof XML Format
<?xml version="1.0" encoding="utf-8"?>
<!--Database-->
<Case>
<Person>l<Driver></Driver><License-Holder></License-Holder><Address></Address><Phone></Phone><Date-of-Birth></Date-of-Birth><Registration></Registration>
Like that.
Now, on my Startup Form (The main form) there is a Listview that I gave the name Objectlist1. This list displays ANY file located in a specific folder on my computer. This is also where the Saved files appear.
The list also updates every 5th second so after you save it appears quickly.
Now, the Files are saved using the content or Value of the first Textbox:
Dim XmlWrt As XmlWriter = XmlWriter.Create("C:\Users\USER\Desktop\TESTFOLDER\" + Firsttextbox.Text, settings)
So it appears in the folder and on the list with the value inserted in the first Textbox.
My problem comes when I want to load this back (Or reverse the function if you will)
Where I can go to the Objectlist1/Listview, either doubleclick a file or Mark a file, and hit my button "Retrieve"
I want the Form where you could input all the values to show - which it does
And the information from the XML/File saved to appear where it once was typed or inserted.
Here is an example of the code used to save the values from the Textboxes;
Private Sub Savebutton_Click(sender As Object, e As EventArgs) Handles Savebutton.Click
If IO.File.Exists(Pholderbox.Text) = False Then
Dim settings As New XmlWriterSettings()
settings.Indent = True
Dim XmlWrt As XmlWriter = XmlWriter.Create("C:\Users\USER\Desktop\TESTFOLDER\" + Pholderbox.Text, settings)
With XmlWrt
' Write the Xml declaration.
.WriteStartDocument()
' CLIENT
' Write a comment.
.WriteComment("Database")
' Write the root element.
.WriteStartElement("Case")
' Start our first person.
.WriteStartElement("Person")
.WriteString(Textbox1.Text)
' The person nodes.
.WriteStartElement("Driver")
.WriteString(Textbox2.Text)
.WriteEndElement()
I've tried multiple codesamples but they all give either "XML Not found" or such Overloads.
This is the current code I used when trying to make it work
Private Function ReadSettingsXML(ByVal path As String) As MySettings # On Debug It marks here and tells me it wasn't found.
Dim thisSettingsInfo As New MySettings
If My.Computer.FileSystem.FileExists(Objectlist1.SelectedItems.ToString) Then
Dim settingsInfo = XElement.Load(Objectlist1.SelectedItems.ToString)
If settingsInfo IsNot Nothing Then
For Each mainGroup As XElement In settingsInfo.Elements
If mainGroup.Name = "<Database>" AndAlso mainGroup.HasElements Then
For Each subGroup As XElement In mainGroup.Elements
If subGroup.Name = "<Person>" Then
thisSettingsInfo.Textbox1 = subGroup.Value
ElseIf subGroup.Name = "<Driver>" Then
thisSettingsInfo.Textbox2 = subGroup.Value
ElseIf subGroup.Name = "<Address>" Then
thisSettingsInfo.Textbox3 = subGroup.Value
End If
Next
End If
Next
Else
thisSettingsInfo = Nothing
Throw New Exception("The settings XML file is corrupt and cannot be read.")
End If
Else
thisSettingsInfo = Nothing
Throw New Exception("The settings XML file could not be located.")
End If
Return thisSettingsInfo
End Function
Private Sub LoadXML_Click(sender As Object, e As EventArgs) Handles LoadXML.Click
Dim settings As New MySettings
settings = ReadSettingsXML(Objectlist1.SelectedItems.ToString)
If settings IsNot Nothing Then
Dim sb As New System.Text.StringBuilder
With settings
Caseworker.Textbox1.Text = .Person
Caseworker.Textbox2.Text = .Driver
Caseworker.Textbox3.Text = .Address
End With
End If
End Sub
Also, the "Caseworker" is the form where all the textboxes are located.
Been stuck on this for two working days, so any help is highly appreciated
Codesamples are also highly welcome so I can see what the heck you did and find and answer to my problems.I found a code that might be close to what I'm looking, but as of this code used here, it looks for a static document that already exist and is located in the code.
See this one here, checks for the XML file, and since I can't link one program to 1 file, when its gonna have and use 100's of files.
If (IO.File.Exists("MyXML.xml")) Then
Same here with the static document.
Dim document As XmlReader = New XmlTextReader("MyXML.xml")
While (document.Read())
Dim type = document.NodeType
'if node type was element
If (type = XmlNodeType.Element) Then
If (document.Name = "FirstName") Then
TextBox1.Text = document.ReadInnerXml.ToString()
End If
If (document.Name = "LastName") Then
TextBox2.Text = document.ReadInnerXml.ToString()
End If
End If
End While
Am I at least close here, people?
Can anyone help with the now critical issue I got?
I basically need to change these two;
If (IO.File.Exists("MyXML.xml")) Then
Same here with the static document.
Dim document As XmlReader = New XmlTextReader("MyXML.xml")
To whatever value, so they read from the file SELECTED in my Listview
Cos the program saves files according to the info inserted in textboxes, so it can have whatever name you can think of, I need the program to "find and load" that file, once its selected, and then once I hit Retrieve or LOAD or whatever button, it
injects the info from the File to the correct Textboxes.
And I think this will work to get the info in the right boxes;
If (document.Name = "FirstName") Then
TextBox1.Text = document.ReadInnerXml.ToString()
End If
If (document.Name = "LastName") Then
TextBox2.Text = document.ReadInnerXml.ToString()
Any good advise? I'm stranded here. -
Can I open .xlsx file from mobile Safari webmail in Numbers?
Due to security concerns, my company won't allow me to set up my work email account in Mail on the iPad. I have to use webmail. I can open .xlsx attachments in Safari, but graphs tend to be pretty bad. Is there some way to get Numbers to open the .xlsx file instead of Safari?
I know the company policy is probably lame, but it is non-negotiable so please don't bother addressing that aspect of the problem. Sadly, no matter how impeachable your logic, the policy won't change.I too can not use mail, but mine is more restrictive, no mail at all from non-approved devices. So I feel your pain.
On to your question, if you have numbers installed on your ipad, then on the bar at the top of the screen where "Done" appears, you will also see either an "open with..." or "Open eith numbers" depending on if you have more than one program installed that can read the document or not.
You will still most likely NOT get your charts to come across like you want them to though. just sayin.
Jason -
Issue with opening PDF file link from Safari
Hi Everyone,
I got a problem with opening PDF file link from Safari 4.04. Instead of getting a normal pdf content, it shows some weird characters. Not sure it is something wrong with Adobe Reader Plugin or Safari?
I have uploaded a screenshot of the issue in the adobe forum (http://forums.adobe.com/thread/531870). Please help!
Many Thanks,
JohnThere's nothing wrong, except the fact that you have Adobe Reader installed. You don't need it, so get rid of it; it will only cause problems with Safari. What you're seeing is the contents of the PDF file, rather than having it displayed.
If you want to download a PDF file, you can either Control-click on the link and choose "Download Linked File As…", or you can Option-click on the link for the file and it will be downloaded to your Download folder (usually your Desktop).
If you want to view a PDF file in Safari, you don't need Adobe Reader; Safari is perfectly capable of doing this by itself and has been for years. Adobe Reader will only get in the way and slow everything down. -
The XML file selected is invalid
I have exported FDM application from FDM 9.3.1. I am trying to import FDM application in 9.3.1.2. I am getting error "3107- The XML file selected is invalid" during import process. Anybody have experience this error?
Thanks,look at this http://forums.adobe.com/thread/433486
-
When I was on Mac OS 10.5... If I had a folder open, and a column of files going down the right side of the desktop... If I opened one of the files (by having the file selected and hitting the keystroke: Command + Down Arrow) - then closed the file, then hit Command + Tab to select the Finder, then hit Down Arrow to select the next file (to open it) - that sequence worked as described.
Now with 10.6 that no longer works - if a folder is open on the desktop. If a folder is open, in the above sequence, after I hit Command Tab to select the (file I just closed in the) Finder, the selection moves to the folder rather than back to the file I just closed.
Which is a giant PITA because I can no longer open and close I column of files in the finder w/o having to reach for the mouse.
Seems like there should be a way to fix that.
beInteresting, never used that method, but will take a look in about 10 hours wgen I have 10.6 available.
Maybe you are looking for
-
Can't read a DVD-RW I just burned successfully
My search on this forum didn't get me the answer - Hope I didn't miss it... My knowledge in this area is zero having come from a beige G3 with little need to burn even a CD. A friend gave me a DVD-RW onto which he had burnt a short TV clip recorded d
-
Blackberry 9220, i want to remove the vendor boot screen, is it possible?
As the title above, i wanna remove the vendor splash screen there. it shows Blackberry Original Smartphone without brand name, kinda annoying for me hehe
-
Slow imac, how to check status and clean up disc?
slow imac, how to check status and clean up disc?
-
Abode Flash Plug-in blocks Firefox when I am on youtube
Hi, Firefox crashes every time I watch something on Youtube (I noticed that the problem is connected to Adobe Flash). Maybe I don't have some program because I re-booted the computer, and before the boot everything was fine. I have Windows XP 32 bit.
-
How to view signal in a waveform chart in Labview Signal Express?
Hi, I would like to view a signal in Signal Express 3.0 in a "waveform chart" but don't know how to do it and I am thinking that it may be impossible? In Labview there are two ways of viewing data, either in a "waveform chart" or in a "waveform grap