How to show folders in Choose Folder dialog windows
Hi
Is there a way to show folders in Choose Folder - Webpage Dialog window and have the NEW folder option disabled ?
It seems that they are dependent.
Hi,
Do you have any folders in that document library? When you click choose folder, it will only show you the folders in current library.
Thanks
Pengyu Zhao
TechNet Community Support
Similar Messages
-
Applescript create choose folder dialog with checkbox
Hi,
can anybody tell me if it's possible to create an applescript choose folder dialog with a checkbox similar to the dialog window you get when you Place? I know how to choose a folder using:
tell application "Adobe InDesign CS5"
set myFolder to choose folder
end tell
and I know I can use a checkbox like this:
tell application "Adobe InDesign CS5"
set myDialog to make dialog with properties {name:"Folder to process"}
tell myDialog
tell (make dialog column)
set myRectanglesCheckbox to make checkbox control with properties {static label:"Include Sub folders", checked state:true}
end tell
end tell
set myResult to show myDialog
end tell
But is it possible to both of theses options together in one dialog window.
Any help would be greatfully appreciated.
Thanks,
NikMark said AppleScript Studio, but I suspect he means AppleScriptObjC -- Studio was deprecated in OS X 10.6. What you're after is known as a save panel with an accessory view.
Actually, as long as you don't expect the checkbox to change anything while the dialog is showing you can get what you want without too much pain using ASObjC Runner:
script openPlus
-- make a checkbox
set theCheckbox to current application's NSButton's alloc()'s initWithFrame_({{0, 8}, {200, 16}})
theCheckbox's setButtonType_(current application's NSSwitchButton)
theCheckbox's setTitle_("Include sub folders")
-- make a view and add the checkbox to it
set theView to current application's NSView's alloc()'s initWithFrame_({{0, 0}, {200, 32}})
theView's |addSubview_|(theCheckbox)
-- make an open panel
set thePanel to current application's NSOpenPanel's makeOpenAt_types_(path to home folder, {""})
thePanel's setMessage_("Folder to process")
thePanel's setCanChooseDirectories_(true)
thePanel's setCanChooseFiles_(false)
-- add the view to the panel
thePanel's setAccessoryView_(theView)
-- show and return results
tell thePanel to set theResult to showModal()
return {theResult, theCheckbox's state()}
end script
tell application id "au.com.myriad-com.ASObjC-Runner" -- ASObjC Runner.app
set {thePath, checkBoxState} to run the script {openPlus} with response
end tell
if thePath is not missing value then -- missing value means Cancel
-- do your stuff
end if
Message was edited by: Shane Stanley (added solution) -
Disable "Choose Folder" Dialog?
I'm pretty new to scripting in illustrator and am having immense difficulties trying to disable the "Choose Folder" dialog. The script cycles through saving the image, then its layers out in different formats. To set the image up properly, I have to run sections of the script through an action set. Even though I've specified a path for each "save" and "export," Illustrator will prompt the "Choose Folder" dialog each time it comes to a script. Can I specify the directory in such a way to remove user interaction (files will always export to fixed folder)?
Mark said AppleScript Studio, but I suspect he means AppleScriptObjC -- Studio was deprecated in OS X 10.6. What you're after is known as a save panel with an accessory view.
Actually, as long as you don't expect the checkbox to change anything while the dialog is showing you can get what you want without too much pain using ASObjC Runner:
script openPlus
-- make a checkbox
set theCheckbox to current application's NSButton's alloc()'s initWithFrame_({{0, 8}, {200, 16}})
theCheckbox's setButtonType_(current application's NSSwitchButton)
theCheckbox's setTitle_("Include sub folders")
-- make a view and add the checkbox to it
set theView to current application's NSView's alloc()'s initWithFrame_({{0, 0}, {200, 32}})
theView's |addSubview_|(theCheckbox)
-- make an open panel
set thePanel to current application's NSOpenPanel's makeOpenAt_types_(path to home folder, {""})
thePanel's setMessage_("Folder to process")
thePanel's setCanChooseDirectories_(true)
thePanel's setCanChooseFiles_(false)
-- add the view to the panel
thePanel's setAccessoryView_(theView)
-- show and return results
tell thePanel to set theResult to showModal()
return {theResult, theCheckbox's state()}
end script
tell application id "au.com.myriad-com.ASObjC-Runner" -- ASObjC Runner.app
set {thePath, checkBoxState} to run the script {openPlus} with response
end tell
if thePath is not missing value then -- missing value means Cancel
-- do your stuff
end if
Message was edited by: Shane Stanley (added solution) -
Kudos: Choose Folder dialog on export improved (Windows)
Simple improvement, but this bugged me majorly as I used it often -- thanks for the more advanced Choose Folder dialog in Export. I can now hit "Recent Places" and more easily navigate my file system. Cool!
Solution is, explain to them that what you can do in Access is NOT always what you can do in other products. Ask them to show you how when they visit Amazon.com, if they can click on an item and it is "magically" saved to a folder on their local workstation without an intervention..
Sorry, just sometimes we let the business users decide what is best, even though 1/2 the time it will end up biting them in the a$$..
Thank you,
Tony Miller
Webster, TX -
Applescript to open the Choose Folder dialog box and close the message after moving it
I've been trying to figure out how to get the same functionality as the Windows version of Outlook has so that the open message gets closed when it's moved to another folder.
It seems pretty simple to move a message to a pre-defined folder, but I can't find a way to open the Choose Folder dialog so I could choose the destination folder. I've looked through the dictionary, but couldn't find any direct way to activate the Choose Folder dialog. So I decided to use keystrokes for the job. Here's what I came up with:
on run {}
tell application "Microsoft Outlook"
try
set theMessage to first item of (get current messages)
set folderID to the folder of theMessage
on error errMsg number errNum
set dialogReply to display dialog "Please select one or more messages to file away before running this script." buttons {"Abort"} default button 1
return
end try
-- open the Choose Folder dialog
tell application "System Events" to keystroke "m" using {command down, shift down}
repeat
delay 2
set currentID to the folder of theMessage
if currentID is not folderID then exit repeat
end repeat
-- Close the active message
tell application "System Events" to keystroke "w" using command down
end tell
end run
This is my first attempt to do anything with AppleScript..
Now in addition to using keystrokes instead of Outlook built-in commands to open the Choose Folder dialog and to close the message, I also have another problem. Everytime I run the script from AppleScript Editor, everything runs fine, the message gets moved to the folder I choose and the message also gets closed. When I move the script to "~/Library/Application Support/Microsoft/Office/Outlook Script Menu Items" and start it from inside Outlook, Outlook gets stuck after opening the Choose Folder dialog and I have to force quit Outlook. I added some debuggin to the script and found out that the script keeps running, but I'm unable to select the folder from Outlook and cannot continue.
Anybody have an idea why this is happening?
Regard,
Kris(For the record)
Unchecking "Submit crash reports" in the Firefox [[Options window - Advanced panel]] General tab simply toggles the default of the "Tell Mozilla about this crash so they can fix it" check box in the Mozilla Crash Reporter dialog (upon crash). It does not turn off the Crash Reporter itself.
Related bug report:
* [https://bugzilla.mozilla.org/show_bug.cgi?id=577221 Bug 577221 - Firefox doesn't remember "submit crash report" check box]
The above information has been added to
http://kb.mozillazine.org/Breakpad#Can_I_disable_Crash_Reporter.3F -
How to open a browse a folder dialog box
Hi,
Please tell me,
how to open a 'browse a folder' dialog box in java SE. I dont need showopenDialog or showSaveDialog methods.
User have to be prompted to select a folder(not a file), and clicks on 'OK'. That path have to come in a text field.
In my program user has to give a folder path....bhuvanavijayam wrote:
Thank you very much..........
i got the answer............ we have to set
jfilechsr.setFileSelectionMode(1);
1 -> DIRECTORY_ONLY
No!
Never use "Magic Numbers" They may change in a future verison and your code will break. Also anyone who reads your code (that includes you, months/years from now) won't know what the code is supposed to do.
jfilechsr.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);Not DIRECTORY_ONLY
db -
How to show additional items in the same window using stacked canvas
How to show additional items in the same window using stacked canvas.
My content canvas has 14 items, and I have to include more.
I want to know how I can use a stacked canvas to show these additional items in the same window, so that I can scroll through horzontally , as if all the items are on one canvas.Well, I intially navigate into my content canvas. At this stage the stacked canvas is not visible, then how should I navigate to an item on the stacked canvas to make it visible?
-
How to get to user startup folder in windows 7
How to get to user startup folder in windows 7
Unfortunately your post is off topic here, in the TechNet Site Feedback forum, because it is not Feedback about the TechNet Website or Subscription. This is a standard response I’ve written up in advance to help many people (thousands, really.)
who post their question in this forum in error, but please don’t ignore it. The links I share below I’ve collected to help you get right where you need to go with your issue.
For technical issues with Microsoft products that you would run into as an
end user of those products, one great source of info and help is
http://answers.microsoft.com, which has sections for Windows, Hotmail, Office, IE, and other products. Office related forums are also here:
http://office.microsoft.com/en-us/support/contact-us-FX103894077.aspx
For Technical issues with Microsoft products that you might have as an
IT professional (like technical installation issues, or other IT issues), you should head to the TechNet Discussion forums at
http://social.technet.microsoft.com/forums/en-us, and search for your product name.
For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), you should head to the MSDN discussion forums at
http://social.msdn.microsoft.com/forums/en-us, and search for your product or issue.
If you’re asking a question particularly about one of the Microsoft Dynamics products, a great place to start is here:
http://community.dynamics.com/
If you really think your issue is related to the subscription or the TechNet Website, and I screwed up, I apologize! Please repost your question to the discussion forum and include much more detail about your problem, that could include screenshots
of the issue (do not include subscription information or product keys in your screenshots!), and/or links to the problem you’re seeing.
If you really had no idea where to post this question but you still posted it here, you still shouldn’t have because we have a forum just for you! It’s called the Where is the forum for…? forum and it’s here:
http://social.msdn.microsoft.com/forums/en-us/whatforum/
Moving to off topic.
Thanks, Mike
MSDN and TechNet Subscriptions Support -
How to show a confirmation when closing browser window in jdeveloper11g
Hi
I'm Using Jdev 11g
How to show a confirmation when closing browser window in jdeveloper11g
Regards
AbhilashAbhilash,
My goodness...
Didn't search the forum, eh? In fact, didn't even look at the last 5 or 6 posts - this was posted by another user within the past few hours.... Giving a message while closing a jspx page.
John -
How to show folders first in finder
How can i setup my finder to show Folders first? I want it to always show the folders first in any folder on my mac. How can i do that?
Sort by Kind.
Regards
TD -
Time machine only ever backed up the first time it runs immediately after I start up my computer after it has been shut off. All other back up attemps fail. Recently it stopped recognizing the icon for my external hard drive in the time machine dialog window where you select the hard drive to back up to, and turn on and off the time machine function. Now the external HD icon only shows up on the desk top but no longer in the dialog box. I just tried shutting the computer off and turning it on again and now the light is on, on the external hard drive but the icon does not even appear on the desk top.
The external hard drive is a 1TB Seagate. The drive still has plenty of unused capacity. I ran a diagnostic test on it. It said the disk needed repair but the repair function would not work. The message stated that it could not be unmounted and repair is not available because the disk can't be written to. The Mac OX utility said the disk can still be opened but can't be changed nor repaired. The external HD is not S.M.A.R.T. supported.
I haven't tried replacing the cable yet. Is that the next thing I should try?What Mac OSX version are your running ("iOS" as shown in your profile cannot run on a Mac computer)?
-
Show Folders before Files in FInder window?
One thing I miss from Windows Explorer is that folders precede files in the tree structure. Is there any way to customize Finder to show my structure the same way?
Powerbook G4 1Ghz Mac OS X (10.3.9)Thanks for the help...except...
I only see that option when no other Finder windows are open - when I select the View|Show Options they pertain to the Desktop only. When I select View|Show Options from an open Finder window the options are only Text Size, Show icons, and Show preview column. I'm sure I'm doing something wrong. Can you tell?
Powerbook G4 1Ghz Mac OS X (10.2.x) -
How to import folders into itunes 11 under windows 8?
I had to reinstall itunes and have lost the media data.
All music is in a new folder and I would like to import the folder with all the subfolders and music files.
But I don't find a tool in itunes 11 (under Windows 8) to import a folder.
I can only import multiple files if they are in one folder - that will take forever ...Thanks for this answer. I didn't trust my self to muck-around with the seettings, no matter how basic they sounded.
I'm doing the suggestion now. It's coverting everything for iTunes while I type this.
(I thought Apple had gotten snobby about it, phew! ) -
How I can access the user folder in Windows 7?
Hi all.
I have the following problem: I am using Windows 7 with Acrobat X and want to include a trusted function in my user folder, but when running on the console app.getPath ("user", "javascript"), I returned the following error :
GeneralError: The operation failed.
App.getPath: 1: Console undefined: Exec
2
I would appreciate any help and thank you very much in advance.
Sorry for my English is not my native language.Adobe has moved the user level Acrobat/Reader settings to the roaming profiles section.
Vista and Windows 7:Users\(username)\AppData\Roaming\Adobe\Acrobat\10.0\JavaScripts
With the update of Acrobat 10.1.1 the priviliged functions have been moved to a special folder for the application and user, User JavaScript Changes for 10.1.1 (Acrobat | Reader).
New user JS location: The user JavaScript folder is moved from
Vista and Windows 7:Users\(username)\AppData\Roaming\Adobe\Acrobat\10.0\JavaScripts to Users\(username)\AppData\Roaming\Adobe\Acrobat\Privileged\10.0\JavaScripts. For example, the new path might be C:\Users\JoeUser\AppData\Roaming\Adobe\Acrobat\Privileged\10.0\JavaScripts
XP: Documents and Settings\(username)\Application Data\Adobe\Acrobat\10.0\JavaScripts to Documents and Settings\(username)\Application Data\Adobe\Acrobat\Privileged\10.0\JavaScripts. For example, the new path might be: C:\Documents and Settings\JoeUser\Application Data\Adobe\Acrobat\Privileged\10.0\JavaScripts
For user JavaScript issues (Windows only)
Copy all user-created JavaScript files from %APPDATA%\Adobe\Acrobat\10.0\JavaScripts to %APPDATA%\Adobe\Acrobat\Privileged\10.0\JavaScripts. -
Various artists problems not showing in Itunes music folder in Windows 7
Hi
I can dispay and play Albums that are by various artists in my iTunes Albums Library. Also all songs are displayed in iTunes Songs List
and shown as Various Artists
But when I look in Libraries>Music>iTunes>iTunes Media> Music
there are no names called ' Various Artists'
Any ideas why this isYou're welcome.
Tips on fixing up your iTunes listings at Grouping tracks into albums.
tt2
Maybe you are looking for
-
Hi, I have 2 java classes A.java B.java ### A.java ### import B; public class A public static void main(String[] args) public class B public void foo() when I compile B , it works fine, but when i compile A. it gives following error '.' expected why
-
How do you fill the workspace background in elements 9?
How do you fil the workspace background in elements9?
-
My TC is working just fine as an airport, but it is not mounted on my iMac. APU does not see it. I can make it show up in my finder when I turn the airport off & on. It shows up correctly as a shared drive, but then just says "connecting..." for a lo
-
Hyperion Workspace Authentication Error
Dear All, I can able to login to hyperion planning and shared services with admin's username and password. But I'm not able to login to Workspace with that username. If i tried then I'm getting the following error. http://minus.com/mI26S0JR4 kindly g
-
HT1657 Where can I find the movie I rented?
Where can I find the movie I rented?I already rented but I cant watch it