• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: make new folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make new folder


  • Subject: Re: make new folder
  • From: Luther Fuller <email@hidden>
  • Date: Mon, 2 Jun 2008 08:18:39 -0500

Thanks for all your comments. I got the script to work late last night. I eliminated the problem by not using variables created in System Events within Finder and vv. The problem is that the folder "background" is invisible and only System Events can handle it. So ...

	tell application "System Events"
		if (exists folder "background" of container of pictFile) then
			set visible of (folder "background" of container of pictFile) to true
		end if
	end tell

	tell application "Finder"
		-- move files into or outof background folder
		-- and other stuff
	end tell

	do shell script "chflags hidden " & hiddenPath

	tell application "Finder" to open window of folderRef

Now, I still have one more odd little problem. See new thread.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • A bug (was Re: make new folder)
      • From: deivy petrescu <email@hidden>
References: 
 >make new folder (From: Luther Fuller <email@hidden>)
 >Re: make new folder (From: deivy petrescu <email@hidden>)
 >Re: make new folder (From: Luther Fuller <email@hidden>)
 >Re: make new folder (From: Michelle Steiner <email@hidden>)
 >Re: make new folder (From: Luther Fuller <email@hidden>)
 >Re: make new folder (From: KOENIG Yvan <email@hidden>)
 >Re: make new folder (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: SQLite install
  • Next by Date: background color
  • Previous by thread: Re: make new folder
  • Next by thread: A bug (was Re: make new folder)
  • Index(es):
    • Date
    • Thread