• 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: AppleScript-Users Digest, Vol 4, Issue 255
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript-Users Digest, Vol 4, Issue 255


  • Subject: Re: AppleScript-Users Digest, Vol 4, Issue 255
  • From: Matt Newell <email@hidden>
  • Date: Fri, 01 Jun 2007 08:16:51 -0400

"In regards to "showing dialog never" - I tried this already and it didn't
work. Dialog still comes up. I guess it is a compatibility issue of CS3 and CS2."

In both CS2 and CS3 InDesign has a script preference that needs to be set if you want to run full automation. I am sure Photoshop is the same. In InDesign it is called user interaction level. This is what it looks like in the AppleScript dictionary.

user interaction level (never interact/interact with all/interact with alerts) : How to interact with the user (whether to display dialogs and/or alerts)

Hope this helps.
mn


email@hidden wrote:
Send AppleScript-Users mailing list submissions to
	email@hidden

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.apple.com/mailman/listinfo/applescript-users
or, via email, send a message with subject or body 'help' to
	email@hidden

You can reach the person managing the list at
	email@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of AppleScript-Users digest..."


Today's Topics:

   1. Script to select firefox menu item on startup (Joseph Jenkins)
   2. Coercion from string to integer fails (Dan Doughtie)
   3. RE: How to automatically acknowledge a dialog (Scott Babcock)
   4. RE: auto Click Button (Scott Babcock)
   5. Monitor resolution (Oakley Masten)
   6. Re: Coercion from string to integer fails (Gary (Lists))
   7. Re: Script to select firefox menu item on startup
      (Malcolm Fitzgerald)
   8. Re: Coercion from string to integer fails (Emmanuel)
   9. Re: Script to select firefox menu item on startup (Joseph Jenkins)
  10. Re: Script to select firefox menu item on startup
      (Malcolm Fitzgerald)
  11. Re: Script to select firefox menu item on startup (Joseph Jenkins)
  12. Working with Word Document Properties (David Glass)


----------------------------------------------------------------------

Message: 1
Date: Thu, 31 May 2007 12:48:54 -0700
From: Joseph Jenkins <email@hidden>
Subject: Script to select firefox menu item on startup
To: email@hidden
Message-ID:
	<email@hidden>
Content-Type: text/plain; charset="us-ascii"

Is it possible to create a script that when the mac starts up will launch firefox and then choose a menu option within firefox? I have tried searching unsuccessfully for this and I am hoping that it can be done.

I am trying to create a standalone mac system that can be used a network monitoring display. However to get the tabs within firefox to toggle I need to have a menu option chosen. I don't know how to get that menu option selected within firefox so I am hoping to do it with Applescript.

TIA


Joseph Jenkins

Joseph Jenkins



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.apple.com/mailman/private/applescript-users/attachments/20070531/fb5f53ea/attachment.html

------------------------------

Message: 2
Date: Thu, 31 May 2007 16:52:10 -0400
From: Dan Doughtie <email@hidden>
Subject: Coercion from string to integer fails
To: Applescript Users <email@hidden>
Message-ID: <C284ADBA.3F2D7Úemail@hidden>
Content-Type: text/plain;	charset="ISO-8859-1"

I have a script that reads in a preference from a text file.

The preference is basically the number of seconds since midnight.

I read the number from the file as text which makes it string.

I try to force it to an integer so I can do some math.

No matter what I do it fails and says it canπt  make ≥49900≤  into type
integer. (49000 being the text from the file).

This set statement falls within a Tell Finder.

This is the part of the script that fails

open for access file MyPrefsFile
        set myFolderToWatch to read file MyPrefsFile before "
"
        set MyPrefsFolder to myFolderToWatch
        set myCharCount to count of MyPrefsFolder
        set MyPrefsInfo to read file MyPrefsFile from myCharCount + 2 to eof
        set myTimeToRun to MyPrefsInfo
        close access file MyPrefsFile

    set myTimeToRun to myTimeToRun as integer

All this script does is monitors a folder and if it finds something during a
time period it will use CURL to FTP a file in a monitored folder.

Anyone know of a smoking gun?

Dan
_______________________________________________
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:
    • [admin] bug in mailman
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: Monitor resolution
  • Next by Date: [admin] bug in mailman
  • Previous by thread: monitor resolution
  • Next by thread: [admin] bug in mailman
  • Index(es):
    • Date
    • Thread