How can I determine the full path and filename of the currently opened .ai file?
In Photoshop, right clicking the file name of the opened file in progress shows an option "Reveal in Explorer" so I know exacly where the file was opened from.
In Lightroom, it is displayed in the metadata.
New to illustrator, I have looked at loads of menu options get cannot see how to find this information.
Would be grateful for some help.
+1 for what Larry said if you are on OS X. You can then scroll through and select any of the listed items and when clicked upon it will take you to that folder/location.
Not that it would offer ease of use or a better method, but you could also use a simple script to retrieve this info as another alternative method:
Example Structure:
alert("File Path/Location:\n" + File.decode(app.activeDocument.fullName));
Results the Below Alert:
alert("File Path/Location:\n" + File.decode(app.activeDocument.fullName).split('/').join('\n/ '));
Results the Below Alert:
But again, not that this approach would offer ease of use or a better method, just another alternative method (It works in my quick tests).
Similar Messages
-
How do I get the full path and filename of the current document?
I'm writing a format plug-in. How do I obtain the full path and filename of the current image (document) from within my plug-in? Any help would be greatly appreciated!
I actually just figured this out. For anyone else who would like to know, check out the propetizer sample code in the photoshop sdk. It makes a "filter" plug-in that just spits out all the properties of the document you could ever want to know about. The function I used to get the full path and filename of the current document is PIGetDocumentName(). I hope this helps someone eventually...
-
How can I determine the number and sizes of redologs?
Dear all,
How can I determine the number and sizes of redologs are sufficient to allow redo log switching while hot backup is in progress?
Please advice,
AmyTwo questions here - what the OP put as the subject title and what was asked in the thread, which are different questions.
I would interpret the question in the thread to mean "how to avoid hanging due to archiving waiting for a redo log group to become available." Alert log, wait events, and user complaints would be the source of information here. -
Hello,
I am at my wits end into this. Either I am doing it the wrong way or it is not possible.
Let me explain. I need a vb script for the following scenario:
1. The script is to run on multiple Windows 7 machines (32-Bit & 64-Bit alike).
2. These are shared workstation i.e. different users login to these machines from time to time.
3. The objective of this script is to traverse through each User Profile folder and get the size of the 'My Documents' folder within each User Profile folder. This information is to be written to a
.CSV file located at C:\Temp directory on the machine.
4. This script would be pushed to all workstations from SCCM. It would be configured to execute with
System Rights
I tried the script detailed at:
http://blogs.technet.com/b/heyscriptingguy/archive/2005/03/31/how-can-i-determine-the-size-of-the-my-documents-folder.aspx
Const MY_DOCUMENTS = &H5&
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(MY_DOCUMENTS)
Set objFolderItem = objFolder.Self
strPath = objFolderItem.Path
Set objFolder = objFSO.GetFolder(strPath)
Wscript.Echo objFolder.Size
The Wscript.Echo objFolder.Size command in the script at the above mentioned link returned the value as
'0' (zero) for the current logged on user. Although the actual size was like 30 MB or so.
I then tried the script at:
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_27869829.html
This script returns the correct value but only for the current logged-on user.
Const blnShowErrors = False
' Set up filesystem object for usage
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("WScript.Shell")
' Display desired folder sizes
Wscript.Echo "MyDocuments : " & FormatSize(FindFiles(objFSO.GetFolder(objShell.SpecialFolders("MyDocuments"))))
' Recursively tally the size of all files under a folder
' Protect against folders or files that are not accessible
Function FindFiles(objFolder)
On Error Resume Next
' List files
For Each objFile In objFolder.Files
On Error Resume Next
If Err.Number <> 0 Then ShowError "FindFiles:01", objFolder.Path
On Error Resume Next
FindFiles = FindFiles + objFile.Size
If Err.Number <> 0 Then ShowError "FindFiles:02", objFile.Path
Next
If Err.Number = 0 Then
' Recursively drill down into subfolder
For Each objSubFolder In objFolder.SubFolders
On Error Resume Next
If Err.Number <> 0 Then ShowError "FindFiles:04", objFolder.Path
FindFiles = FindFiles + FindFiles(objSubFolder)
If Err.Number <> 0 Then ShowError "FindFiles:05", objSubFolder.Path
Next
Else
ShowError "FindFiles:03", objFolder.Path
End If
End Function
' Function to format a number into typical size scales
Function FormatSize(iSize)
aLabel = Array("bytes", "KB", "MB", "GB", "TB")
For i = 0 to 4
If iSize > 1024 Then iSize = iSize / 1024 Else Exit For End If
Next
FormatSize = Round(iSize, 2) & " " & aLabel(i)
End Function
Sub ShowError(strLocation, strMessage)
If blnShowErrors Then
WScript.StdErr.WriteLine "==> ERROR at [" & strLocation & "]"
WScript.StdErr.WriteLine " Number:[" & Err.Number & "], Source:[" & Err.Source & "], Desc:[" & Err.Description & "]"
WScript.StdErr.WriteLine " " & strMessage
Err.Clear
End If
End Sub
The only part pending, is to achieve this for the 'My Documents' folder within each User Profile folder.
Is this possible?
Please help.Here are a bunch of scripts to get folder size under all circumstances. Take your pick.
https://gallery.technet.microsoft.com/scriptcenter/site/search?query=get%20folder%20size&f%5B0%5D.Value=get%20folder%20size&f%5B0%5D.Type=SearchText&ac=2
¯\_(ツ)_/¯ -
File dialog box: how get full path and filename
Hello All
i have a problem to save the full path and filename with file dialog box.
I want to save full path and filename in the database for creating a link to a file.
I use a file-dialogbox to choose a file.
I see in the textfiled something like this
\FULLPATH\filename.ppt
but when i save the textvalue in the database or look at the seesionvalue I see
this:
F2087258868/filename.ppt
but I need the full path to create a link. How I can get?
I use version 2.2.1..
Thanks
PutchoHi Putcho,
You can create some javascript that puts it into a hidden item.
In HTML Form Element Attributes: onChange="$x('P15_X').value=$x('P15_FILE').value;" Then create another process that stores the value of the hidden item in your own table...
I quickly made an example with a normal text item, so you see it copies itself to the other box: http://apex.shellprompt.net/pls/apex/f?p=286:15
Hope that helps,
Dimitri
http://dgielis.blogspot.com -
How can I determine the type of video out connector I need?
Howdy,
I have a white macbook purchased Jun/2008. I want to connect to a TV but don't know what adapter I need. How can I determine the type of video out jack my macbook has?
System Profiler says the model identifier is "MacBook 4,1". Under Graphics/Displays the only thing it says about the "Display Connector" is that no display is connected. Too bad it doesn't tell me what type of connector it is. If I knew the name of the connector I'd probably be home free. But it seems like every macbook model has a different video connector (since the state of the art has advanced over the years) and I haven't been able to keep up with the names.
Now, I have a 6" long adapter that will convert this connector to VGA. And searching the Apple store for VGA adapters, the existence of mine says my connector is might be one of "Mini DisplayPort", "Apple Mini DVI", "Apple DVI", or "Apple Micro-DVI". But then there is also the connector at
http://store.apple.com/us/product/M8639G/A?mco=MTY3ODQ5OTY
and that looks like the one I have. But unlike the other adapters, this one is just called a "VGA Display Adapter". Does the connector have a name? How can I find adapters that have that same connector?
I know I could use the adapter I have, plus a VGA to VGA cable, to hook up to a TV. But the quality of the VGA signal is poor in the digital world. My goal is to hook up to the TV via HDMI. Is this even possible? By which I mean, will my macbook generate the signals necessary to be able to be converted to HDMI?
Thanks for any help,
Zebulon TThanks, Ded,
You're right, the cable that I have won't work. I't from my previous, 2004 iBook. This is pretty embarrassing... I looked at the cable but didn't bother to try plugging it in.
Looking at the close-up picture of the Mini-DVI to VGA adapter, that does look like the right connector. So I have Mini-DVI, and the other apter you pointed to can convert this to DVI. I'll take a look to see what makes the most sense, connector wise, downstream from that.
Thanks very much.
Zeb T -
File dialog box: how get full path and filename (firefox 3.0 problem)
Hi,
I have a smilar problem then discussed in this thread: file dialog box: how get full path and filename
Now this solution doesn't seem to work in firefox 3.0,I only get the filename but not the full path.
I have tried to solve this problem by adding *"netscape.security.PrivilegeManager.enablePrivilege("UniversalFileRead");"* in a javacript function but that doesn't do the trick
Although when i tested it local it does work.
Any idees how to solve this?
Best Regards
StijnActually, that is strange and scarry. With 20% of the browser market share they decide to behave like Microsoft did in the past - they want to decide what users need and what they do not need. With 3.0 I have a real problem with some of my applications. They are all tested in IE6, IE7, FF2.0 and they all work the same way (they even work with Opera and Safari). Now, I will for sure not go there and make it work for 3.0, just because 2 out of 200 users use FF3.0. Up to now I have always recomended FF as the best browser. 3.0 causes my opinion to change completely. Competition is always good but it is a question if it is good if we have 20 different browsers out there with equal market shares.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
How can I determine the time zone the computer it set to?
How can I determine the time zone the computer it set to?
I am using Lab View 5.1.1Hi,
in the G-tools (http://www.geocities.com/gzou999/index.html ) you find two
time functions, "Get local time" and "get sys time". The difference between
them is the time zone.
Niko -
How can I determine the liquid level in a bottle (LabView Vision)?
How can I determine the liquid level in a bottle (LabView Vision)? Does anybody have an example code? The task is, that if liqid level is between two predetermined level, the program writes, that it is correct else it writes incorrect. Thank you.
here is a little play with your bad picture:
used only the small field of interest (here a guess) ,
used only the red channel ( takes out most of the light reflection)
grey scale, 3x(blurr, median filter) , played with contrast -gamma - saturation
now you need to add the edge detection and some sort of scale.
Greetings from Germany
Henrik
LV since v3.1
“ground” is a convenient fantasy
'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ' -
How can I determine the cipher bit strength used by MY os X?
How can I determine the cipher bit strength used by MY OS X? Using Lion now?
CT:
Not Filvault, but the regular cryptographic use as built into OS X. For example 1Password uses the algorithm in the OS X's Linux. How many bits (i.e. 50, 128, 256...) does it use and what algorithm (DES, AES...)
Linc
As per reply to CT?
Like so:
http://osxdaily.com/2012/01/30/encrypt-and-decrypt-files-with-openssl/
What is the strength used? -
In Firefox 4 how can I cause the date on downloaded files to be the current date? (Some are and some are not. In FF3 the dates were ALWAYS the current ones.)
== This happened ==
Every time Firefox opened
== I upgraded to Firefox 4 (beta)Firefox 3.6.* and earlier set the downloaded file's modification time to the current time. In Firefox 4.0 the behavior has been changed, if a server returns a timestamp telling when the file was last modified (Last-Modified header), it is used instead.
You can revert to the previous behaviour by using the [https://addons.mozilla.org/en-US/firefox/addon/93121/ Download Timestamp] add-on. -
How can I check the current cost and budget in SAP?
Dear experts,
How can I check the current cost and budget in SAP for the PR approval?
Table:COEP, COBK, COSS COSP can not find below information:Tender_budget,Working_budget,reconciliation,Additional,Adjustment,variation
Best regards,
MerryDear expert,
I need below information:Project_id,Cost_code,Nature_code,Section_code,Work_type,Work_code,Cost_type,Suffix,item_desc,Tender_budget,Working_budget,reconciliation,Additional,Adjustment,variation
Can you tell me which table and filed can find them?
Many thanks.
best regards,
Merry -
How can I replace the current contacts list and put in my own
How can I replace the current contacts list and put in my own? My son's name and contact list appear, inadvertently loaded when he used the iPad. I have an iPad mini, fully updated to iOS 7.0.4.
He must have signed into his icloud account using your device. You need to disconnect the device from that account and then sign in using your account ID.
Go to Settings>icloud, scroll to bottom of screen and tap Delete Account. Then log in using a different ID. -
i want to transfer my fcp to my new macbook.how can i unstall the current one and activate on the another. i just wonder i can't see any serial number on it!!
Yes.
It's always useful to keep a backup copy as well in case things go wrong.
It's much quicker than having to download again.
You can keep it on hard drives, memory sticks or cards, DVDs etc. -
I want to update iCloud account with new apple id but don't know password for old apple id. Plus can no longer receive email at old apple id. How can I delete the current iCloud account on my iPhone if the previously stated conditions exist?
If the old ID is yours, and if it is an earlier version of your current ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID. Click edit next to the primary email account, change it back to your old email address and save the change. Then edit the name of the account to change it back to your old email address. You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll. When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud). Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was. Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.
-
How can i change the size of PDF files ?
how can i change the size of PDF files? when i convert documents in the acrobat browser it seems the files become larger then normal pdf files, this is, i compare with other files that people send to me and i realise that they are smaller than my converted files, even if they have more pages.
A lot depends on the form of the PDF. Is it graphics, a scan of a text file, pure text, or other? What version of Acrobat are you working with.
You can do a save as to get a WORD file, but do not expect great results. The ability to get a decent WORD file depends on what the form of PDF you are working from. If it was created from WORD with tags and all, you might get good results. If not, you might get a lot of messed up results.
Explain what you are starting with and your ultimate goal. Also check the audit of the file (should be under PDF Optimize) to see where the file information is concentrated (text, fonts, graphics, other).
Maybe you are looking for
-
Itunes not syncing new songs + other problems. Help please!
My computer had to be taken to the shop last week and the whole system had to be wiped and recovered. I forgot to tell them there was another file I wanted saved so I lost a lot of my music. I managed to download the free version of touchcopy and get
-
Photo size when uploaded from camera
I have been trying to order prints off of snapfish, and keep getting the resolution warning on every single picture. I have a Canon Powershot camera and have adjusted it so that it is on the highest resolution, so I think the problem comes from uploa
-
X200s tried to add webcam - now neither webcam, nor thinklight will work
Hi all, So, as the username hopefully indicates - a newbie to the x200s, which I bought recently, though I've been using thinkpad products for a few years now (a devoted fan!) My x200s did not come with a webcam and, since I am thousands of miles fro
-
Is there a plugin that extends the limit of forms?
Firefox imposes a limit on forms, I need to extend this limit to finish coding into an online database. The database can handle extensive code, but since we code online, Firefox as a web browser imposes a character limit
-
? Best way to remove the notification area "Safely Remove" icon?
I have a new T500 running Vista64. I've been able to customize it mostly to my liking. But I still have a notification area icon called "Safely Remove Hardware." When I click on it a window pops up allowing me to "safely remove" the Ma*shi*ta DVD